Open CASCADE Technology
7.5.0
|
Auxiliary POD structure - 2D rectangle definition. More...
#include <Font_Rect.hxx>
Public Member Functions | |
NCollection_Vec2< float > | TopLeft () const |
Top-left corner as vec2. More... | |
NCollection_Vec2< float > & | TopLeft (NCollection_Vec2< float > &theVec) const |
Top-left corner as vec2. More... | |
NCollection_Vec2< float > & | TopRight (NCollection_Vec2< float > &theVec) const |
Top-right corner as vec2. More... | |
NCollection_Vec2< float > & | BottomLeft (NCollection_Vec2< float > &theVec) const |
Bottom-left corner as vec2. More... | |
NCollection_Vec2< float > & | BottomRight (NCollection_Vec2< float > &theVec) const |
Bottom-right corner as vec2. More... | |
float | Width () const |
Rectangle width. More... | |
float | Height () const |
Rectangle height. More... | |
void | DumpJson (Standard_OStream &theOStream, Standard_Integer) const |
Dumps the content of me into the stream. More... | |
Data Fields | |
float | Left |
left position More... | |
float | Right |
right position More... | |
float | Top |
top position More... | |
float | Bottom |
bottom position More... | |
Auxiliary POD structure - 2D rectangle definition.
|
inline |
Bottom-left corner as vec2.
|
inline |
Bottom-right corner as vec2.
|
inline |
Dumps the content of me into the stream.
|
inline |
Rectangle height.
|
inline |
Top-left corner as vec2.
|
inline |
Top-left corner as vec2.
|
inline |
Top-right corner as vec2.
|
inline |
Rectangle width.
float Font_Rect::Bottom |
bottom position
float Font_Rect::Left |
left position
float Font_Rect::Right |
right position
float Font_Rect::Top |
top position