## RenderingUtils class


提供用于渲染的实用方法。

```cpp
class RenderingUtils
```

## Enums

| 枚举 | 描述 |
| --- | --- |
| [LineSpacingType](./linespacingtype/) | 行间距类型。以像素数或字体高度的百分比表示。 |
## 方法

| 方法 | 描述 |
| --- | --- |
| static [DrawText](./drawtext/)(System::SharedPtr\<Font\>, System::String, double) | [Rendering](../../aspose.font.rendering/) 位图中的文本。返回 PNG 格式的字节流结果。 |
| static [DrawText](./drawtext/)(System::SharedPtr\<Font\>, System::String, double, RenderingUtils::LineSpacingType, int32_t, int32_t) | [Rendering](../../aspose.font.rendering/) 位图中的文本。返回 PNG 格式的字节流结果。 |
| static [DrawText](./drawtext/)(System::SharedPtr\<Font\>, System::ArrayPtr\<System::SharedPtr\<Glyphs::GlyphId\>\>, double) | [Rendering](../../aspose.font.rendering/) 位图中的文本。返回 PNG 格式的字节流结果。 |
| static [DrawText](./drawtext/)(System::SharedPtr\<Font\>, System::ArrayPtr\<System::SharedPtr\<Glyphs::GlyphId\>\>, double, RenderingUtils::LineSpacingType, int32_t, int32_t) | [Rendering](../../aspose.font.rendering/) 位图中的文本。返回 PNG 格式的字节流结果。 |
| [RenderingUtils](./renderingutils/)() |  |
## 另见

* Namespace [Aspose::Font::Renderers](../)
* Library [Aspose.Font for C++](../../)
