Flutter Impeller
impeller::FrameBounds Struct Reference

#include <glyph_atlas.h>

Public Attributes

Rect atlas_bounds
 The bounds of the glyph within the glyph atlas texture. More...
 
Rect glyph_bounds
 The glyph bounds within the local coordinate system. More...
 
bool is_placeholder = true
 

Detailed Description

Definition at line 22 of file glyph_atlas.h.

Member Data Documentation

◆ atlas_bounds

Rect impeller::FrameBounds::atlas_bounds

The bounds of the glyph within the glyph atlas texture.

Definition at line 24 of file glyph_atlas.h.

Referenced by impeller::TextContents::ComputeVertexData().

◆ glyph_bounds

Rect impeller::FrameBounds::glyph_bounds

The glyph bounds within the local coordinate system.

Definition at line 26 of file glyph_atlas.h.

Referenced by impeller::TextContents::ComputeVertexData().

◆ is_placeholder

bool impeller::FrameBounds::is_placeholder = true

Whether [atlas_bounds] are still a placeholder and have not yet been computed.

Definition at line 29 of file glyph_atlas.h.

Referenced by impeller::TextContents::ComputeVertexData().


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