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

Method textExtents

blocks/Cairo/src/Cairo.cpp:1805–1810  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1803}
1804
1805TextExtents Context::textExtents( const std::string &s )
1806{
1807 TextExtents result;
1808 cairo_text_extents( mCairo, s.c_str(), result.getCairoTextExtents() );
1809 return result;
1810}
1811
1812#if defined( CINDER_MSW )
1813cairo::SurfaceGdi createWindowSurface()

Callers 2

runMethod · 0.80
runMethod · 0.80

Calls 2

getCairoTextExtentsMethod · 0.80
c_strMethod · 0.45

Tested by 2

runMethod · 0.64
runMethod · 0.64