Skip to content
Permalink
Browse files

Merge branch 'master' of github.com:openframeworks/ofSite

  • Loading branch information...
Arturo Castro
Arturo Castro committed Jun 9, 2019
2 parents 1333f9e + 3faaf41 commit 702fc9af0ee54280b37ea145f2d3d7f48faff2b4
Showing with 4 additions and 1 deletion.
  1. +4 −1 documentation/graphics/ofTrueTypeFont.markdown
@@ -855,7 +855,10 @@ void testApp::update(){
void testApp::draw(){
// get the string as paths
vector < ofTTFCharacter > paths = font.getStringAsPoints("hello!");
bool vflip = true; // OF flips y coordinate in the default perspective,
// should be false if using a camera for example
bool filled = true; // or false for contours
vector < ofPath > paths = font.getStringAsPoints("hello!", vflip, filled);
ofPushMatrix();
ofTranslate(ofGetWidth()/2, ofGetHeight()/2);

0 comments on commit 702fc9a

Please sign in to comment.
You can’t perform that action at this time.