Displaying 2 results from an estimated 2 matches for "gradientfilllinear".
2008 Mar 04
1
enum arguments not recognized
Ok, I''ve found a minor problem that I was able to fix, but I''m not
sure if this is the right way to handle it, being new to swig and all.
Basically, in wxDC.h, there''s a function declaration:
void GradientFillLinear(const wxRect& rect, const wxColour&
initialColour, const wxColour& destColour, wxDirection nDirection =
wxEAST);
The problem is that since swig does not see the definition of the enum
wxDirection (defined in RubyConstants.i), it treats it as an unknown
class. Attempting to cal...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...ot;> * "DC#get_text_foreground":#DC_gettextforeground
</span><span class="cx"> * "DC#get_user_scale":#DC_getuserscale
</span><ins>+* "DC#gradient_fill_concentric":#DC_gradientfillconcentric
+* "DC#gradient_fill_linear":#DC_gradientfilllinear
</ins><span class="cx"> * "DC#logical_to_device_x":#DC_logicaltodevicex
</span><span class="cx"> * "DC#logical_to_device_xrel":#DC_logicaltodevicexrel
</span><span class="cx"> * "DC#logical_to_device_y":...