[TriZPUG] PIL draw.ellipse bounding box problem solved

Joseph Mack NA3T jmack at wm7d.net
Sat Apr 25 02:20:16 CEST 2009


the draw.ellipse function has the syntax

#(x0,y0) and (x1,y1) are corners of bbox
ellipse_bbox=(x0,y0,x1,y1)

draw.ellipse(ellipse_bbox,fill=color)

I've just spent the last hour or so trying to get this to 
output a circle. My values of the bbox happened to be 
top-left and bottom_right. You get no output. The bbox 
corners have to be lower left and top right.

Joe
-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!


More information about the TriZPUG mailing list