can anybody help me with this function from g2 library?
further information at this link:
http://www.ib.cnea.gov.ar/~oop/g2/group__graphic.html#gdafb426bd26b996c0ef4bb6cb74e3 b7f
i want to use is but i don't know if i'm doing it right...
i've declared...
float * vector = (float*) calloc(1000, sizeof(float));
how can i input values in this vector soo that i can use them inside g2_poly_line?
now i've something like this...
and i call g2_poly_line like this:Code:while(blablabla){ vector[i] = x; i++; vector[i] = y; i++; }
g2_poly_line(id_imag, i, vector);
is it right or not?
TY
regards