A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/glfont_8hpp_source.html below:

NCBI C++ ToolKit: include/gui/opengl/glfont.hpp Source File

Go to the documentation of this file.

Go to the SVN repository for this file.

1 #ifndef GUI_OPENGL___GL_FONT__HPP 2 #define GUI_OPENGL___GL_FONT__HPP 151  int len

= -1)

const

= 0;

177  static

vector<float>

EncodeText

(GLfloat pos[4],

182  static

vector<float>

EncodeText

(GLfloat pos[4],

184  const string

&

text

);

186  static void DecodeText

(

const

vector<float>& textbuf,

class CRgbaColor provides a simple abstraction for managing colors.

EAlignMode

alignment modes

virtual TModelUnit TextWidth(const char *text) const =0

static vector< float > EncodeText(GLfloat pos[4], const CRgbaColor &color, const char *text, size_t length)

virtual void TextOut(const char *text) const =0

static void DecodeText(const vector< float > &textbuf, GLfloat *pos, GLfloat *color, string &text)

virtual bool IsBitmapFont() const

This is needed by pdf but really on for gltexture font subclass since those may be either texture or ...

virtual TModelUnit TextHeight(void) const =0

virtual void TextOut(TModelUnit x, TModelUnit y, const char *text) const =0

virtual TModelUnit GetMetric(EMetric metric, const char *text=NULL, int len=-1) const =0

virtual void TextOut(TModelUnit x, TModelUnit y, TModelUnit w, TModelUnit h, const char *text, TAlign align=eAlign_Center, ETruncate trunc=eTruncate_Ellipsis, TModelUnit scale_x=1.0, TModelUnit scale_y=1.0) const =0

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

static void text(MDB_val *v)

Portable reference counted smart and weak pointers using CWeakRef, CRef, CObject and CObjectEx.

Standard mechanism to include OpenGL headers for all platforms.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4