PyGeo: a dynamic geometry toolkit

drawLine

drawing back-end for objects derived from the _Line class

Methods defined in drawLine

f _redraw(self) ...

send current position of defining points in scene to render object, and render line or line segment, in accordance with attribute setting

f get_extension(self, point) ...

extend the drawing of the line to the given point if it is exterior to the segment connecting the line's point attributes

f setlabel(self) ...

set position of line's lab, if any

f reset_trace(self) ...

Re-intialize list of traced lines to None

f do_trace(self) ...

f draw(self) ...

for consistency in iterating Element's rendering objects, all elements rendering information is in a list called self.rend. In the case of Lines, it is a single element list containing a cvisual curve object

f povout(self, buf) ...

export the scene's lines to PovRay SDL

See the source for more information.