code: public void startElementContents(ElementBox elem)
      {
          //setup transformations for the contents
          AffineTransform at = Transform.createTransform(elem);
          if (at != null)
          {
              savedTransforms.put(elem, g.getTransform());
              g.transform(at);
          }
      }
docs: ====================================================================================================