House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  ColdFusion Talk (CF-Talk)

CFimage to draw a triangle

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
<cfscript>
andy matthews
12/25/11 12:59 P
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Terry Troxel
12/25/2011 10:34 AM

Could someone show me the proper way to draw a filled triangle using CFimage? Terry

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
andy matthews
12/25/2011 12:59 PM

<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" /> Could someone show me the proper way to draw a filled triangle using CFimage? Terry


<< Previous Thread Today's Threads Next Thread >>

Search cf-talk

June 20, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference