Re: [Vala] Assist with compile issue re Cairo.PathData
- From: Shawn Ferris <shawn ferris gmail com>
- To: Donn Ingle <donn ingle gmail com>
- Cc: ML - Vala <vala-list gnome org>
- Subject: Re: [Vala] Assist with compile issue re Cairo.PathData
- Date: Tue, 15 Oct 2013 14:42:11 -0600
On Tue, Oct 15, 2013 at 12:48 PM, Donn Ingle <donn ingle gmail com> 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]