GlyphRendererBase

Inheritance: java.lang.Object

All Implemented Interfaces: com.aspose.font.IGlyphRenderer

public abstract class GlyphRendererBase implements IGlyphRenderer

Represents base class for glyph renderers.

Methods

MethodDescription
renderGlyph(IFont font, long glyphIndex)Renders glyph
renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)Renders glyph.
renderGlyph(IFont font, GlyphId glyphId)Renders glyph.
renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)Renders glyph.
renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)Renders glyph, an objective of this overloaded version - to be used with cache for glyphs.
renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)Renders glyph using independent glyph path.

renderGlyph(IFont font, long glyphIndex)

public void renderGlyph(IFont font, long glyphIndex)

Renders glyph

Parameters:

ParameterTypeDescription
fontIFontThe Font that contains the glyph.
glyphIndexlongPhysical glyph index inside Font. Note that this is not a unicode.

renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)

public void renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)

Renders glyph.

Parameters:

ParameterTypeDescription
fontIFontThe Font that contains the glyph.
glyphIndexlongPhysical glyph index inside Font. Note that this is not a unicode.
glyphPlacementMatrixTransformationMatrixMatrix that is applied to glyph coordinates.

renderGlyph(IFont font, GlyphId glyphId)

public void renderGlyph(IFont font, GlyphId glyphId)

Renders glyph.

Parameters:

ParameterTypeDescription
fontIFontThe Font that contains the glyph.
glyphIdGlyphIdPhysical glyph index inside Font. Note that this is not a unicode.

renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)

public void renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)

Renders glyph.

Parameters:

ParameterTypeDescription
fontIFontThe Font that contains the glyph.
glyphIdGlyphIdPhysical glyph index inside Font. Note that this is not a unicode.
glyphPlacementMatrixTransformationMatrixMatrix that is applied to glyph coordinates.

renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

public void renderGlyph(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

Renders glyph, an objective of this overloaded version - to be used with cache for glyphs.

Parameters:

ParameterTypeDescription
fontIFontThe Font that contains the glyph.
glyphIdGlyphIdPhysical glyph index inside Font. Note that this is not a unicode.
glyphGlyphGlyph to render.
glyphPlacementMatrixTransformationMatrixMatrix that is applied to glyph coordinates.

renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

public void renderIndependentGlyphPath(IFont font, GlyphId glyphId, Glyph glyph, TransformationMatrix glyphPlacementMatrix)

Renders glyph using independent glyph path. RenderGlyph() function family changes glyph path on rendering. It then leads to necessity reload this glyph again. This function uses copy of glyph path and doesn’t changes original glyph path, so the same glyph could be reused multiple times. This version of function is intended for use with cache of glyphs.

Parameters:

ParameterTypeDescription
fontIFontThe Font that contains the glyph.
glyphIdGlyphIdPhysical glyph index inside Font. Note that this is not a unicode.
glyphGlyphGlyph to render.
glyphPlacementMatrixTransformationMatrixMatrix that is applied to glyph coordinates.