Flutter Impeller
impeller::RenderableText Struct Reference

#include <typographer_context.h>

Public Attributes

const std::shared_ptr< TextFrametext_frame
 The TextFrame being rendered. More...
 
const Matrix origin_transform
 
const std::optional< GlyphPropertiesproperties
 

Detailed Description

The data associated with a single rendering instance of a TextFrame, used to pre-load the glyph atlas with glyph and bounds information.

Definition at line 18 of file typographer_context.h.

Member Data Documentation

◆ origin_transform

const Matrix impeller::RenderableText::origin_transform

The transform that places the origin of the TextFrame within screen space. This is the current transform (ctm) of the graphics context translated by the local space position of the TextFrame.

Definition at line 25 of file typographer_context.h.

◆ properties

const std::optional<GlyphProperties> impeller::RenderableText::properties

The properties needed for rendering stroked text and/or the color needed to cache a TextFrame where HasColor() == true.

Definition at line 29 of file typographer_context.h.

◆ text_frame

const std::shared_ptr<TextFrame> impeller::RenderableText::text_frame

The TextFrame being rendered.

Definition at line 20 of file typographer_context.h.

Referenced by impeller::testing::CreateGlyphAtlas().


The documentation for this struct was generated from the following file: