Status/Resolution/Reason: Closed/Fixed/
Reporter/Name(from Bugbase): Raymond Camden / Raymond Camden (Raymond Camden)
Created: 09/10/2012
Components: Documentation, General
Versions: 10.0
Failure Type:
Found In Build/Fixed In Build: Final /
Priority/Frequency: Major / Some users will encounter
Locale/System: English / Mac 10.7 64-bit
Vote Count: 0
According to the docs, if you do not specify an X,Y value to base your image rotation on, it will default to 2/2. But when I leave the value off, I see completely different images.
<cfset textImage=ImageNew("",200,200,"rgb","white")>
<cfset ImageSetDrawingColor(textImage,"black")>
<cfset attr=StructNew()>
<cfset attr.size=30>
<cfset attr.style="bold">
<cfset attr.font="ArialMT">
<cfset ImageSetAntialiasing(textImage, "on")>
<cfset ImageDrawText(textImage,"Paris",50,75,attr)>
<cfset ImageRotate(textImage,30,2,2)>
<cfimage action="writeToBrowser" source="#textImage#">
<cfset textImage=ImageNew("",200,200,"rgb","white")>
<cfset ImageSetDrawingColor(textImage,"black")>
<cfset attr=StructNew()>
<cfset attr.size=30>
<cfset attr.style="bold">
<cfset attr.font="ArialMT">
<cfset ImageSetAntialiasing(textImage, "on")>
<cfset ImageDrawText(textImage,"Paris",50,75,attr)>
<cfset ImageRotate(textImage,30)>
<cfimage action="writeToBrowser" source="#textImage#">
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3328445
External Customer Info:
External Company:
External Customer Name: cfjedimaster
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: