You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In vector output it is possible to flag artists to be rasterized. In
many cases with multiple rasterized objects there can be significant
file size savings by combining the rendered bitmaps into a single
bitmap.
This is achieved by moving the depth tracking logic from
start_rasterizing() and stop_rasterizing() functions into the
allow_rasterization() wrapper. This allows delaying the call to
stop_rasterizing() until we are about to draw an non rasterized artist.
The outer draw method, i.e. in Figure must be wraped with
_finalize_rasterization() to ensure the that rasterization is completed.
Figure.suppressComposite can be used to prevent merging.
This fixes#17149
0 commit comments