Package com.openhtmltopdf.svgsupport
Class OpenHtmlGvtGlyphVector
- java.lang.Object
-
- com.openhtmltopdf.svgsupport.OpenHtmlGvtGlyphVector
-
- All Implemented Interfaces:
org.apache.batik.gvt.font.GVTGlyphVector
public class OpenHtmlGvtGlyphVector extends Object implements org.apache.batik.gvt.font.GVTGlyphVector
-
-
Constructor Summary
Constructors Constructor Description OpenHtmlGvtGlyphVector(GlyphVector vec, org.apache.batik.gvt.font.GVTFont font, FontRenderContext frc)
-
Method Summary
-
-
-
Constructor Detail
-
OpenHtmlGvtGlyphVector
public OpenHtmlGvtGlyphVector(GlyphVector vec, org.apache.batik.gvt.font.GVTFont font, FontRenderContext frc)
-
-
Method Detail
-
draw
public void draw(Graphics2D g2d, AttributedCharacterIterator arg1)
- Specified by:
drawin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getBounds2D
public Rectangle2D getBounds2D(AttributedCharacterIterator arg0)
- Specified by:
getBounds2Din interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getCharacterCount
public int getCharacterCount(int start, int end)- Specified by:
getCharacterCountin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getFont
public org.apache.batik.gvt.font.GVTFont getFont()
- Specified by:
getFontin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getFontRenderContext
public FontRenderContext getFontRenderContext()
- Specified by:
getFontRenderContextin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGeometricBounds
public Rectangle2D getGeometricBounds()
- Specified by:
getGeometricBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphCellBounds
public Rectangle2D getGlyphCellBounds(int arg0)
- Specified by:
getGlyphCellBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphCode
public int getGlyphCode(int idx)
- Specified by:
getGlyphCodein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphCodes
public int[] getGlyphCodes(int arg0, int arg1, int[] arg2)- Specified by:
getGlyphCodesin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphJustificationInfo
public GlyphJustificationInfo getGlyphJustificationInfo(int idx)
- Specified by:
getGlyphJustificationInfoin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphLogicalBounds
public Shape getGlyphLogicalBounds(int arg0)
- Specified by:
getGlyphLogicalBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphMetrics
public org.apache.batik.gvt.font.GVTGlyphMetrics getGlyphMetrics(int arg0)
- Specified by:
getGlyphMetricsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphOutline
public Shape getGlyphOutline(int arg0)
- Specified by:
getGlyphOutlinein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphPosition
public Point2D getGlyphPosition(int arg0)
- Specified by:
getGlyphPositionin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphPositions
public float[] getGlyphPositions(int arg0, int arg1, float[] arg2)- Specified by:
getGlyphPositionsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphTransform
public AffineTransform getGlyphTransform(int arg0)
- Specified by:
getGlyphTransformin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getGlyphVisualBounds
public Shape getGlyphVisualBounds(int arg0)
- Specified by:
getGlyphVisualBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getLogicalBounds
public Rectangle2D getLogicalBounds()
- Specified by:
getLogicalBoundsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getNumGlyphs
public int getNumGlyphs()
- Specified by:
getNumGlyphsin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getOutline
public Shape getOutline()
- Specified by:
getOutlinein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
getOutline
public Shape getOutline(float arg0, float arg1)
- Specified by:
getOutlinein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
isGlyphVisible
public boolean isGlyphVisible(int arg0)
- Specified by:
isGlyphVisiblein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
isReversed
public boolean isReversed()
- Specified by:
isReversedin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
maybeReverse
public void maybeReverse(boolean arg0)
- Specified by:
maybeReversein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
performDefaultLayout
public void performDefaultLayout()
- Specified by:
performDefaultLayoutin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphPosition
public void setGlyphPosition(int arg0, Point2D arg1)- Specified by:
setGlyphPositionin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphTransform
public void setGlyphTransform(int arg0, AffineTransform arg1)- Specified by:
setGlyphTransformin interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
setGlyphVisible
public void setGlyphVisible(int arg0, boolean arg1)- Specified by:
setGlyphVisiblein interfaceorg.apache.batik.gvt.font.GVTGlyphVector
-
-