Re: [Vala] cairo binding bug?



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, i.e.,

  var path = new Cairo.Path ();

gives a compiler error:

  error: `Cairo.Path' does not have a default constructor

Am I doing this the wrong way, or is this a binding bug?
See http://valadoc.org/#!api=cairo/Cairo.Context.new_path


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]