Function freya::core::render::skia_measurer::align_highlights_and_cursor_paragraph
source ยท pub fn align_highlights_and_cursor_paragraph(
node: &NodeRef<'_, CustomAttributeValues>,
area: &Rect<f32, Measure>,
paragraph: &RefHandle<skia_textlayout_Paragraph>,
cursor_rect: &TextBox,
width: Option<f32>,
) -> Rect
Expand description
Align the Y axis of the highlights and cursor of a paragraph