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