Cache of shaped text
更多...
#include <ShapedTextCache.h>
◆ AddShapedText()
Add the given shaped text instance to the cache, or generate a new instance and add that based on the parameters provided
- 参数
-
| InKey | The key identifying the shaped text instance to add |
| InText | The text to shape. InKey may specify a sub-section of the entire text |
| InTextDirection | The text direction of all of the text to be shaped. If present we do a unidirectional shape, otherwise we do a bidirectional shape |
| InShapedText | The shaped text instance to add |
- 返回
- The shaped text instance
◆ FindOrAddShapedText()
Try and find an existing shaped text instance, or add a new entry to the cache if one cannot be found
- 参数
-
| InKey | The key identifying the shaped text instance to find or add |
| InText | The text to shape if we can't find the shaped text in the cache. InKey may specify a sub-section of the entire text |
| InTextDirection | The text direction of all of the text to be shaped. If present we do a unidirectional shape, otherwise we do a bidirectional shape |
- 返回
- The shaped text instance
◆ FindShapedText()
Try and find an existing shaped text instance
- 参数
-
| InKey | The key identifying the shaped text instance to find |
- 返回
- The shaped text instance, or null if it wasn't found or was stale
该类的文档由以下文件生成: