Function freya::core::prelude::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>,
) -> (Point2D<f32, Measure>, Point2D<f32, Measure>)
Expand description
Align the Y axis of the highlights and cursor of a paragraph