Phoenix Logo

phoenix_title wx.lib.ogl.drawn.OpPolyDraw

Draw polygon, polyline, spline.


class_hierarchy Class Hierarchy

Inheritance diagram for class OpPolyDraw:

super_classes Known Superclasses

wx.lib.ogl.drawn.DrawOp


method_summary Methods Summary

__init__  
Do  
GetPerimeterPoint  
OnDrawOutline  
Rotate  
Scale  
Translate  

api Class API



class OpPolyDraw(DrawOp)

Draw polygon, polyline, spline.


Methods



__init__(self, theOp, thePoints)


Do(self, dc, xoffset, yoffset)


GetPerimeterPoint(self, x1, y1, x2, y2, xOffset, yOffset, attachmentMode)


OnDrawOutline(self, dc, x, y, w, h, oldW, oldH)


Rotate(self, x, y, theta, sinTheta, cosTheta)


Scale(self, scaleX, scaleY)


Translate(self, x, y)