From Eric Wing, fix for compute of the bounding box when handling outline/backdrop text.

This commit is contained in:
Robert Osfield
2006-08-22 10:23:58 +00:00
parent 71c79506e9
commit 98cdf9b3c7
2 changed files with 97 additions and 34 deletions

View File

@@ -555,10 +555,14 @@ protected:
mutable osg::Vec3 _normal;
mutable osg::BoundingBox _textBB;
bool computeAverageGlypthWidthAndHeight(float& avg_width, float& avg_height) const;
void computePositions();
void computePositions(unsigned int contextID) const;
void computeBackdropPositions(unsigned int contextID) const;
void computeBackdropBoundingBox() const;
void computeColorGradients() const;
void computeColorGradientsOverall() const;
void computeColorGradientsPerCharacter() const;