Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Xmlgraphics-fop Wiki" 
for change notification.

The following page has been changed by JeremiasMaerki:
http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml/NewDesign

The comment on the change is:
Refined text drawing (IF & SVG are more readable/debuggable/compact that way)

------------------------------------------------------------------------------
        <box transform="translate(5000, 6000)" width="18000" height="10000">
          <font family="Helvetica" style="normal" weight="400" variant="normal" 
size="12000"
            color="black"/>
-         <text x="1233 1241 1247 1253 1264" y="803">Hello</text>
+         <text x="1233" y="803" dx="0 0 20 0 0">Hello</text>
          <draw-rect x="1233" y="1200" width="20000" height="20000" 
fill="yellow" stroke="none"/>
          <box transform="translate(1233, 1200)" width="20000" height="20000" 
clip="true">
            <image xlink:href="myimage.svg" x="0" y="0" width="20000" 
height="20000"/>
@@ -116, +116 @@

  
      void setFont(String family, String style, Integer weight, String variant, 
Integer size, String color);
      //All of setFont()'s parameters can be null if no state change is 
necessary
-     void drawText(int[] x, int[] y, String text);
+     void drawText(int x, int y, int[] dx, int[] dy, String text);
      void drawRect(Rectangle rect, Paint fill, Color stroke);
      void drawImage(String uri, Rectangle rect); //external images
      void startImage(Rectangle rect); //followed by a SAX stream (SVG etc.)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to