MCPcopy Create free account
hub / github.com/OGRECave/ogre-next / getSpaceWidth

Method getSpaceWidth

Components/Overlay/src/OgreTextAreaOverlayElement.cpp:420–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418 mGeomPositionsOutOfDate = true;
419 }
420 Real TextAreaOverlayElement::getSpaceWidth() const
421 {
422 if( mMetricsMode == GMM_PIXELS )
423 {
424 return mPixelSpaceWidth;
425 }
426 else
427 {
428 return mSpaceWidth;
429 }
430 }
431
432 //---------------------------------------------------------------------
433 TextAreaOverlayElement::~TextAreaOverlayElement() { OGRE_DELETE mRenderOp.vertexData; }

Callers 1

doGetMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected