To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=82145
                 Issue #|82145
                 Summary|OutputDevice::ImplDrawPolyPolygon is wrong implemented
               Component|Drawing
                 Version|680m225
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|printing
             Assigned to|thb
             Reported by|aw





------- Additional comments from [EMAIL PROTECTED] Mon Oct  1 14:25:27 +0000 
2007 -------
AW->THB: When prinitig a gradient from VCL PrimitiveRenderer (in AW033),
OutputDevice::DrawGradient is used with a polygon. That polygon is a curve e.g.
when an ellipse is used. After MetaFile recording, printing goes it's way using
the following stack:

>       vcl680mi.dll!OutputDevice::ImplDrawPolyPolygon(const PolyPolygon &
rPolyPoly={...}, const PolyPolygon * pClipPolyPoly=0x00eff670)  Line 139        
C++
        vcl680mi.dll!OutputDevice::ImplDrawComplexGradient(const Rectangle &
rRect={...}, const Gradient & rGradient={...}, unsigned char bMtf=0, const
PolyPolygon * pClipPolyPoly=0x00eff670)  Line 656       C++
        vcl680mi.dll!OutputDevice::DrawGradient(const PolyPolygon & 
rPolyPoly={...},
const Gradient & rGradient={...})  Line 980     C++
        vcl680mi.dll!Printer::DrawGradientEx(OutputDevice * pOut=0x09c4b028, 
const
PolyPolygon & rPolyPoly={...}, const Gradient & rGradient={...})  Line 1337     
C++
        vcl680mi.dll!ImplQPrinter::ImplPrintMtf(GDIMetaFile & rPrtMtf={...}, 
long
nMaxBmpDPIX=600, long nMaxBmpDPIY=600)  Line 151        C++

Problem is that in OutputDevice::ImplDrawPolyPolygon the given polygon contains
a curve definition, not only a polygon with straight edges. This is not handled
there (but needs to be). This will also make problems in other circumstances
eventually, but needs to be fixed for primitives (aw033).
I will subdivide the polygon by hand in VCLMetaFilePrimitiveRenderer for now and
mark the spot with this bug's ID. Tell me when this fix is available in the
master, so i can remove it again.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to