noreply at rubyforge.org
2008-Feb-27 11:10 UTC
[wxruby-development] [ wxruby-Bugs-18420 ] DC#draw_poly_polygon arguments not mapped correctly
Bugs item #18420, was opened at 2008-02-27 11:10 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=18420&group_id=35 Category: None Group: None Status: Open Resolution: None Priority: 3 Submitted By: Alex Fenton (brokentoy) Assigned to: Nobody (None) Summary: DC#draw_poly_polygon arguments not mapped correctly Initial Comment: This DC method''s arguments aren''t mapped correctly in ruby, giving the error: in `draw_poly_polygon'': in method ''DrawPolyPolygon'', argument 3 of type ''int []'' (TypeError) The right method signature would probably be: ( [ [ Polygon1 ], [ Polygon2 ], [ Polygon3 ] ], offset_x, offset_y, rule ) i.e first argument is an array of arrays of points ---------------------------------------------------------------------- You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=218&aid=18420&group_id=35