MCPcopy Create free account
hub / github.com/cinder/Cinder / selectFontFace

Method selectFontFace

blocks/Cairo/src/Cairo.cpp:1717–1720  ·  view source on GitHub ↗

Text/font functions

Source from the content-addressed store, hash-verified

1715
1716// Text/font functions
1717void Context::selectFontFace( const std::string &family, int32_t slant, int32_t weight )
1718{
1719 cairo_select_font_face( mCairo, family.c_str(), static_cast<cairo_font_slant_t>( slant ), static_cast<cairo_font_weight_t>( weight ) );
1720}
1721
1722void Context::setFontSize( double size )
1723{

Callers 3

runMethod · 0.80
runMethod · 0.80
runMethod · 0.80

Calls 1

c_strMethod · 0.45

Tested by 3

runMethod · 0.64
runMethod · 0.64
runMethod · 0.64