11 #ifndef GR_ViewportFont_h 
   12 #define GR_ViewportFont_h 
   62                      XPosition xpos, YPosition ypos,
 
   75         return label (r, static_cast<int64>(num), pos, col,
 
   76                       dst_points, dst_texcoord, dst_colors,
 
   77                       xpos, ypos, x_offset);
 
   87                      XPosition xpos, YPosition ypos,
 
   95                      XPosition xpos, YPosition ypos,
 
  106                       XPosition xpos, YPosition ypos,
 
  114         return 0.75 * (myWidth - myHeight) * myPixelSize;
 
  131         x_offset += dir * (myWidth * 0.66);
 
  140     fpreal myPad, myHeight, myWidth;
 
  143     fpreal myWidthTexture, myPadTexture;
 
  150 template <
typename T>
 
  164         for (
int i=0; i<vec.tuple_size; i++)
 
  166             int j = vec.tuple_size - 1 - i;
 
  171         for (
int i=0; i<vec.tuple_size; i++)
 
  175     for (
int j=0; 
j<vec.tuple_size; 
j++)
 
  177         digit_count += 
label(r, numbers[
j], pos, col,
 
  178                              dst_points, dst_texcoord, dst_colors,
 
  179                              xpos, ypos, x_offset);
 
  180         if (j != vec.tuple_size-1)
 
  181             space(x_offset, (xpos == 
LEFT) ? -1 : 1);
 
GLuint GLsizei const GLchar * label
 
UT_Vector2F getVertexOffsetDist()
The offset from the vertex when drawing vertex label decor. 
 
int 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 
 
int label(RE_Render *r, int32 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 
 
int 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 
 
GLfloat GLfloat GLfloat GLfloat h
 
GLubyte GLubyte GLubyte GLubyte w