Aspose::Font::Renderers::IGlyphRenderer 类

IGlyphRenderer class

用于渲染字形的接口。

class IGlyphRenderer : public virtual System::Object

方法

方法描述
virtual RenderGlyph(System::SharedPtr<IFont>, uint32_t)渲染字形。
virtual RenderGlyph(System::SharedPtr<IFont>, uint32_t, System::SharedPtr<TransformationMatrix>)渲染字形。
virtual RenderGlyph(System::SharedPtr<IFont>, System::SharedPtr<Glyphs::GlyphId>)渲染字形。
virtual RenderGlyph(System::SharedPtr<IFont>, System::SharedPtr<Glyphs::GlyphId>, System::SharedPtr<TransformationMatrix>)渲染字形。
virtual RenderGlyph(System::SharedPtr<IFont>, System::SharedPtr<Glyphs::GlyphId>, System::SharedPtr<Glyphs::Glyph>, System::SharedPtr<TransformationMatrix>)渲染字形,此重载版本的目标是用于字形缓存。
virtual RenderIndependentGlyphPath(System::SharedPtr<IFont>, System::SharedPtr<Glyphs::GlyphId>, System::SharedPtr<Glyphs::Glyph>, System::SharedPtr<TransformationMatrix>)使用独立的字形路径渲染字形。RenderGlyph() 函数族在渲染时会更改字形路径。这导致需要再次重新加载该字形。该函数使用字形路径的副本,不会更改原始字形路径,因此同一字形可以多次复用。此函数版本旨在与字形缓存一起使用。

另见