cheshirekow  v0.1.0
common.h File Reference

Go to the source code of this file.

Namespaces

 fontconfig
 
 fontconfig::endian
 
 fontconfig::hint
 
 fontconfig::key
 
 fontconfig::lang
 
 fontconfig::lcd
 
 fontconfig::match
 
 fontconfig::op
 
 fontconfig::qual
 
 fontconfig::result
 
 fontconfig::rgba
 
 fontconfig::setname
 
 fontconfig::slant
 
 fontconfig::type
 
 fontconfig::weight
 
 fontconfig::width
 

Macros

#define FCMM_DONT_CONSTRUCT(TYPE)
 

Typedefs

typedef int fontconfig::Bool_t
 
typedef unsigned short fontconfig::Char16_t
 
typedef unsigned int fontconfig::Char32_t
 
typedef unsigned char fontconfig::Char8_t
 
typedef endian::Endian fontconfig::Endian_t
 
typedef key::Key fontconfig::Key_t
 
typedef lang::Result fontconfig::LangResult_t
 
typedef match::MatchKind fontconfig::MatchKind_t
 
typedef int fontconfig::Object_t
 
typedef op::Op fontconfig::Op_t
 
typedef qual::Qual fontconfig::Qual_t
 
typedef result::Result fontconfig::Result_t
 
typedef setname::SetName fontconfig::SetName_t
 
typedef type::Type fontconfig::Type_t
 

Enumerations

enum  fontconfig::endian::Endian { fontconfig::endian::Big, fontconfig::endian::Little }
 
enum  fontconfig::key::Key {
  fontconfig::key::FAMILY, fontconfig::key::STYLE, fontconfig::key::SLANT, fontconfig::key::WEIGHT,
  fontconfig::key::SIZE, fontconfig::key::ASPECT, fontconfig::key::PIXEL_SIZE, fontconfig::key::SPACING,
  fontconfig::key::FOUNDRY, fontconfig::key::ANTIALIAS, fontconfig::key::HINTING, fontconfig::key::HINT_STYLE,
  fontconfig::key::VERTICAL_LAYOUT, fontconfig::key::AUTOHINT, fontconfig::key::GLOBAL_ADVANCE, fontconfig::key::WIDTH,
  fontconfig::key::FILE, fontconfig::key::INDEX, fontconfig::key::FT_FACE, fontconfig::key::RASTERIZER,
  fontconfig::key::OUTLINE, fontconfig::key::SCALABLE, fontconfig::key::SCALE, fontconfig::key::DPI,
  fontconfig::key::RGBA, fontconfig::key::MINSPACE, fontconfig::key::SOURCE, fontconfig::key::CHARSET,
  fontconfig::key::LANG, fontconfig::key::FONTVERSION, fontconfig::key::FULLNAME, fontconfig::key::FAMILYLANG,
  fontconfig::key::STYLELANG, fontconfig::key::FULLNAMELANG, fontconfig::key::CAPABILITY, fontconfig::key::FONTFORMAT,
  fontconfig::key::EMBOLDEN, fontconfig::key::EMBEDDED_BITMAP, fontconfig::key::DECORATIVE, fontconfig::key::LCD_FILTER,
  fontconfig::key::NAMELANG
}
 
enum  fontconfig::match::MatchKind { fontconfig::match::Pattern, fontconfig::match::Font, fontconfig::match::Scan }
 
enum  fontconfig::op::Op {
  fontconfig::op::Integer, fontconfig::op::Double, fontconfig::op::String, fontconfig::op::Matrix,
  fontconfig::op::Range, fontconfig::op::Bool, fontconfig::op::CharSet, fontconfig::op::LangSet,
  fontconfig::op::Nil, fontconfig::op::Field, fontconfig::op::Const, fontconfig::op::Assign,
  fontconfig::op::AssignReplace, fontconfig::op::PrependFirst, fontconfig::op::Prepend, fontconfig::op::Append,
  fontconfig::op::AppendLast, fontconfig::op::Quest, fontconfig::op::Or, fontconfig::op::And,
  fontconfig::op::Equal, fontconfig::op::NotEqual, fontconfig::op::Contains, fontconfig::op::Listing,
  fontconfig::op::NotContains, fontconfig::op::Less, fontconfig::op::LessEqual, fontconfig::op::More,
  fontconfig::op::MoreEqual, fontconfig::op::Plus, fontconfig::op::Minus, fontconfig::op::Times,
  fontconfig::op::Divide, fontconfig::op::Not, fontconfig::op::Comma, fontconfig::op::Floor,
  fontconfig::op::Ceil, fontconfig::op::Round, fontconfig::op::Trunc, fontconfig::op::Invalid
}
 
