[Vm-dev] [commit][3133] CogVM source as per VMMaker.oscog-eem.934
commits at squeakvm.org
commits at squeakvm.org
Fri Nov 14 21:00:39 UTC 2014
Revision: 3133
Author: eliot
Date: 2014-11-14 13:00:25 -0800 (Fri, 14 Nov 2014)
Log Message:
-----------
CogVM source as per VMMaker.oscog-eem.934
Simulator/Slang:
Refactor to allow 32-bit and 64-bit Spur to coexist
in the simulator, thereby allowing a 64-bit bootstrap.
Replace direct use of BytesPerWord, ShiftForWord, BytesPerOop and BaseHeaderSize
with sends of wordSize, shiftForWord, bytesPerOop & baseHeaderSize respectively.
Make sure these are still output as the manifest constants in the generated C.
Eliminate use of bytesPerSlot in favour of bytesPerOop. The use of sends is
similar to those in trunk VMMaker, but I don't have time to merge. Sorry :-(.
Work-around use of sends for bytesPerOop in e.g. generateToByDo:on:indent: and
users of isConstantNode:valueInto:.
Do a better job at inlining via inlineCodeOrNilForStatement:in:. Comment in
isNode:substitutableFor:inMethod:in: explains.
Eliminate generic VM_LABEL support, labelling only the bytecodes in interpret.
Eliminate use of LargeContextSize in the stack and cog VMs. Alas haven't yet
eliminated the frame offset constants such as FoxCallerSavedIP et al. We only
need one of the two word sizes of interpreter to be executable in the bootstrap.
And remember to generate the GdbARMPlugin
Modified Paths:
--------------
branches/Cog/nscogsrc/plugins/B2DPlugin/B2DPlugin.c
branches/Cog/nscogsrc/vm/cogit.c
branches/Cog/nscogsrc/vm/cogit.h
branches/Cog/nscogsrc/vm/cointerp.c
branches/Cog/nscogsrc/vm/cointerp.h
branches/Cog/nscogsrc/vm/gcc3x-cointerp.c
branches/Cog/nscogsrc/vm/interp.h
branches/Cog/nsspursrc/vm/cogit.c
branches/Cog/nsspursrc/vm/cogit.h
branches/Cog/nsspursrc/vm/cogmethod.h
branches/Cog/nsspursrc/vm/cointerp.c
branches/Cog/nsspursrc/vm/cointerp.h
branches/Cog/nsspursrc/vm/gcc3x-cointerp.c
branches/Cog/nsspursrc/vm/interp.h
branches/Cog/nsspurstacksrc/vm/gcc3x-interp.c
branches/Cog/nsspurstacksrc/vm/interp.c
branches/Cog/nsspurstacksrc/vm/interp.h
branches/Cog/scripts/revertUnchangedPlugins
branches/Cog/scripts/svnci
branches/Cog/sistasrc/vm/cogit.c
branches/Cog/sistasrc/vm/cogit.h
branches/Cog/sistasrc/vm/cointerp.c
branches/Cog/sistasrc/vm/cointerp.h
branches/Cog/sistasrc/vm/gcc3x-cointerp.c
branches/Cog/sistasrc/vm/interp.h
branches/Cog/spursistasrc/vm/cogit.c
branches/Cog/spursistasrc/vm/cogit.h
branches/Cog/spursistasrc/vm/cogmethod.h
branches/Cog/spursistasrc/vm/cointerp.c
branches/Cog/spursistasrc/vm/cointerp.h
branches/Cog/spursistasrc/vm/gcc3x-cointerp.c
branches/Cog/spursistasrc/vm/interp.h
branches/Cog/spursrc/vm/cogit.c
branches/Cog/spursrc/vm/cogit.h
branches/Cog/spursrc/vm/cogmethod.h
branches/Cog/spursrc/vm/cointerp.c
branches/Cog/spursrc/vm/cointerp.h
branches/Cog/spursrc/vm/gcc3x-cointerp.c
branches/Cog/spursrc/vm/interp.h
branches/Cog/spurstacksrc/vm/gcc3x-interp.c
branches/Cog/spurstacksrc/vm/interp.c
branches/Cog/spurstacksrc/vm/interp.h
branches/Cog/src/plugins/B2DPlugin/B2DPlugin.c
branches/Cog/src/plugins/GdbARMPlugin/GdbARMPlugin.c
branches/Cog/src/plugins/ScratchPlugin/ScratchPlugin.c
branches/Cog/src/vm/cogit.c
branches/Cog/src/vm/cogit.h
branches/Cog/src/vm/cointerp.c
branches/Cog/src/vm/cointerp.h
branches/Cog/src/vm/cointerpmt.c
branches/Cog/src/vm/cointerpmt.h
branches/Cog/src/vm/gcc3x-cointerp.c
branches/Cog/src/vm/gcc3x-cointerpmt.c
branches/Cog/src/vm/interp.h
branches/Cog/stacksrc/vm/gcc3x-interp.c
branches/Cog/stacksrc/vm/interp.c
branches/Cog/stacksrc/vm/interp.h
Property Changed:
----------------
branches/Cog/platforms/Cross/vm/sqSCCSVersion.h
Modified: branches/Cog/nscogsrc/plugins/B2DPlugin/B2DPlugin.c
===================================================================
--- branches/Cog/nscogsrc/plugins/B2DPlugin/B2DPlugin.c 2014-11-14 03:43:01 UTC (rev 3132)
+++ branches/Cog/nscogsrc/plugins/B2DPlugin/B2DPlugin.c 2014-11-14 21:00:25 UTC (rev 3133)
@@ -1,9 +1,9 @@
/* Automatically generated by
- VMPluginCodeGenerator VMMaker.oscog-eem.804 uuid: 8f232d31-fa50-4134-8556-da8fc12ab32d
+ VMPluginCodeGenerator VMMaker.oscog-eem.933 uuid: 5a37067c-b76b-4ada-9399-1de11632acd8
from
- BalloonEnginePlugin VMMaker.oscog-eem.804 uuid: 8f232d31-fa50-4134-8556-da8fc12ab32d
+ BalloonEnginePlugin VMMaker.oscog-eem.933 uuid: 5a37067c-b76b-4ada-9399-1de11632acd8
*/
-static char __buildInfo[] = "BalloonEnginePlugin VMMaker.oscog-eem.804 uuid: 8f232d31-fa50-4134-8556-da8fc12ab32d " __DATE__ ;
+static char __buildInfo[] = "BalloonEnginePlugin VMMaker.oscog-eem.933 uuid: 5a37067c-b76b-4ada-9399-1de11632acd8 " __DATE__ ;
@@ -839,9 +839,9 @@
static void * loadBBFn;
static const char *moduleName =
#ifdef SQUEAK_BUILTIN_PLUGIN
- "B2DPlugin VMMaker.oscog-eem.804 (i)"
+ "B2DPlugin VMMaker.oscog-eem.933 (i)"
#else
- "B2DPlugin VMMaker.oscog-eem.804 (e)"
+ "B2DPlugin VMMaker.oscog-eem.933 (e)"
#endif
;
static int* objBuffer;
@@ -5764,12 +5764,20 @@
sqInt x2;
sqInt x3;
sqInt x4;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
sqInt y;
sqInt y0;
sqInt y1;
sqInt y2;
sqInt y3;
sqInt y4;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
loadPointfrom(point1Get(), fetchPointerofObject(0, points));
if (failed()) {
@@ -5799,10 +5807,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -5824,10 +5834,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x2 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y2 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x2 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y2 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x2;
(((int *) point1))[1] = y2;
}
@@ -5849,10 +5861,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x3;
(((int *) point2))[1] = y3;
}
@@ -5874,10 +5888,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x4 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y4 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x4 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y4 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x4;
(((int *) point3))[1] = y4;
}
@@ -5919,6 +5935,10 @@
sqInt x3;
sqInt x4;
sqInt x5;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
sqInt y;
sqInt y0;
sqInt y1;
@@ -5926,6 +5946,10 @@
sqInt y3;
sqInt y4;
sqInt y5;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
for (i = 0; i < nSegments; i += 1) {
pointOop = fetchPointerofObject(i * 3, points);
@@ -5948,10 +5972,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -5973,10 +5999,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x3;
(((int *) point1))[1] = y3;
}
@@ -5998,10 +6026,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x4 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y4 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x4 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y4 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x4;
(((int *) point2))[1] = y4;
}
@@ -6023,10 +6053,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x5 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y5 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x5 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y5 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x5;
(((int *) point3))[1] = y5;
}
@@ -6327,6 +6359,14 @@
sqInt x7;
sqInt x8;
sqInt x9;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
+ double xValue4;
+ double xValue5;
+ double xValue6;
+ double xValue7;
sqInt y;
short y0;
short y1;
@@ -6338,6 +6378,14 @@
sqInt y7;
sqInt y8;
sqInt y9;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
+ double yValue4;
+ double yValue5;
+ double yValue6;
+ double yValue7;
/* Check if have anything to do at all */
@@ -6402,10 +6450,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -6427,10 +6477,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x3;
(((int *) point1))[1] = y3;
}
@@ -6452,10 +6504,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x4 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y4 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x4 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y4 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x4;
(((int *) point2))[1] = y4;
}
@@ -6477,10 +6531,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x5 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y5 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x5 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y5 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x5;
(((int *) point3))[1] = y5;
}
@@ -6511,10 +6567,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue4 = ((double) ((((int *) point4))[0]) );
+ yValue4 = ((double) ((((int *) point4))[1]) );
/* begin edgeTransform */
transform4 = ((float *) (workBuffer + GWEdgeTransform));
- x6 = ((sqInt)(((((transform4[0]) * (((double) ((((int *) point4))[0]) ))) + ((transform4[1]) * (((double) ((((int *) point4))[1]) )))) + (transform4[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y6 = ((sqInt)(((((transform4[3]) * (((double) ((((int *) point4))[0]) ))) + ((transform4[4]) * (((double) ((((int *) point4))[1]) )))) + (transform4[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x6 = ((sqInt)(((((transform4[0]) * xValue4) + ((transform4[1]) * yValue4)) + (transform4[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y6 = ((sqInt)(((((transform4[3]) * xValue4) + ((transform4[4]) * yValue4)) + (transform4[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point4))[0] = x6;
(((int *) point4))[1] = y6;
}
@@ -6536,10 +6594,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue5 = ((double) ((((int *) point5))[0]) );
+ yValue5 = ((double) ((((int *) point5))[1]) );
/* begin edgeTransform */
transform5 = ((float *) (workBuffer + GWEdgeTransform));
- x7 = ((sqInt)(((((transform5[0]) * (((double) ((((int *) point5))[0]) ))) + ((transform5[1]) * (((double) ((((int *) point5))[1]) )))) + (transform5[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y7 = ((sqInt)(((((transform5[3]) * (((double) ((((int *) point5))[0]) ))) + ((transform5[4]) * (((double) ((((int *) point5))[1]) )))) + (transform5[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x7 = ((sqInt)(((((transform5[0]) * xValue5) + ((transform5[1]) * yValue5)) + (transform5[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y7 = ((sqInt)(((((transform5[3]) * xValue5) + ((transform5[4]) * yValue5)) + (transform5[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point5))[0] = x7;
(((int *) point5))[1] = y7;
}
@@ -6561,10 +6621,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue6 = ((double) ((((int *) point6))[0]) );
+ yValue6 = ((double) ((((int *) point6))[1]) );
/* begin edgeTransform */
transform6 = ((float *) (workBuffer + GWEdgeTransform));
- x8 = ((sqInt)(((((transform6[0]) * (((double) ((((int *) point6))[0]) ))) + ((transform6[1]) * (((double) ((((int *) point6))[1]) )))) + (transform6[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y8 = ((sqInt)(((((transform6[3]) * (((double) ((((int *) point6))[0]) ))) + ((transform6[4]) * (((double) ((((int *) point6))[1]) )))) + (transform6[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x8 = ((sqInt)(((((transform6[0]) * xValue6) + ((transform6[1]) * yValue6)) + (transform6[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y8 = ((sqInt)(((((transform6[3]) * xValue6) + ((transform6[4]) * yValue6)) + (transform6[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point6))[0] = x8;
(((int *) point6))[1] = y8;
}
@@ -6586,10 +6648,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue7 = ((double) ((((int *) point7))[0]) );
+ yValue7 = ((double) ((((int *) point7))[1]) );
/* begin edgeTransform */
transform7 = ((float *) (workBuffer + GWEdgeTransform));
- x9 = ((sqInt)(((((transform7[0]) * (((double) ((((int *) point7))[0]) ))) + ((transform7[1]) * (((double) ((((int *) point7))[1]) )))) + (transform7[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y9 = ((sqInt)(((((transform7[3]) * (((double) ((((int *) point7))[0]) ))) + ((transform7[4]) * (((double) ((((int *) point7))[1]) )))) + (transform7[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x9 = ((sqInt)(((((transform7[0]) * xValue7) + ((transform7[1]) * yValue7)) + (transform7[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y9 = ((sqInt)(((((transform7[3]) * xValue7) + ((transform7[4]) * yValue7)) + (transform7[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point7))[0] = x9;
(((int *) point7))[1] = y9;
}
@@ -6659,6 +6723,14 @@
sqInt x7;
sqInt x8;
sqInt x9;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
+ double xValue4;
+ double xValue5;
+ double xValue6;
+ double xValue7;
sqInt y;
short y0;
short y1;
@@ -6670,6 +6742,14 @@
sqInt y7;
sqInt y8;
sqInt y9;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
+ double yValue4;
+ double yValue5;
+ double yValue6;
+ double yValue7;
if (nSegments == 0) {
return 0;
@@ -6781,10 +6861,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -6806,10 +6888,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x3;
(((int *) point1))[1] = y3;
}
@@ -6831,10 +6915,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x4 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y4 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x4 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y4 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x4;
(((int *) point2))[1] = y4;
}
@@ -6856,10 +6942,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x5 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y5 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x5 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y5 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x5;
(((int *) point3))[1] = y5;
}
@@ -6891,10 +6979,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue4 = ((double) ((((int *) point4))[0]) );
+ yValue4 = ((double) ((((int *) point4))[1]) );
/* begin edgeTransform */
transform4 = ((float *) (workBuffer + GWEdgeTransform));
- x6 = ((sqInt)(((((transform4[0]) * (((double) ((((int *) point4))[0]) ))) + ((transform4[1]) * (((double) ((((int *) point4))[1]) )))) + (transform4[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y6 = ((sqInt)(((((transform4[3]) * (((double) ((((int *) point4))[0]) ))) + ((transform4[4]) * (((double) ((((int *) point4))[1]) )))) + (transform4[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x6 = ((sqInt)(((((transform4[0]) * xValue4) + ((transform4[1]) * yValue4)) + (transform4[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y6 = ((sqInt)(((((transform4[3]) * xValue4) + ((transform4[4]) * yValue4)) + (transform4[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point4))[0] = x6;
(((int *) point4))[1] = y6;
}
@@ -6916,10 +7006,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue5 = ((double) ((((int *) point5))[0]) );
+ yValue5 = ((double) ((((int *) point5))[1]) );
/* begin edgeTransform */
transform5 = ((float *) (workBuffer + GWEdgeTransform));
- x7 = ((sqInt)(((((transform5[0]) * (((double) ((((int *) point5))[0]) ))) + ((transform5[1]) * (((double) ((((int *) point5))[1]) )))) + (transform5[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y7 = ((sqInt)(((((transform5[3]) * (((double) ((((int *) point5))[0]) ))) + ((transform5[4]) * (((double) ((((int *) point5))[1]) )))) + (transform5[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x7 = ((sqInt)(((((transform5[0]) * xValue5) + ((transform5[1]) * yValue5)) + (transform5[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y7 = ((sqInt)(((((transform5[3]) * xValue5) + ((transform5[4]) * yValue5)) + (transform5[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point5))[0] = x7;
(((int *) point5))[1] = y7;
}
@@ -6941,10 +7033,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue6 = ((double) ((((int *) point6))[0]) );
+ yValue6 = ((double) ((((int *) point6))[1]) );
/* begin edgeTransform */
transform6 = ((float *) (workBuffer + GWEdgeTransform));
- x8 = ((sqInt)(((((transform6[0]) * (((double) ((((int *) point6))[0]) ))) + ((transform6[1]) * (((double) ((((int *) point6))[1]) )))) + (transform6[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y8 = ((sqInt)(((((transform6[3]) * (((double) ((((int *) point6))[0]) ))) + ((transform6[4]) * (((double) ((((int *) point6))[1]) )))) + (transform6[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x8 = ((sqInt)(((((transform6[0]) * xValue6) + ((transform6[1]) * yValue6)) + (transform6[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y8 = ((sqInt)(((((transform6[3]) * xValue6) + ((transform6[4]) * yValue6)) + (transform6[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point6))[0] = x8;
(((int *) point6))[1] = y8;
}
@@ -6966,10 +7060,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue7 = ((double) ((((int *) point7))[0]) );
+ yValue7 = ((double) ((((int *) point7))[1]) );
/* begin edgeTransform */
transform7 = ((float *) (workBuffer + GWEdgeTransform));
- x9 = ((sqInt)(((((transform7[0]) * (((double) ((((int *) point7))[0]) ))) + ((transform7[1]) * (((double) ((((int *) point7))[1]) )))) + (transform7[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y9 = ((sqInt)(((((transform7[3]) * (((double) ((((int *) point7))[0]) ))) + ((transform7[4]) * (((double) ((((int *) point7))[1]) )))) + (transform7[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x9 = ((sqInt)(((((transform7[0]) * xValue7) + ((transform7[1]) * yValue7)) + (transform7[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y9 = ((sqInt)(((((transform7[3]) * xValue7) + ((transform7[4]) * yValue7)) + (transform7[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point7))[0] = x9;
(((int *) point7))[1] = y9;
}
@@ -7071,9 +7167,15 @@
sqInt x;
sqInt x1;
sqInt x2;
+ double xValue;
+ double xValue1;
+ double xValue2;
sqInt y;
sqInt y1;
sqInt y2;
+ double yValue;
+ double yValue1;
+ double yValue2;
point2[0] = ((point2[0]) + (point1[0]));
point2[1] = ((point2[1]) + (point1[1]));
@@ -7086,10 +7188,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point1))[0]) );
+ yValue = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform[1]) * (((double) ((((int *) point1))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform[4]) * (((double) ((((int *) point1))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x;
(((int *) point1))[1] = y;
}
@@ -7107,10 +7211,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point2))[0]) );
+ yValue1 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x1 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point2))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y1 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point2))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x1 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y1 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x1;
(((int *) point2))[1] = y1;
}
@@ -7128,10 +7234,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point3))[0]) );
+ yValue2 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x2 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point3))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y2 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point3))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x2 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y2 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x2;
(((int *) point3))[1] = y2;
}
@@ -7372,10 +7480,18 @@
sqInt x1;
sqInt x2;
sqInt x3;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
sqInt y;
sqInt y1;
sqInt y2;
sqInt y3;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
w = (((point2Get())[0]) - ((point1Get())[0])) / 2;
h = (((point2Get())[1]) - ((point1Get())[1])) / 2;
@@ -7394,10 +7510,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -7419,10 +7537,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x1 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y1 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x1 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y1 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x1;
(((int *) point1))[1] = y1;
}
@@ -7444,10 +7564,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x2 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y2 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x2 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y2 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x2;
(((int *) point2))[1] = y2;
}
@@ -7469,10 +7591,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x3;
(((int *) point3))[1] = y3;
}
@@ -7567,12 +7691,20 @@
sqInt x2;
sqInt x3;
sqInt x4;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
sqInt y;
short y0;
short y1;
sqInt y2;
sqInt y3;
sqInt y4;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
if (isShort) {
/* begin loadPointShortAt:from: */
@@ -7610,10 +7742,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -7635,10 +7769,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x2 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y2 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x2 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y2 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x2;
(((int *) point1))[1] = y2;
}
@@ -7660,10 +7796,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x3;
(((int *) point2))[1] = y3;
}
@@ -7685,10 +7823,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x4 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y4 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x4 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y4 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x4;
(((int *) point3))[1] = y4;
}
@@ -7801,6 +7941,14 @@
sqInt x7;
sqInt x8;
sqInt x9;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
+ double xValue4;
+ double xValue5;
+ double xValue6;
+ double xValue7;
sqInt y;
short y0;
short y1;
@@ -7812,6 +7960,14 @@
sqInt y7;
sqInt y8;
sqInt y9;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
+ double yValue4;
+ double yValue5;
+ double yValue6;
+ double yValue7;
for (i = 1; i <= nSegments; i += 1) {
/* begin loadCompressedSegment:from:short:leftFill:rightFill:lineWidth:lineColor: */
@@ -7877,10 +8033,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue = ((double) ((((int *) point))[0]) );
+ yValue = ((double) ((((int *) point))[1]) );
/* begin edgeTransform */
transform = ((float *) (workBuffer + GWEdgeTransform));
- x = ((sqInt)(((((transform[0]) * (((double) ((((int *) point))[0]) ))) + ((transform[1]) * (((double) ((((int *) point))[1]) )))) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y = ((sqInt)(((((transform[3]) * (((double) ((((int *) point))[0]) ))) + ((transform[4]) * (((double) ((((int *) point))[1]) )))) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x = ((sqInt)(((((transform[0]) * xValue) + ((transform[1]) * yValue)) + (transform[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y = ((sqInt)(((((transform[3]) * xValue) + ((transform[4]) * yValue)) + (transform[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point))[0] = x;
(((int *) point))[1] = y;
}
@@ -7902,10 +8060,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue1 = ((double) ((((int *) point1))[0]) );
+ yValue1 = ((double) ((((int *) point1))[1]) );
/* begin edgeTransform */
transform1 = ((float *) (workBuffer + GWEdgeTransform));
- x3 = ((sqInt)(((((transform1[0]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[1]) * (((double) ((((int *) point1))[1]) )))) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y3 = ((sqInt)(((((transform1[3]) * (((double) ((((int *) point1))[0]) ))) + ((transform1[4]) * (((double) ((((int *) point1))[1]) )))) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x3 = ((sqInt)(((((transform1[0]) * xValue1) + ((transform1[1]) * yValue1)) + (transform1[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y3 = ((sqInt)(((((transform1[3]) * xValue1) + ((transform1[4]) * yValue1)) + (transform1[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point1))[0] = x3;
(((int *) point1))[1] = y3;
}
@@ -7927,10 +8087,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue2 = ((double) ((((int *) point2))[0]) );
+ yValue2 = ((double) ((((int *) point2))[1]) );
/* begin edgeTransform */
transform2 = ((float *) (workBuffer + GWEdgeTransform));
- x4 = ((sqInt)(((((transform2[0]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[1]) * (((double) ((((int *) point2))[1]) )))) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y4 = ((sqInt)(((((transform2[3]) * (((double) ((((int *) point2))[0]) ))) + ((transform2[4]) * (((double) ((((int *) point2))[1]) )))) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x4 = ((sqInt)(((((transform2[0]) * xValue2) + ((transform2[1]) * yValue2)) + (transform2[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y4 = ((sqInt)(((((transform2[3]) * xValue2) + ((transform2[4]) * yValue2)) + (transform2[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point2))[0] = x4;
(((int *) point2))[1] = y4;
}
@@ -7952,10 +8114,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue3 = ((double) ((((int *) point3))[0]) );
+ yValue3 = ((double) ((((int *) point3))[1]) );
/* begin edgeTransform */
transform3 = ((float *) (workBuffer + GWEdgeTransform));
- x5 = ((sqInt)(((((transform3[0]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[1]) * (((double) ((((int *) point3))[1]) )))) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y5 = ((sqInt)(((((transform3[3]) * (((double) ((((int *) point3))[0]) ))) + ((transform3[4]) * (((double) ((((int *) point3))[1]) )))) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x5 = ((sqInt)(((((transform3[0]) * xValue3) + ((transform3[1]) * yValue3)) + (transform3[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y5 = ((sqInt)(((((transform3[3]) * xValue3) + ((transform3[4]) * yValue3)) + (transform3[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point3))[0] = x5;
(((int *) point3))[1] = y5;
}
@@ -7987,10 +8151,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue4 = ((double) ((((int *) point4))[0]) );
+ yValue4 = ((double) ((((int *) point4))[1]) );
/* begin edgeTransform */
transform4 = ((float *) (workBuffer + GWEdgeTransform));
- x6 = ((sqInt)(((((transform4[0]) * (((double) ((((int *) point4))[0]) ))) + ((transform4[1]) * (((double) ((((int *) point4))[1]) )))) + (transform4[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y6 = ((sqInt)(((((transform4[3]) * (((double) ((((int *) point4))[0]) ))) + ((transform4[4]) * (((double) ((((int *) point4))[1]) )))) + (transform4[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x6 = ((sqInt)(((((transform4[0]) * xValue4) + ((transform4[1]) * yValue4)) + (transform4[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y6 = ((sqInt)(((((transform4[3]) * xValue4) + ((transform4[4]) * yValue4)) + (transform4[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point4))[0] = x6;
(((int *) point4))[1] = y6;
}
@@ -8012,10 +8178,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue5 = ((double) ((((int *) point5))[0]) );
+ yValue5 = ((double) ((((int *) point5))[1]) );
/* begin edgeTransform */
transform5 = ((float *) (workBuffer + GWEdgeTransform));
- x7 = ((sqInt)(((((transform5[0]) * (((double) ((((int *) point5))[0]) ))) + ((transform5[1]) * (((double) ((((int *) point5))[1]) )))) + (transform5[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y7 = ((sqInt)(((((transform5[3]) * (((double) ((((int *) point5))[0]) ))) + ((transform5[4]) * (((double) ((((int *) point5))[1]) )))) + (transform5[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x7 = ((sqInt)(((((transform5[0]) * xValue5) + ((transform5[1]) * yValue5)) + (transform5[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y7 = ((sqInt)(((((transform5[3]) * xValue5) + ((transform5[4]) * yValue5)) + (transform5[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point5))[0] = x7;
(((int *) point5))[1] = y7;
}
@@ -8037,10 +8205,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue6 = ((double) ((((int *) point6))[0]) );
+ yValue6 = ((double) ((((int *) point6))[1]) );
/* begin edgeTransform */
transform6 = ((float *) (workBuffer + GWEdgeTransform));
- x8 = ((sqInt)(((((transform6[0]) * (((double) ((((int *) point6))[0]) ))) + ((transform6[1]) * (((double) ((((int *) point6))[1]) )))) + (transform6[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y8 = ((sqInt)(((((transform6[3]) * (((double) ((((int *) point6))[0]) ))) + ((transform6[4]) * (((double) ((((int *) point6))[1]) )))) + (transform6[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x8 = ((sqInt)(((((transform6[0]) * xValue6) + ((transform6[1]) * yValue6)) + (transform6[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y8 = ((sqInt)(((((transform6[3]) * xValue6) + ((transform6[4]) * yValue6)) + (transform6[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point6))[0] = x8;
(((int *) point6))[1] = y8;
}
@@ -8062,10 +8232,12 @@
/* begin transformPoint:into: */
/* begin transformPointX:y:into: */
+ xValue7 = ((double) ((((int *) point7))[0]) );
+ yValue7 = ((double) ((((int *) point7))[1]) );
/* begin edgeTransform */
transform7 = ((float *) (workBuffer + GWEdgeTransform));
- x9 = ((sqInt)(((((transform7[0]) * (((double) ((((int *) point7))[0]) ))) + ((transform7[1]) * (((double) ((((int *) point7))[1]) )))) + (transform7[2])) * (((double) (workBuffer[GWAALevel]) ))));
- y9 = ((sqInt)(((((transform7[3]) * (((double) ((((int *) point7))[0]) ))) + ((transform7[4]) * (((double) ((((int *) point7))[1]) )))) + (transform7[5])) * (((double) (workBuffer[GWAALevel]) ))));
+ x9 = ((sqInt)(((((transform7[0]) * xValue7) + ((transform7[1]) * yValue7)) + (transform7[2])) * (((double) (workBuffer[GWAALevel]) ))));
+ y9 = ((sqInt)(((((transform7[3]) * xValue7) + ((transform7[4]) * yValue7)) + (transform7[5])) * (((double) (workBuffer[GWAALevel]) ))));
(((int *) point7))[0] = x9;
(((int *) point7))[1] = y9;
}
@@ -8662,10 +8834,18 @@
sqInt x1;
sqInt x2;
sqInt x3;
+ double xValue;
+ double xValue1;
+ double xValue2;
+ double xValue3;
sqInt y;
sqInt y1;
sqInt y2;
sqInt y3;
+ double yValue;
+ double yValue1;
+ double yValue2;
+ double yValue3;
/* Fail if we have the wrong number of arguments */
@@ -8708,10 +8888,12 @@
@@ Diff output truncated at 50000 characters. @@
More information about the Vm-dev
mailing list