Displaying 2 results from an estimated 2 matches for "drawellipse".
2007 Mar 29
0
[929] branches/wxruby2/wxwidgets_282/swig/classes: Fix virtual methods that shouldn''t be (Bug 9682); Add missing methods and
...wCheckMark(const wxRect & rect ) ;
</span><span class="cx"> void DrawCircle(wxCoord x , wxCoord y , wxCoord radius ) ;
</span><span class="cx"> void DrawCircle(const wxPoint& pt , wxCoord radius ) ;
</span><del>- virtual void DrawEllipse(wxCoord x , wxCoord y , wxCoord width , wxCoord height ) = 0;
- virtual void DrawEllipse(const wxPoint& pt , const wxSize& size ) = 0;
- virtual void DrawEllipse(const wxRect& rect ) = 0;
- virtual void DrawEllipticArc(wxCoord x , wxCoord y , wxCoord width , wxCoord hei...
2005 Dec 01
1
Can''t add text to FXCanvas
...@canvas.connect(SEL_PAINT) do |sender, sel, event|
FXDCWindow.new(@canvas, event) do |dc|
@canvas.backColor = @color4
dc.foreground = @canvas.backColor
dc.fillRectangle(event.rect.x, event.rect.y,
event.rect.w,event.rect.h)
dc.foreground = @color5
dc.drawEllipse(100,100,100,200)
#dc.setFont(@font) #this generates an error
#dc.drawText(100,100,"test") #this generates an error
end
end
end
def dumpFontDesc(lab,fd)
print "fontDesc #{lab} = #{fd.inspect}\n"
print "#{fd.face}, #{fd.size},#{fd.weight...