enum  fontconfig::qual::Qual { fontconfig::qual::Any, fontconfig::qual::All, fontconfig::qual::First, fontconfig::qual::NotFirst }
 
enum  fontconfig::lang::Result { fontconfig::lang::Equal = 0, fontconfig::lang::DifferentCountry = 1, fontconfig::lang::DifferentTerritory = 1, fontconfig::lang::DifferentLang = 2 }
 
enum  fontconfig::result::Result {
  fontconfig::result::Match, fontconfig::result::NoMatch, fontconfig::result::TypeMismatch, fontconfig::result::NoId,
  fontconfig::result::OutOfMemory
}
 
enum  fontconfig::setname::SetName { fontconfig::setname::System = 0, fontconfig::setname::Application = 1 }
 
enum  fontconfig::type::Type {
  fontconfig::type::Void, fontconfig::type::Integer, fontconfig::type::Double, fontconfig::type::String,
  fontconfig::type::Bool, fontconfig::type::Matrix, fontconfig::type::CharSet, fontconfig::type::FTFace,
  fontconfig::type::LangSet
}
 

Variables

const char *const fontconfig::ANTIALIAS = "antialias"
 Bool (depends) More...
 
const char *const fontconfig::ASPECT = "aspect"
 Double. More...
 
const char *const fontconfig::AUTOHINT = "autohint"
 Bool (false) More...
 
const unsigned int fontconfig::rgba::BGR = 2
 
const unsigned int fontconfig::weight::BLACK = 210
 
const unsigned int fontconfig::weight::BOLD = 200
 
const unsigned int fontconfig::weight::BOOK = 75
 
const char *const fontconfig::CACHE_SUFFIX = ".cache-3"
 
const char *const fontconfig::CACHE_VERSION = "3"
 
const char *const fontconfig::CAPABILITY = "capability"
 String. More...
 
const char *const fontconfig::CHAR_HEIGHT = "charheight"
 Int. More...
 
const char *const fontconfig::CHAR_WIDTH = "charwidth"
 Int. More...
 
const char *const fontconfig::CHARSET = "charset"
 CharSet. More...
 
const unsigned int fontconfig::width::CONDENSED = 75
 
const char *const fontconfig::DECORATIVE = "decorative"
 Bool - true if style is a decorative variant. More...
 
const unsigned int fontconfig::lcd::DEFAULT = 1
 
const unsigned int fontconfig::weight::DEMIBOLD = 180
 
const char *const fontconfig::DIR_CACHE_FILE = "fonts.cache-3"
 
const char *const fontconfig::DPI = "dpi"
 double More...
 
const char *const fontconfig::EMBEDDED_BITMAP = "embeddedbitmap"
 Bool - true to enable embedded bitmaps. More...
 
const char *const fontconfig::EMBOLDEN = "embolden"
 Bool - true if emboldening needed. More...
 
const unsigned int fontconfig::width::EXPANDED = 125
 
const unsigned int fontconfig::weight::EXTRABLACK = 215
 
const unsigned int fontconfig::weight::EXTRABOLD = 205
 
const unsigned int fontconfig::width::EXTRACONDENSED = 63
 
const unsigned int fontconfig::width::EXTRAEXPANDED = 150
 
const unsigned int fontconfig::weight::EXTRALIGHT = 40
 
const char *const fontconfig::FAMILY = "family"
 property keys More...
 
const char *const fontconfig::FAMILYLANG = "familylang"
 String RFC 3066 langs. More...
 
const char *const fontconfig::FILE = "file"
 String. More...
 
const char *const fontconfig::FONTFORMAT = "fontformat"
 String. More...
 
const char *const fontconfig::FONTVERSION = "fontversion"
 Int from 'head' table. More...
 
const char *const fontconfig::FOUNDRY = "foundry"
 String. More...
 
const char *const fontconfig::FT_FACE = "ftface"
 FT_Face. More...
 
const unsigned int fontconfig::hint::FULL = 3
 
const char *const fontconfig::FULLNAME = "fullname"
 String. More...
 
const char *const fontconfig::FULLNAMELANG = "fullnamelang"
 String RFC 3066 langs. More...
 
const char *const fontconfig::GLOBAL_ADVANCE = "globaladvance"
 Bool (true) More...
 
const unsigned int fontconfig::weight::HEAVY = BLACK
 
const char *const fontconfig::HINT_STYLE = "hintstyle"
 Int. More...
 
const char *const fontconfig::HINTING = "hinting"
 Bool (true) More...
 
