On Tue, Jan 19, 2010 at 12:04:14PM +0000, Ash wrote:
> Continuing to study VG, I tried drawing something but failed. For example, to
> draw a point:
> 
> VG* VG1;
> VG1 = VG_New(0);
> 
> VG_Vector vect1;
> vect1.x=0;
> vect1.y=0;
> VG_Point* VP1 = VG_PointNew(VG1,vect1);
> 
> results in program termination.
> What should be specified as parent in VG_PointNew?

The parent argument should be VG1->root.

_______________________________________________
Agar mailing list
[email protected]
http://libagar.org/lists.html

Reply via email to