I have a .dx format file which creates a glyph which, unlike that created by
the Glyph module, will not be scaled in size along with an image when it is
zoomed. All I do to use my glyph is to import it, and then Translate it to the
image coordinate of interest.

The only problem is that now I want to place the glyph at the position of a
transformed object. Since I don't know how to get the positions of the
transformed object, this glyph won't work for this case. So my question is one
of two things. How can I either obtain the transformed positions (Extract
"positions" fed witht the glyph into Translate doesn't work), or change the
glyph description so that it can be placed somehow at transformed positions in
an image. Since dx Glyph module does seem to work directly with transformed
positions, I'm wondering what the difference is compared to my glyph.



Here is my glyph description:

object 5 class array type float rank 1 shape 2 items 4 data follows
    -1.    -1.
    -1.     1.
     1.    -1.
     1.     1.


attribute "dep" string "positions"
#
object 6 class gridconnections counts 2 2

attribute "element type" string "quads"
attribute "dep" string "connections"
attribute "ref" string "positions"

object 4 class field
component "positions" value 5
component "connections" value 6
#
object 3 class transform of 4
 times             25.            0             0
                   0             25.            0
                   0             0             25.
 plus              0             0             0
#
object 2 class screen world infront of 3
#
object 1 class transform of 2
 times             1             0             0
                   0             1             0
                   0             0             1
 plus              0             0             0
#

Reply via email to