const char *const fontconfig::INDEX = "index"
 Int. More...
 
const unsigned int fontconfig::slant::ITALIC = 100
 
const char *const fontconfig::LANG = "lang"
 String RFC 3066 langs. More...
 
const char *const fontconfig::LCD_FILTER = "lcdfilter"
 Int. More...
 
const unsigned int fontconfig::lcd::LEGACY = 3
 
const unsigned int fontconfig::weight::LIGHT = 50
 
const unsigned int fontconfig::lcd::LIGHT = 2
 
const unsigned int fontconfig::MAJOR = 2
 
const char *const fontconfig::MATRIX = "matrix"
 FcMatrix. More...
 
const unsigned int fontconfig::weight::MEDIUM = 100
 
const unsigned int fontconfig::hint::MEDIUM = 2
 
const unsigned int fontconfig::MINOR = 10
 
const char *const fontconfig::MINSPACE = "minspace"
 Bool use minimum line spacing. More...
 
const char *const fontconfig::NAMELANG = "namelang"
 String RFC 3866 langs. More...
 
const unsigned int fontconfig::rgba::NONE = 5
 
const unsigned int fontconfig::hint::NONE = 0
 
const unsigned int fontconfig::lcd::NONE = 0
 
const unsigned int fontconfig::weight::NORMAL = REGULAR
 
const unsigned int fontconfig::width::NORMAL = 100
 
const unsigned int fontconfig::slant::OBLIQUE = 110
 
const char *const fontconfig::OUTLINE = "outline"
 Bool. More...
 
const char *const fontconfig::PIXEL_SIZE = "pixelsize"
 Double. More...
 
const char *const fontconfig::RASTERIZER = "rasterizer"
 String. More...
 
const unsigned int fontconfig::weight::REGULAR = 80
 
const unsigned int fontconfig::REVISION = 0
 
const unsigned int fontconfig::rgba::RGB = 1
 
const char *const fontconfig::RGBA = "rgba"
 Int. More...
 
const unsigned int fontconfig::slant::ROMAN = 0
 
const char *const fontconfig::SCALABLE = "scalable"
 Bool. More...
 
const char *const fontconfig::SCALE = "scale"
 double More...
 
const unsigned int fontconfig::weight::SEMIBOLD = DEMIBOLD
 
const unsigned int fontconfig::width::SEMICONDENSED = 87
 
const unsigned int fontconfig::width::SEMIEXPANDED = 113
 
const char *const fontconfig::SIZE = "size"
 Double. More...
 
const char *const fontconfig::SLANT = "slant"
 Int. More...
 
const unsigned int fontconfig::hint::SLIGHT = 1
 
const char *const fontconfig::SOURCE = "source"
 String (deprecated) More...
 
const char *const fontconfig::SPACING = "spacing"
 Int. More...
 
const char *const fontconfig::STYLE = "style"
 String. More...
 
const char *const fontconfig::STYLELANG = "stylelang"
 String RFC 3066 langs. More...
 
const unsigned int fontconfig::weight::THIN = 0
 
const unsigned int fontconfig::weight::ULTRABLACK = EXTRABLACK
 
const unsigned int fontconfig::weight::ULTRABOLD = EXTRABOLD
 
const unsigned int fontconfig::width::ULTRACONDENSED = 50
 
const unsigned int fontconfig::width::ULTRAEXPANDED = 200
 
const unsigned int fontconfig::weight::ULTRALIGHT = EXTRALIGHT
 
const unsigned int fontconfig::rgba::UNKNOWN = 0
 
const char *const fontconfig::USER_CACHE_FILE = ".fonts.cache-3"
 
const unsigned int fontconfig::rgba::VBGR = 4
 
const unsigned int fontconfig::VERSION = ((MAJOR * 10000) + (MINOR * 100) + (REVISION))
 
const char *const fontconfig::VERTICAL_LAYOUT = "verticallayout"
 Bool (false) More...
 
const unsigned int fontconfig::rgba::VRGB = 3
 
const char *const fontconfig::WEIGHT = "weight"
 Int. More...
 
const char *const fontconfig::WIDTH = "width"
 Int. More...
 

Macro Definition Documentation

#define FCMM_DONT_CONSTRUCT (   TYPE)
Value:
private: \
template <typename T> \
TYPE( const T& param ) \
{ \
struct TYPE##_is_an_opaque_type_use_create_method{} obj; \
int i = obj; \
} \
const Access< Mutex, Type > TYPE
provides access to the type field of a pthread_mutexattr_t

Definition at line 34 of file common.h.