Groups
Groups
Sign in
Groups
Groups
skia-discuss
Conversations
About
Send feedback
Help
How to draw a polygon with the Skia
933 views
Skip to first unread message
Israel Hu
unread,
Sep 25, 2009, 9:22:09 AM
9/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-discuss
As I know,the SkCanvas class have methods to draw polylines, draw
rectangle, draw arc and oval,
but how to draw a polygon using the Skia?
Thanks.
Mike Reed
unread,
Sep 25, 2009, 9:32:54 AM
9/25/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to skia-d...@googlegroups.com
drawPath()
SkPath is the general purpose geometry class. Create a path and then
add your contours to it. Then call drawPath(path, paint);
Reply all
Reply to author
Forward
0 new messages