Mesh Control Points

[email protected]
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
Hi Cairo Folks,

I put together a little program that can dynamically draw a "tiled" mesh. It is working but I am having trouble understanding how P0, P1, P2, and P3 change the drawing. Looking at the documentation for cairo_pattern_create_mesh() it shows these control points inside the mesh. Where should all four control points be so the mesh would be the same as if it had no P control points? Are there some intitial default positions that I can use for the P control points? Thank you for any help.

Eric

https://github.com/cecashon/OrderedSetVelociRaptor/blob/master/Misc/cairo_drawings/draw_mesh1.c

-- 
cairo mailing list
[email protected]
https://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.