Regina Henschel schrieb:
Hi Papamatti,
you mean https://bugs.freedesktop.org/show_bug.cgi?id=37559 ?
Papamatti schrieb:
Hello list,
I investigate the problem of two pixels (top left and bottom right)
around predefined shapes (circle, smiley, ellipse...)
Do you want to fix it?
I think, the code that adds these points is
if( !bLineGeometryNeededOnly )
1906 {
1907 // hack aNewB2DPolyPolygon to fill logic rect - this is
1908 // needed to produce gradient fills that look like mso
1909 aNewB2DPolygon.clear();
1910 aNewB2DPolygon.append(basegfx::B2DPoint(0,0));
1911 aNewB2DPolygon.setClosed(true);
1912 aNewB2DPolyPolygon.append(aNewB2DPolygon);
1913
1914 aNewB2DPolygon.clear();
1915
aNewB2DPolygon.append(basegfx::B2DPoint(aLogicRect.GetWidth(),
1916
aLogicRect.GetHeight()));
1917 aNewB2DPolygon.setClosed(true);
1918 aNewB2DPolyPolygon.append(aNewB2DPolygon);
1919 }
in core/svx/source/customshapes/EnhancedCustomShape2d.cxx
I have currently now build to verify my assumption.
Kind regards
Regina
Context
Privacy Policy |
Impressum (Legal Info) |
Copyright information: Unless otherwise specified, all text and images
on this website are licensed under the
Creative Commons Attribution-Share Alike 3.0 License.
This does not include the source code of LibreOffice, which is
licensed under the Mozilla Public License (
MPLv2).
"LibreOffice" and "The Document Foundation" are
registered trademarks of their corresponding registered owners or are
in actual use as trademarks in one or more countries. Their respective
logos and icons are also subject to international copyright laws. Use
thereof is explained in our
trademark policy.