--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
Note that combining paths with SkPath::addPath() into one path won't always draw the same.- if the paint has any transparency (e.g., a transfer mode, or antialiasing) drawing the paths all at once won't generate the same result.- if the paths have multiple contours, combining them to respect winding is non-trivial- if the paths have different fill types, again combining them is not necessarily straightforward.The latter two conditions can be worked around by using SkOpBuilder if the paths are drawn with paint fill style.
On Mon, Nov 27, 2017 at 8:23 AM, Shawn Riordan <craste...@gmail.com> wrote:
You could combine all the paths into one mega-path.
On Monday, November 27, 2017 at 1:59:14 AM UTC-7, jingc...@gmail.com wrote:I want to draw many paths with same paint. when drawing each path i use "canvas.drawPath(path, paint) " . Does the skia have the function i use to draw many paths with same paint one time rather than mang times.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To post to this group, send email to skia-d...@googlegroups.com.
Visit this group at https://groups.google.com/group/skia-discuss.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "skia-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to skia-discuss+unsubscribe@googlegroups.com.