Displaying 1 result from an estimated 1 matches for "third_x".
Did you mean:
third_y
2008 Jan 12
1
GraphicsContext demo
...demo.
GraphicsContext#draw_lines(size_t n, Point2Double points, Integer fillStyle)
Need another typemap wrapper for Point2Double. And I''m thinking that it
should be an 2d array of sorts. Points represented by [x,y], and array of
them, EG:
[
[first_x,first_y],
[second_x,second_y],
[third_x,third_y],
....etc.....
....etc.....
]
And proabbly a more ruby-ish way to do it, is to drop size_t, and just fill
that info out from the length of the array. Ultimately creating
GraphicsContext#draw_lines(Array points, Integer fillStyle). Just a
suggestion.
So far, that''s all that...