public abstract class GlyphRendererBase extends Object implements IGlyphRenderer
Represents base class for glyph renderers.
| Modifier and Type | Method and Description |
|---|---|
void |
renderGlyph(IFont font,
GlyphId glyphId)
Renders glyph.
|
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.
|
void |
renderGlyph(IFont font,
GlyphId glyphId,
TransformationMatrix glyphPlacementMatrix)
Renders glyph.
|
void |
renderGlyph(IFont font,
long glyphIndex)
Renders glyph
|
void |
renderGlyph(IFont font,
long glyphIndex,
TransformationMatrix glyphPlacementMatrix)
Renders glyph.
|
void |
renderIndependentGlyphPath(IFont font,
GlyphId glyphId,
Glyph glyph,
TransformationMatrix glyphPlacementMatrix)
Renders glyph using independent glyph path.
|
public void renderGlyph(IFont font, long glyphIndex)
Renders glyph
renderGlyph in interface IGlyphRendererfont - The Font that contains the glyph.glyphIndex - Physical glyph index inside Font. Note that this is not a unicode.public void renderGlyph(IFont font, long glyphIndex, TransformationMatrix glyphPlacementMatrix)
Renders glyph.
renderGlyph in interface IGlyphRendererfont - The Font that contains the glyph.glyphIndex - Physical glyph index inside Font. Note that this is not a unicode.glyphPlacementMatrix - Matrix that is applied to glyph coordinates.public void renderGlyph(IFont font, GlyphId glyphId)
Renders glyph.
renderGlyph in interface IGlyphRendererfont - The Font that contains the glyph.glyphId - Physical glyph index inside Font. Note that this is not a unicode.public void renderGlyph(IFont font, GlyphId glyphId, TransformationMatrix glyphPlacementMatrix)
Renders glyph.
renderGlyph in interface IGlyphRendererfont - The Font that contains the glyph.glyphId - Physical glyph index inside Font. Note that this is not a unicode.glyphPlacementMatrix - Matrix that is applied to glyph coordinates.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.
renderGlyph in interface IGlyphRendererfont - The Font that contains the glyph.glyphId - Physical glyph index inside Font. Note that this is not a unicode.glyph - Glyph to render.glyphPlacementMatrix - Matrix that is applied to glyph coordinates.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.
renderIndependentGlyphPath in interface IGlyphRendererfont - The Font that contains the glyph.glyphId - Physical glyph index inside Font. Note that this is not a unicode.glyph - Glyph to render.glyphPlacementMatrix - Matrix that is applied to glyph coordinates.Copyright © 2025 Aspose. All Rights Reserved.