void select_font_face (const std::string &family, FontSlant slant, FontWeight weight)

void select_font_face (const std::string &family, FontSlant slant, FontWeight weight)

enum Cairo::FontSlant
Enumerator:
FONT_SLANT_NORMAL 
FONT_SLANT_ITALIC 
FONT_SLANT_OBLIQUE 


enum Cairo::FontWeight
Enumerator:
FONT_WEIGHT_NORMAL 
FONT_WEIGHT_BOLD 
0


also:
cr.select_font_face("Droid Sans Bold")  works! Strange!



你可能感兴趣的:(void select_font_face (const std::string &family, FontSlant slant, FontWeight weight))