The way I understand the documentation at
http://www.cairographics.org/manual/cairo-Paths.html
is that a Path can either be constructed through a cairo
context, i.e., using
new_path
move_to
line_to
arc_to
etc
and such a path can be read using either
copy_path
On 26/06/2014 03:24, Nor Jaidi Tuah wrote:
According to http://www.cairographics.org/manual/cairo-Paths.html,
The path may be either the return value from one of cairo_copy_path()
or cairo_copy_path_flat() or it may be constructed manually.
But, trying to construct a path manually,
According to http://www.cairographics.org/manual/cairo-Paths.html,
The path may be either the return value from one of cairo_copy_path()
or cairo_copy_path_flat() or it may be constructed manually.
But, trying to construct a path manually, i.e.,
var path = new Cairo.Path ();
gives a
Not a bug, Path is a compact class and haven't constructor.
So when you'll have a Context, do this :
Cairo.Context cr;
..
Cairo.Path path = cr.copy_path();
regards ;)
2014-06-26 3:24 GMT+02:00 Nor Jaidi Tuah norjaidi.t...@ubd.edu.bn:
According to