Flutter Engine
minikin::MinikinRect Struct Reference

#include <MinikinFont.h>

Public Member Functions

bool isEmpty () const
 
void set (const MinikinRect &r)
 
void offset (float dx, float dy)
 
void setEmpty ()
 
void join (const MinikinRect &r)
 

Public Attributes

float mLeft
 
float mTop
 
float mRight
 
float mBottom
 

Detailed Description

Definition at line 69 of file MinikinFont.h.

Member Function Documentation

◆ isEmpty()

bool minikin::MinikinRect::isEmpty ( ) const
inline

Definition at line 71 of file MinikinFont.h.

◆ join()

void minikin::MinikinRect::join ( const MinikinRect r)

◆ offset()

void minikin::MinikinRect::offset ( float  dx,
float  dy 
)
inline

Definition at line 78 of file MinikinFont.h.

78  {
79  mLeft += dx;
80  mTop += dy;
81  mRight += dx;
82  mBottom += dy;
83  }

◆ set()

void minikin::MinikinRect::set ( const MinikinRect r)
inline

Definition at line 72 of file MinikinFont.h.

72  {
73  mLeft = r.mLeft;
74  mTop = r.mTop;
75  mRight = r.mRight;
76  mBottom = r.mBottom;
77  }

◆ setEmpty()

void minikin::MinikinRect::setEmpty ( )
inline

Definition at line 84 of file MinikinFont.h.

Member Data Documentation

◆ mBottom

float minikin::MinikinRect::mBottom

Definition at line 70 of file MinikinFont.h.

Referenced by txt::FontSkia::GetBounds().

◆ mLeft

float minikin::MinikinRect::mLeft

Definition at line 70 of file MinikinFont.h.

Referenced by txt::FontSkia::GetBounds().

◆ mRight

float minikin::MinikinRect::mRight

Definition at line 70 of file MinikinFont.h.

Referenced by txt::FontSkia::GetBounds().

◆ mTop

float minikin::MinikinRect::mTop

Definition at line 70 of file MinikinFont.h.

Referenced by txt::FontSkia::GetBounds().


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