| 3781 | } |
| 3782 | |
| 3783 | void SetNodeTextLayout(HScene scene, HNode node, const TextLayout& text_layout) |
| 3784 | { |
| 3785 | InternalNode* n = GetNode(scene, node); |
| 3786 | TextLayout& current_text_layout = n->m_Node.m_TextLayout; |
| 3787 | if (text_layout.m_Handle && current_text_layout.m_Handle != text_layout.m_Handle) |
| 3788 | { |
| 3789 | TextLayoutAcquire(text_layout.m_Handle); |
| 3790 | } |
| 3791 | if (current_text_layout.m_Handle && current_text_layout.m_Handle != text_layout.m_Handle) |
| 3792 | { |
| 3793 | TextLayoutRelease(current_text_layout.m_Handle); |
| 3794 | } |
| 3795 | current_text_layout = text_layout; |
| 3796 | } |
| 3797 | |
| 3798 | BlendMode GetNodeBlendMode(HScene scene, HNode node) |
| 3799 | { |