xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Xmlgraphics-fop Wiki] Update of "AreaTreeIntermediateXml/NewDesign" by JeremiasMaerki
Date Wed, 16 Jul 2008 07:56:33 GMT
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:

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"
-         <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: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org

View raw message