nevermind.. I just noticed that's wrong too :D
On Tue, Oct 15, 2013 at 2:42 PM, Shawn Ferris <[email protected]>wrote: > On Tue, Oct 15, 2013 at 12:48 PM, Donn Ingle <[email protected]> wrote: > >> > array.. A quick glance at the cairo vapi, and I think you really want >> this?: >> > Cairo.PathData[] data = path.data; >> >> I feel disturbed by that ;) Not sure why. >> >> The code I'm trying to Vala-ize is here: >> http://cairographics.org/manual/cairo-Paths.html#cairo-path-data-t >> >> > Ahh.. this makes a bit more sense.. I still don't know if this is the > correct way, but... > > Cairo.PathData[] data; > > for (int i = 0; i < this.path.num_data; i += > this.path.data[i].header.length) { > > var data = &this.path.data[i]; > > Shawn > _______________________________________________ vala-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/vala-list
