Public Types | Public Member Functions | Static Public Member Functions | List of all members
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::stringfamily () 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

Enumerator
WEIGHT_LIGHT 
WEIGHT_NORMAL 
WEIGHT_SEMIBOLD 
WEIGHT_BOLD 
WEIGHT_BLACK 
Enumerator
STYLE_NORMAL 
STYLE_ITALIC 
STYLE_UNDERLINE 

Member Function Documentation

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

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