h6. [[Draw]] h6(. » [[Transformation Matrix]] h6((. » Transformation Examples Rotation can be performed by using: a = cos(angle)<br /> b = sin(angle)<br /> c = sin(angle)<br /> d = cos(angle)<br /> Scaling can be performed by using: a = scale<br /> b = 0<br /> c = 0<br /> d = scale<br /> Translation can be performed by using: e = x translation<br /> f = y translation<br /> To render a non-rotated 1:1 Draw file at (x,y)[1] , the transformation matrix is: |{width:8em}. 1 << 16|{width:8em}. 0|{width:8em}. 0| |0|1 << 16|0| |256x|256y|1| And thus: |{width:8em}. a = 1 << 16|{width:8em}. b = 0| |c = 0|d = 1 << 16| |e = 256x|f = 256y|