@@ -803,27 +803,27 @@ void ofxSvgText::customDraw() {
803803// } restoreTransformGL();
804804}
805805
806- // --------------------------------------------------------------
807- void ofxSvgText::draw (const std::string &astring, bool abCentered ) {
808- if ( textSpans.size () > 0 ) {
809- transformGL (); {
810- textSpans[0 ]->draw (astring, abCentered );
811- } restoreTransformGL ();
812- } else {
813- ofLogVerbose (" ofxSvgText" ) << __FUNCTION__ << " : no text spans to draw with." ;
814- }
815- }
816-
817- // --------------------------------------------------------------
818- void ofxSvgText::draw (const std::string& astring, const ofColor& acolor, bool abCentered ) {
819- if ( textSpans.size () > 0 ) {
820- transformGL (); {
821- textSpans[0 ]->draw (astring, acolor, abCentered );
822- } restoreTransformGL ();
823- } else {
824- ofLogVerbose (" ofxSvgText" ) << __FUNCTION__ << " : no text spans to draw with." ;
825- }
826- }
806+ // // --------------------------------------------------------------
807+ // void ofxSvgText::draw(const std::string &astring, bool abCentered ) {
808+ // if( textSpans.size() > 0 ) {
809+ // transformGL(); {
810+ // textSpans[0]->draw(astring, abCentered );
811+ // } restoreTransformGL();
812+ // } else {
813+ // ofLogVerbose("ofxSvgText") << __FUNCTION__ << " : no text spans to draw with.";
814+ // }
815+ // }
816+ //
817+ // // --------------------------------------------------------------
818+ // void ofxSvgText::draw(const std::string& astring, const ofColor& acolor, bool abCentered ) {
819+ // if( textSpans.size() > 0 ) {
820+ // transformGL(); {
821+ // textSpans[0]->draw(astring, acolor, abCentered );
822+ // } restoreTransformGL();
823+ // } else {
824+ // ofLogVerbose("ofxSvgText") << __FUNCTION__ << " : no text spans to draw with.";
825+ // }
826+ // }
827827
828828// --------------------------------------------------------------
829829void ofxSvgText::TextSpan::applyStyle (ofxSvgCssClass& aclass) {
0 commit comments