Function freya::core::render::skia_measurer::create_paragraph
source ยท pub fn create_paragraph(
node: &NodeRef<'_, CustomAttributeValues>,
area_size: &Size2D<f32, Measure>,
font_collection: &RCHandle<skia_textlayout_FontCollection>,
is_rendering: bool,
default_font_family: &[String],
scale_factor: f32,
) -> (RefHandle<skia_textlayout_Paragraph>, f32)
Expand description
Compose a new SkParagraph