diff options
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/headless/svpgdi.cxx | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/vcl/headless/svpgdi.cxx b/vcl/headless/svpgdi.cxx index 1c36f351b538..6f70ec6edaa0 100644 --- a/vcl/headless/svpgdi.cxx +++ b/vcl/headless/svpgdi.cxx @@ -1347,21 +1347,9 @@ bool SvpSalGraphics::drawPolyLine( } // extract extents - if(nullptr != pExtents) - { - // This uses cairo_stroke_extents and combines with cairo_clip_extents, so - // referring to Cairo-documentation: - // "Computes a bounding box in user coordinates covering the area that would - // be affected, (the "inked" area), by a cairo_stroke() operation given the - // current path and stroke parameters." - // It *should* use the current set cairo_matrix_t. + if (pExtents) *pExtents = getClippedStrokeDamage(cr); - // If not - the following code needs to be used to correct that: - // if(!pExtents->isEmpty() && !bObjectToDeviceIsIdentity) - // pExtents->transform(rObjectToDevice); - } - // draw and consume cairo_stroke(cr); |