Optimizing rendering

Bug #219870 reported by Stephane
2
Affects Status Importance Assigned to Milestone
Inkscape
New
Undecided
Unassigned

Bug Description

The problem is the ellipses in the background are each drawn in the PDF
with an soft mask due to the fill/stroke opacity set to less than 100%.
This means each individual ellipse is drawn to an image buffer the size
of the page, the mask function is drawn to another image buffer the size
of the page. The ellipse image is then composited with the mask image
back on to the page. With all the ellipses on the page this is not going
to be fast.

The workaround is to set the master opacity to 100% and instead use the
alpha in the stroke paint to control the transparency.

This is something that should be optimized in Inkscape. Currently
Inkscape calls cairo_paint_with_alpha() when the opacity is less then
100%. This is required to handle the general case of drawing a combined
fill and stroke to prevent a translucent stroke compositing with the
fill. Calling cairo_paint_with_alpha() results in a soft mask being used
in the PDF file. If only a fill or stroke is drawn, Inkscape should
instead adjust the alpha value of the fill or stroke and avoid calling
cairo_paint_with_alpha().

Revision history for this message
Stephane (mittiprovence) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.