<cfscript>
t = ImageNew('', 300,300,'argb');
ImageSetAntialiasing(t);
ImageSetDrawingColor(t,'000000');
ImageDrawLines(t,[0,300,0],[0,150,300],'yes','yes');
ImageWrite(t,'/Users/andy/Sites/triangle.png');
</cfscript>
<img src="/triangle.png" />
-----Original Message-----
From: Terry Troxel [mailto:[email protected]]
Sent: Sunday, December 25, 2011 9:34 AM
To: cf-talk
Subject: CFimage to draw a triangle
Could someone show me the proper way to draw a filled triangle using
CFimage?
Terry
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive:
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:349241
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm