PyGeo: a dynamic geometry toolkit

drawTriangle

drawing back-end for objects derived from the _Triangle class

Methods defined in drawTriangle

f _redraw(self) ...

send current position of the points defining the triangle to render object, and render in accordance with style sttribute

f draw(self) ...

the triangle object is represented either by a single 'face' - i.e. cvisual triangle mesh - or as 3 lines

f povout(self, buf) ...

export the scene's triangles to PovRay SDL

See the source for more information.