HDK
|
#include <GR_ViewportFont.h>
Public Types | |
enum | YPosition { BOTTOM, TOP, ELEVATED } |
enum | XPosition { LEFT, RIGHT, CENTRE } |
Definition at line 23 of file GR_ViewportFont.h.
The line number and text direction
Enumerator | |
---|---|
LEFT | |
RIGHT | |
CENTRE |
Definition at line 41 of file GR_ViewportFont.h.
The line number and text direction
Enumerator | |
---|---|
BOTTOM | |
TOP | |
ELEVATED |
Definition at line 35 of file GR_ViewportFont.h.
|
inline |
Definition at line 27 of file GR_ViewportFont.h.
GR_ViewportFont::GR_ViewportFont | ( | RE_Render * | r, |
GR_DecorFontSize | size, | ||
GR_DecorFontType | charset | ||
) |
|
virtual |
|
inline |
The offset from the vertex when drawing vertex label decor.
Definition at line 112 of file GR_ViewportFont.h.
int GR_ViewportFont::label | ( | RE_Render * | r, |
fpreal64 | num, | ||
const UT_Vector3F & | pos, | ||
const UT_Vector3F & | col, | ||
fpreal32 *& | dst_points, | ||
fpreal32 *& | dst_texcoord, | ||
fpreal32 *& | dst_colors, | ||
XPosition | xpos, | ||
YPosition | ypos, | ||
fpreal & | x_offset | ||
) | const |
Functions for drawing certain types of data to the screen. eg. fpreal, int, string, and then vectors of these types pos is the screen position x_offset is an initial offset from pos (useful for rendering
|
inline |
Functions for drawing certain types of data to the screen. eg. fpreal, int, string, and then vectors of these types pos is the screen position x_offset is an initial offset from pos (useful for rendering
Definition at line 65 of file GR_ViewportFont.h.
int GR_ViewportFont::label | ( | RE_Render * | r, |
int64 | num, | ||
const UT_Vector3F & | pos, | ||
const UT_Vector3F & | col, | ||
fpreal32 *& | dst_points, | ||
fpreal32 *& | dst_texcoord, | ||
fpreal32 *& | dst_colors, | ||
XPosition | xpos, | ||
YPosition | ypos, | ||
fpreal & | x_offset | ||
) | const |
Functions for drawing certain types of data to the screen. eg. fpreal, int, string, and then vectors of these types pos is the screen position x_offset is an initial offset from pos (useful for rendering
int GR_ViewportFont::label | ( | RE_Render * | r, |
const UT_String & | str, | ||
const UT_Vector3F & | pos, | ||
const UT_Vector3F & | col, | ||
fpreal32 *& | dst_points, | ||
fpreal32 *& | dst_texcoord, | ||
fpreal32 *& | dst_colors, | ||
XPosition | xpos, | ||
YPosition | ypos, | ||
fpreal & | x_offset | ||
) | const |
Functions for drawing certain types of data to the screen. eg. fpreal, int, string, and then vectors of these types pos is the screen position x_offset is an initial offset from pos (useful for rendering
int GR_ViewportFont::vectorLabel | ( | RE_Render * | r, |
T | vec, | ||
const UT_Vector3F & | pos, | ||
const UT_Vector3F & | col, | ||
fpreal32 *& | dst_points, | ||
fpreal32 *& | dst_texcoord, | ||
fpreal32 *& | dst_colors, | ||
XPosition | xpos, | ||
YPosition | ypos, | ||
fpreal & | x_offset | ||
) | const |
Functions for drawing certain types of data to the screen. eg. fpreal, int, string, and then vectors of these types pos is the screen position x_offset is an initial offset from pos (useful for rendering
Definition at line 152 of file GR_ViewportFont.h.