Page 1 of 1

transpose the origin

Posted: Fri Dec 01, 2006 10:34 pm
by SidewinderX
When you use the imagepolygon funnction the origin of the points (0,0) is in the upper left corner which is conventional, is it possable to make the origin the center of the image something say (200,200) of a 400x400 image? Similar to the g.translate() method in java?

Posted: Sat Dec 02, 2006 12:58 am
by feyd
Transform each of the coordinates accordingly and it will be.