floating point in a DC
Robin Dunn
robin at alldunn.com
Mon Apr 14 08:32:29 PDT 2008
Declan McMullen wrote:
> Unfortunately it doesnt have all the methods im using.
It's not intended to be API compatible with wxDC, not even very similar.
It's using a new path-based API instead. If you make effective use of
the paths then you can gain some benefits.
> DrawPolygon and
Try DrawLines or StrokeLines.
> DrawCircle
Create a wxGraphicsPath, add a circle to it and then draw or stroke the
path, or use the GC's DrawElipse method with equal width and height.
> and DrawLine
> are missing from the graphics context.
There is StrokeLine, or you can use a path if you have multiple lines to
draw.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wx-users
mailing list