Aspose::Font::Renderers::RenderingUtils 类
RenderingUtils class
提供用于渲染的实用方法。
class RenderingUtils
Enums
| 枚举 | 描述 |
|---|---|
| LineSpacingType | 行间距类型。以像素数或字体高度的百分比表示。 |
方法
| 方法 | 描述 |
|---|---|
| static DrawText(System::SharedPtr<Font>, System::String, double) | Rendering 位图中的文本。返回 PNG 格式的字节流结果。 |
| static DrawText(System::SharedPtr<Font>, System::String, double, RenderingUtils::LineSpacingType, int32_t, int32_t) | Rendering 位图中的文本。返回 PNG 格式的字节流结果。 |
| static DrawText(System::SharedPtr<Font>, System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>, double) | Rendering 位图中的文本。返回 PNG 格式的字节流结果。 |
| static DrawText(System::SharedPtr<Font>, System::ArrayPtr<System::SharedPtr<Glyphs::GlyphId>>, double, RenderingUtils::LineSpacingType, int32_t, int32_t) | Rendering 位图中的文本。返回 PNG 格式的字节流结果。 |
| RenderingUtils() |
另见
- Namespace Aspose::Font::Renderers
- Library Aspose.Font for C++