Kaydet (Commit) 6afbe153 authored tarafından Caolán McNamara's avatar Caolán McNamara

remove comment in light of fix for tdf#120797

Change-Id: I3093f764a26abdbdb651596352ba74b7fa1c3306
Reviewed-on: https://gerrit.libreoffice.org/71399
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 92075168
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment