search for: initialcolour

Displaying 3 results from an estimated 3 matches for "initialcolour".

Did you mean: initialcolor
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 call the generated method from Ruby while specifying the nDir...
2007 Mar 27
0
[922] branches/wxruby2/wxwidgets_282: Changes, additions and deprecations 2.6 -> 2.8 Wx API
...+h3. DC#gradient_fill_linear + + *gradient_fill_concentric*(%(arg-type)Rect% rect, %(arg-type)Colour% initial_colour, + %(arg-type)Colour% dest_colour, %(arg-type)Direction% dir = @Wx::EAST@ ) + +Fill the area specified by rect with a linear gradient, starting from initialColour and eventually fading to destColour. The nDirection specifies the direction of the colour change, default is to use initialColour on the left part of the rectangle and destColour on the right one. + </ins><span class="cx"> h3. DC#logical_to_device_x </span><span class...
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...;<span class="cx"> const wxColour& GetTextForeground() const; </span><span class="cx"> void GetUserScale(double *x , double *y ) ; </span><span class="cx"> void GradientFillConcentric(const wxRect& rect, const wxColour& initialColour, const wxColour& destColour); </span><span class="lines">@@ -91,20 +93,18 @@ </span><span class="cx"> void ResetBoundingBox() ; </span><span class="cx"> void SetAxisOrientation(bool xLeftRight , bool yBottomUp ) ; </span...