transform

XSL Transform XML

Hi all, I have some xml in the following format: <fileExport> <rows> <row id="0"> <columns> <column id="0"> <name>Date Time</name> <value>2010-10-2 23:00:00 GMT</value> </column> <column id="1"> <name>Primary</name> <value>100.1</value> </column> ...

Can't undo a scale transform without undoing a rotation transform...

Here's a follow up to a previous question. My code below animates a square by scaling it and rotating it. It does this by making a rotation transform and adding a scale transform to it. That works fine. When it's done, it calls throbReset. I used to have throbReset just set self's transform to a CGAffineTransformMakeScale and that w...

Simple custom tag parsing in java

Hi, I have a client that wants to insert videos, images, form elements, etc. into his text while also keeping html elements that tinymce generates. One thing thing that came to mind is to create special tags that lets him do this, and then use a transformation engine that takes the input -> output. So for a video tag, it could inject t...

OpenGL Transformation Problem

Can someone explain what is happening in the example below: glMatrixMode(GL_MODELVIEW); glPushMatrix(); glLoadIdentity(); glRotatef(45,0,0,1); DrawCube(); glTranslatef(4,0,0); glRotatef(-45,0,0,1); DrawCube(); glPopMatrix(); I am assuming that it will just rotate the square, shift it right 4 units, and then rotate it back to its origi...