incubator-ooo-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 118898] OOO Draw adds 1 pixel in width and height when you copy something into buffer from it
Date Fri, 24 Feb 2012 16:14:46 GMT

--- Comment #11 from Armin Le Grand <> 2012-02-24 16:14:46 UTC
ALG: Adapted ImpGraphic::ImplGetBitmap to correctly convert metafiles to
bitmapEx, dynamically expanding needed bitmap size right and bottom dependent
of having a hairline there. To check this, I adapted GDIMetaFile::GetBoundRect
to be able to deliver the HairlineBoudRect inn parallell to the regular
geometry one. This solves the task fo rthe moment with minimal invasive changes
and based on the old techniques.
Also adapted the graphic generators in SdrExchangeView (GetMarkedObjMetaFile,
GetMarkedObjBitmapEx, removed inine versions) to work with BitmapEx. This
allows gererating better quality results when converting to Bitmap, e.g. an
ellipse will no longer have a withe background after conversion, but is
Committed in r1293316.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

View raw message