| 51 | } |
| 52 | |
| 53 | void TextLayoutRelease(HTextLayout layout) |
| 54 | { |
| 55 | assert(layout); |
| 56 | assert(layout->m_RefCount > 0); |
| 57 | if (--layout->m_RefCount == 0) |
| 58 | { |
| 59 | layout->m_Destroy(layout); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | uint32_t TextToCodePoints(const char* text, dmArray<uint32_t>& codepoints) |
| 64 | { |