| 139 | auto layerSize = Size::make(getFrame().width(), getFrame().height()); |
| 140 | auto& layout = getTextLayout(layerSize, *getResources()); |
| 141 | auto offsetY = getTextVerticalOffset(layerSize, layout, displayScale); |
| 142 | auto childrenSize = childrenLayer.getChildrenSize(); |
| 143 | struct InlineChildLayout { |
| 144 | Ref<Valdi::TextInlineAttachment> attachment; |
| 145 | Rect bounds; |
| 146 | }; |
| 147 | std::vector<InlineChildLayout> childIndexToInlineChildLayouts(childrenSize); |
| 148 | |
| 149 | for (const auto& attachment : layout.getAttachments()) { |
| 150 | auto inlineViewAttachment = Valdi::castOrNull<Valdi::TextInlineAttachment>(attachment.attachment); |
| 151 | if (inlineViewAttachment == nullptr) { |
| 152 | continue; |
| 153 | } |
| 154 |
nothing calls this directly
no test coverage detected