OpenCV  2.4.13.3
Open Source Computer Vision
cv::GlFont Class Reference

OpenGL Font. More...

#include <opengl_interop_deprecated.hpp>

Public Types

enum  Weight {
  WEIGHT_LIGHT = 300, WEIGHT_NORMAL = 400, WEIGHT_SEMIBOLD = 600, WEIGHT_BOLD = 700,
  WEIGHT_BLACK = 900
}
 
enum  Style { STYLE_NORMAL = 0, STYLE_ITALIC = 1, STYLE_UNDERLINE = 2 }
 

Public Member Functions

void draw (const char *str, int len) const
 
const std::string & family () const
 
int height () const
 
Weight weight () const
 
Style style () const
 

Static Public Member Functions

static Ptr< GlFontget (const std::string &family, int height=12, Weight weight=WEIGHT_NORMAL, Style style=STYLE_NORMAL)
 

Detailed Description

OpenGL Font.

Member Enumeration Documentation

§ Style

Enumerator
STYLE_NORMAL 
STYLE_ITALIC 
STYLE_UNDERLINE 

§ Weight

Enumerator
WEIGHT_LIGHT 
WEIGHT_NORMAL 
WEIGHT_SEMIBOLD 
WEIGHT_BOLD 
WEIGHT_BLACK 

Member Function Documentation

§ draw()

void cv::GlFont::draw ( const char *  str,
int  len 
) const

§ family()

const std::string& cv::GlFont::family ( ) const
inline

§ get()

static Ptr<GlFont> cv::GlFont::get ( const std::string &  family,
int  height = 12,
Weight  weight = WEIGHT_NORMAL,
Style  style = STYLE_NORMAL 
)
static

§ height()

int cv::GlFont::height ( ) const
inline

§ style()

Style cv::GlFont::style ( ) const
inline

§ weight()

Weight cv::GlFont::weight ( ) const
inline

The documentation for this class was generated from the following file: