0 Replies Latest reply on Jan 16, 2014 2:20 PM by JoNo_2120

    ITextFrame GetMatrix()

    JoNo_2120

      I'm getting the text frame for a piece of text art and it's associated matrix, ala:

       

      TextFrameRef textFrameRef = NULL;

      sAITextFrame->GetATETextFrame(art, &textFrameRef);

      ATE::ITextFrame textFrame(textFrameRef);

      AIRealMatrix transformMatrix = textFrame.GetMatrix();

       

      The GetMatrix() result seems to have the correct rotational values from a, b, c, and d, but the tx, and ty values don't make any sense to me. The values I'm getting are in the thousands and the scale isn't big enough to compensate for that.

       

      It looks like this user was having a similar issue. Any clue how I would go about getting sane translational values?

       

      Thanks