OSSIM - Open Source Software Image Map  Version 1.9.0 (20180803)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
ossimFont Class Referenceabstract

#include <ossimFont.h>

Inheritance diagram for ossimFont:
ossimObject ossimErrorStatusInterface ossimReferenced ossimGdBitmapFont

Public Member Functions

 ossimFont ()
 
 ossimFont (const ossimString &familyName, const ossimString &styleName, int horizontalPixelSize, int verticalPixelSize, int horizontalDeviceUnits=72, int verticalDeviceUnits=72)
 
 ossimFont (const ossimFont &rhs)
 
virtual ossimObjectdup () const =0
 
virtual bool isFixed () const =0
 
virtual void getFixedSizes (vector< ossimIpt > &sizes) const =0
 
virtual const ossim_uint8getBuf () const =0
 
virtual const ossim_uint8rasterize ()=0
 
virtual const ossim_uint8rasterize (const ossimString &s)
 
virtual void setString (const ossimString &s)
 
virtual void getBoundingBox (ossimIrect &box)=0
 
virtual ossimString getFamilyName () const
 
virtual ossimString getStyleName () const
 
virtual void setRotation (double rotationInDegrees)
 
virtual double getRotation () const
 
virtual void getRotation (double &rotation) const
 
virtual void setHorizontalVerticalShear (double horizontalShear, double verticalShear)
 
virtual void setVerticalShear (double verticalShear)
 
virtual void setHorizontalShear (double horizontalShear)
 
virtual double getVerticalShear () const
 
virtual double getHorizontalShear () const
 
virtual void setScale (double horizontal, double vertical)
 
virtual void getScale (double &horizontal, double &vertical)
 
virtual void setPixelSize (int horizontalPixelSize, int verticalPixelSize)
 
virtual void setPixelSize (int pixelSize)
 
virtual void getPixelSize (int &horizontal, int &vertical)
 
virtual long getHorizontalPixelSize () const
 
virtual ossimIpt getPixelSize () const
 
virtual long getVerticalPixelSize () const
 
virtual void setDeviceDpi (int horizontalDeviceUnits, int verticalDeviceUnits)
 
virtual void getBufferRect (ossimIrect &bufRect)
 
virtual ossimIrect getBufferRect ()
 
virtual void getBoundingClipBox (ossimIrect &clippedBox)
 
virtual ossimIrect getBoundingClipBox ()
 
virtual void setClippingBox (const ossimIrect &clipBox=ossimIrect(0, 0, 0, 0))
 
virtual ossimIrect getClippingBox () const
 
bool isIdentityTransform () const
 
virtual void getFontInformation (vector< ossimFontInformation > &fontInformationList) const
 
- Public Member Functions inherited from ossimObject
 ossimObject ()
 
virtual ~ossimObject ()
 
virtual ossimString getShortName () const
 
virtual ossimString getLongName () const
 
virtual ossimString getDescription () const
 
virtual ossimString getClassName () const
 
virtual RTTItypeid getType () const
 
virtual bool canCastTo (ossimObject *obj) const
 
virtual bool canCastTo (const RTTItypeid &id) const
 
virtual bool canCastTo (const ossimString &parentClassName) const
 
virtual bool saveState (ossimKeywordlist &kwl, const char *prefix=0) const
 
virtual bool loadState (const ossimKeywordlist &kwl, const char *prefix=0)
 
virtual std::ostream & print (std::ostream &out) const
 Generic print method. More...
 
virtual bool isEqualTo (const ossimObject &obj, ossimCompareType compareType=OSSIM_COMPARE_FULL) const
 
virtual void accept (ossimVisitor &visitor)
 
- Public Member Functions inherited from ossimReferenced
 ossimReferenced ()
 
 ossimReferenced (const ossimReferenced &)
 
ossimReferencedoperator= (const ossimReferenced &)
 
void ref () const
 increment the reference count by one, indicating that this object has another pointer which is referencing it. More...
 
void unref () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
void unref_nodelete () const
 decrement the reference count by one, indicating that a pointer to this object is referencing it. More...
 
int referenceCount () const
 
- Public Member Functions inherited from ossimErrorStatusInterface
 ossimErrorStatusInterface ()
 
virtual ~ossimErrorStatusInterface ()
 
virtual ossimErrorCode getErrorStatus () const
 
virtual ossimString getErrorStatusString () const
 
virtual void setErrorStatus (ossimErrorCode error_status) const
 
virtual void setErrorStatus () const
 
virtual void clearErrorStatus () const
 
bool hasError () const
 
virtual std::ostream & print (std::ostream &out) const
 Outputs theErrorStatus as an ossimErrorCode and an ossimString. More...
 

Protected Member Functions

virtual ~ossimFont ()
 
void computeMatrix ()
 
- Protected Member Functions inherited from ossimReferenced
virtual ~ossimReferenced ()
 

Protected Attributes

ossimString theStringToRasterize
 
ossimString theFamilyName
 
ossimString theStyleName
 
double theRotation
 
double theHorizontalShear
 
double theVerticalShear
 
double theHorizontalScale
 
double theVerticalScale
 
int theHorizontalPixelSize
 
int theVerticalPixelSize
 
int theHorizontalDeviceUnits
 
int theVerticalDeviceUnits
 
ossimIrect theClippingBox
 
ossimIpt theLocalOrigin
 
NEWMAT::Matrix theAffineTransform
 
- Protected Attributes inherited from ossimErrorStatusInterface
ossimErrorCode theErrorStatus
 

Detailed Description

Definition at line 25 of file ossimFont.h.

Constructor & Destructor Documentation

◆ ossimFont() [1/3]

ossimFont::ossimFont ( )
inline

Definition at line 28 of file ossimFont.h.

References theAffineTransform.

30  theFamilyName(""),
31  theStyleName(""),
32  theRotation(0),
33  theHorizontalShear(0.0),
34  theVerticalShear(0.0),
35  theHorizontalScale(1.0),
36  theVerticalScale(1.0),
42  {
43  theAffineTransform << 1.0 << 0.0
44  << 0.0 << 1.0;
45  }
ossimString theStringToRasterize
Definition: ossimFont.h:292
double theHorizontalShear
Definition: ossimFont.h:296
double theRotation
Definition: ossimFont.h:295
ossimString theStyleName
Definition: ossimFont.h:294
NEWMAT::Matrix theAffineTransform
Definition: ossimFont.h:314
double theVerticalShear
Definition: ossimFont.h:297
int theHorizontalDeviceUnits
Definition: ossimFont.h:302
double theVerticalScale
Definition: ossimFont.h:299
ossimString theFamilyName
Definition: ossimFont.h:293
int theHorizontalPixelSize
Definition: ossimFont.h:300
int theVerticalDeviceUnits
Definition: ossimFont.h:303
int theVerticalPixelSize
Definition: ossimFont.h:301
double theHorizontalScale
Definition: ossimFont.h:298

◆ ossimFont() [2/3]

ossimFont::ossimFont ( const ossimString familyName,
const ossimString styleName,
int  horizontalPixelSize,
int  verticalPixelSize,
int  horizontalDeviceUnits = 72,
int  verticalDeviceUnits = 72 
)
inline

Definition at line 47 of file ossimFont.h.

References theAffineTransform.

54  theFamilyName(familyName),
55  theStyleName(styleName),
56  theRotation(0),
57  theHorizontalShear(0.0),
58  theVerticalShear(0.0),
59  theHorizontalScale(1.0),
60  theVerticalScale(1.0),
61  theHorizontalPixelSize(horizontalPixelSize),
62  theVerticalPixelSize(verticalPixelSize),
63  theHorizontalDeviceUnits(horizontalDeviceUnits),
64  theVerticalDeviceUnits(verticalDeviceUnits),
66  {
67  theAffineTransform << 1.0 << 0.0
68  << 0.0 << 1.0;
69  }
ossimString theStringToRasterize
Definition: ossimFont.h:292
double theHorizontalShear
Definition: ossimFont.h:296
double theRotation
Definition: ossimFont.h:295
ossimString theStyleName
Definition: ossimFont.h:294
NEWMAT::Matrix theAffineTransform
Definition: ossimFont.h:314
double theVerticalShear
Definition: ossimFont.h:297
int theHorizontalDeviceUnits
Definition: ossimFont.h:302
double theVerticalScale
Definition: ossimFont.h:299
ossimString theFamilyName
Definition: ossimFont.h:293
int theHorizontalPixelSize
Definition: ossimFont.h:300
int theVerticalDeviceUnits
Definition: ossimFont.h:303
int theVerticalPixelSize
Definition: ossimFont.h:301
double theHorizontalScale
Definition: ossimFont.h:298

◆ ossimFont() [3/3]

ossimFont::ossimFont ( const ossimFont rhs)
inline

Definition at line 71 of file ossimFont.h.

References theAffineTransform, theClippingBox, theFamilyName, theHorizontalDeviceUnits, theHorizontalPixelSize, theHorizontalScale, theHorizontalShear, theLocalOrigin, theRotation, theStringToRasterize, theStyleName, theVerticalDeviceUnits, theVerticalScale, and theVerticalShear.

72  {
88  }
ossimString theStringToRasterize
Definition: ossimFont.h:292
double theHorizontalShear
Definition: ossimFont.h:296
double theRotation
Definition: ossimFont.h:295
ossimString theStyleName
Definition: ossimFont.h:294
NEWMAT::Matrix theAffineTransform
Definition: ossimFont.h:314
double theVerticalShear
Definition: ossimFont.h:297
ossimIrect theClippingBox
Definition: ossimFont.h:304
int theHorizontalDeviceUnits
Definition: ossimFont.h:302
double theVerticalScale
Definition: ossimFont.h:299
ossimIpt theLocalOrigin
Definition: ossimFont.h:312
ossimString theFamilyName
Definition: ossimFont.h:293
int theHorizontalPixelSize
Definition: ossimFont.h:300
int theVerticalDeviceUnits
Definition: ossimFont.h:303
double theHorizontalScale
Definition: ossimFont.h:298

◆ ~ossimFont()

virtual ossimFont::~ossimFont ( )
inlineprotectedvirtual

Definition at line 290 of file ossimFont.h.

291  {}

Member Function Documentation

◆ computeMatrix()

void ossimFont::computeMatrix ( )
protected

Definition at line 35 of file ossimFont.cpp.

References M_PI.

Referenced by setHorizontalVerticalShear().

36 {
37  NEWMAT::Matrix r(2,2);
38  NEWMAT::Matrix s(2,2);
39 
40  double radRotation = theRotation*M_PI/180.0;
41 
42  r << cos(radRotation) << -sin(radRotation)
43  << sin(radRotation) << cos(radRotation);
44 
47 
48  theAffineTransform = s*r;
49 
50 }
double theHorizontalShear
Definition: ossimFont.h:296
double theRotation
Definition: ossimFont.h:295
NEWMAT::Matrix theAffineTransform
Definition: ossimFont.h:314
double theVerticalShear
Definition: ossimFont.h:297
double theVerticalScale
Definition: ossimFont.h:299
#define M_PI
double theHorizontalScale
Definition: ossimFont.h:298

◆ dup()

virtual ossimObject* ossimFont::dup ( ) const
pure virtual

◆ getBoundingBox()

virtual void ossimFont::getBoundingBox ( ossimIrect box)
pure virtual

◆ getBoundingClipBox() [1/2]

void ossimFont::getBoundingClipBox ( ossimIrect clippedBox)
virtual

Definition at line 52 of file ossimFont.cpp.

References ossimIrect::clipToRect().

53 {
54  getBoundingBox(clippedBox);
55 
56  if(!theClippingBox.hasNans()&&
58  {
59  clippedBox = clippedBox.clipToRect(theClippingBox);
60  }
61 }
ossim_uint32 height() const
Definition: ossimIrect.h:487
ossimIrect theClippingBox
Definition: ossimFont.h:304
virtual void getBoundingBox(ossimIrect &box)=0
ossim_uint32 width() const
Definition: ossimIrect.h:500
ossimIrect clipToRect(const ossimIrect &rect) const
Definition: ossimIrect.cpp:501
bool hasNans() const
Definition: ossimIrect.h:337

◆ getBoundingClipBox() [2/2]

ossimIrect ossimFont::getBoundingClipBox ( )
virtual

Definition at line 63 of file ossimFont.cpp.

Referenced by getBufferRect().

64 {
65  ossimIrect clipBox;
66  getBoundingClipBox(clipBox);
67 
68  return clipBox;
69 }
virtual ossimIrect getBoundingClipBox()
Definition: ossimFont.cpp:63

◆ getBuf()

virtual const ossim_uint8* ossimFont::getBuf ( ) const
pure virtual

Will return the previously rasterized buffer.

Implemented in ossimGdBitmapFont.

◆ getBufferRect() [1/2]

virtual void ossimFont::getBufferRect ( ossimIrect bufRect)
inlinevirtual

Will clip the clipping box with the bounding box of the string and this is the viewable information.

If the clipping box is set then this should be used to get the dimensions of the buffer.

Definition at line 252 of file ossimFont.h.

References getBoundingClipBox().

Referenced by ossimAnnotationFontObject::draw().

253  {
254  getBoundingClipBox(bufRect);
255  }
virtual ossimIrect getBoundingClipBox()
Definition: ossimFont.cpp:63

◆ getBufferRect() [2/2]

virtual ossimIrect ossimFont::getBufferRect ( )
inlinevirtual

Definition at line 257 of file ossimFont.h.

References getBoundingClipBox().

258  {
259  return getBoundingClipBox();
260  }
virtual ossimIrect getBoundingClipBox()
Definition: ossimFont.cpp:63

◆ getClippingBox()

virtual ossimIrect ossimFont::getClippingBox ( ) const
inlinevirtual

Definition at line 271 of file ossimFont.h.

References theClippingBox.

272  {
273  return theClippingBox;
274  }
ossimIrect theClippingBox
Definition: ossimFont.h:304

◆ getFamilyName()

virtual ossimString ossimFont::getFamilyName ( ) const
inlinevirtual

Specifies if its helvetica, times new roman ... etc.

Definition at line 133 of file ossimFont.h.

References theFamilyName.

Referenced by getFontInformation(), ossimAnnotationFontObject::print(), and ossimInfo::printFonts().

134  {
135  return theFamilyName;
136  }
ossimString theFamilyName
Definition: ossimFont.h:293

◆ getFixedSizes()

virtual void ossimFont::getFixedSizes ( vector< ossimIpt > &  sizes) const
pure virtual

You can get a list of fixed sizes supported by this font.

Implemented in ossimGdBitmapFont.

◆ getFontInformation()

virtual void ossimFont::getFontInformation ( vector< ossimFontInformation > &  fontInformationList) const
inlinevirtual

Definition at line 281 of file ossimFont.h.

References getFamilyName(), getPixelSize(), getStyleName(), and isFixed().

Referenced by ossimVpfAnnotationFeatureInfo::ossimVpfAnnotationFeatureInfo().

282  {
283  fontInformationList.push_back(ossimFontInformation(getFamilyName(),
284  getStyleName(),
285  getPixelSize(),
286  isFixed()));
287  }
virtual bool isFixed() const =0
virtual ossimString getFamilyName() const
Definition: ossimFont.h:133
virtual ossimString getStyleName() const
Definition: ossimFont.h:141
virtual ossimIpt getPixelSize() const
Definition: ossimFont.h:228

◆ getHorizontalPixelSize()

virtual long ossimFont::getHorizontalPixelSize ( ) const
inlinevirtual

Definition at line 224 of file ossimFont.h.

References theHorizontalPixelSize.

225  {
226  return theHorizontalPixelSize;
227  }
int theHorizontalPixelSize
Definition: ossimFont.h:300

◆ getHorizontalShear()

virtual double ossimFont::getHorizontalShear ( ) const
inlinevirtual

Definition at line 185 of file ossimFont.h.

References theHorizontalShear.

186  {
187  return theHorizontalShear;
188  }
double theHorizontalShear
Definition: ossimFont.h:296

◆ getPixelSize() [1/2]

virtual void ossimFont::getPixelSize ( int &  horizontal,
int &  vertical 
)
inlinevirtual

Definition at line 217 of file ossimFont.h.

References theHorizontalPixelSize, and theVerticalPixelSize.

219  {
220  horizontal = theHorizontalPixelSize;
221  vertical = theVerticalPixelSize;
222  }
int theHorizontalPixelSize
Definition: ossimFont.h:300
int theVerticalPixelSize
Definition: ossimFont.h:301

◆ getPixelSize() [2/2]

virtual ossimIpt ossimFont::getPixelSize ( ) const
inlinevirtual

Definition at line 228 of file ossimFont.h.

References theHorizontalPixelSize, and theVerticalPixelSize.

Referenced by getFontInformation().

229  {
232  }
int theHorizontalPixelSize
Definition: ossimFont.h:300
int theVerticalPixelSize
Definition: ossimFont.h:301

◆ getRotation() [1/2]

virtual double ossimFont::getRotation ( ) const
inlinevirtual

Definition at line 151 of file ossimFont.h.

References theRotation.

152  {
153  return theRotation;
154  }
double theRotation
Definition: ossimFont.h:295

◆ getRotation() [2/2]

virtual void ossimFont::getRotation ( double &  rotation) const
inlinevirtual

Definition at line 156 of file ossimFont.h.

References theRotation.

157  {
158  rotation = theRotation;
159  }
double theRotation
Definition: ossimFont.h:295

◆ getScale()

virtual void ossimFont::getScale ( double &  horizontal,
double &  vertical 
)
inlinevirtual

Definition at line 198 of file ossimFont.h.

References theHorizontalScale, and theVerticalScale.

200  {
201  horizontal = theHorizontalScale;
202  vertical = theVerticalScale;
203  }
double theVerticalScale
Definition: ossimFont.h:299
double theHorizontalScale
Definition: ossimFont.h:298

◆ getStyleName()

virtual ossimString ossimFont::getStyleName ( ) const
inlinevirtual

Specifies if its bold or italic .. etc

Definition at line 141 of file ossimFont.h.

References theStyleName.

Referenced by getFontInformation(), and ossimAnnotationFontObject::print().

142  {
143  return theStyleName;
144  }
ossimString theStyleName
Definition: ossimFont.h:294

◆ getVerticalPixelSize()

virtual long ossimFont::getVerticalPixelSize ( ) const
inlinevirtual

Definition at line 233 of file ossimFont.h.

References theVerticalPixelSize.

234  {
235  return theVerticalPixelSize;
236  }
int theVerticalPixelSize
Definition: ossimFont.h:301

◆ getVerticalShear()

virtual double ossimFont::getVerticalShear ( ) const
inlinevirtual

Definition at line 180 of file ossimFont.h.

References theVerticalShear.

181  {
182  return theVerticalShear;
183  }
double theVerticalShear
Definition: ossimFont.h:297

◆ isFixed()

virtual bool ossimFont::isFixed ( ) const
pure virtual

Returns true if this font is a fixed size font

Implemented in ossimGdBitmapFont.

Referenced by getFontInformation().

◆ isIdentityTransform()

bool ossimFont::isIdentityTransform ( ) const
inline

Definition at line 276 of file ossimFont.h.

References theAffineTransform.

277  {
278  return ( (theAffineTransform[0][0] == 1.0) && (theAffineTransform[1][0] == 0.0)&&
279  (theAffineTransform[0][1] == 0.0) && (theAffineTransform[1][1] == 1.0));
280  }
NEWMAT::Matrix theAffineTransform
Definition: ossimFont.h:314

◆ rasterize() [1/2]

virtual const ossim_uint8* ossimFont::rasterize ( )
pure virtual

Will return an internal buffer for rasterizing and will also set the width, and height arguments of the returned buffer.

Implemented in ossimGdBitmapFont.

Referenced by ossimAnnotationFontObject::draw(), and rasterize().

◆ rasterize() [2/2]

virtual const ossim_uint8* ossimFont::rasterize ( const ossimString s)
inlinevirtual

Definition at line 113 of file ossimFont.h.

References rasterize(), and setString().

114  {
115  setString(s);
116  return rasterize();
117  }
virtual const ossim_uint8 * rasterize()=0
virtual void setString(const ossimString &s)
Definition: ossimFont.h:119

◆ setClippingBox()

virtual void ossimFont::setClippingBox ( const ossimIrect clipBox = ossimIrect(0,0,0,0))
inlinevirtual

Definition at line 266 of file ossimFont.h.

References theClippingBox.

Referenced by ossimAnnotationFontObject::draw().

267  {
268  theClippingBox = clipBox;
269  }
ossimIrect theClippingBox
Definition: ossimFont.h:304

◆ setDeviceDpi()

virtual void ossimFont::setDeviceDpi ( int  horizontalDeviceUnits,
int  verticalDeviceUnits 
)
inlinevirtual

Definition at line 238 of file ossimFont.h.

References theHorizontalDeviceUnits, and theVerticalDeviceUnits.

240  {
241  theHorizontalDeviceUnits = horizontalDeviceUnits;
242  theVerticalDeviceUnits = verticalDeviceUnits;
243  }
int theHorizontalDeviceUnits
Definition: ossimFont.h:302
int theVerticalDeviceUnits
Definition: ossimFont.h:303

◆ setHorizontalShear()

virtual void ossimFont::setHorizontalShear ( double  horizontalShear)
inlinevirtual

Definition at line 174 of file ossimFont.h.

References setHorizontalVerticalShear(), and theVerticalShear.

175  {
176  setHorizontalVerticalShear(horizontalShear,
178  }
double theVerticalShear
Definition: ossimFont.h:297
virtual void setHorizontalVerticalShear(double horizontalShear, double verticalShear)
Definition: ossimFont.h:161

◆ setHorizontalVerticalShear()

virtual void ossimFont::setHorizontalVerticalShear ( double  horizontalShear,
double  verticalShear 
)
inlinevirtual

Definition at line 161 of file ossimFont.h.

References computeMatrix(), theHorizontalShear, and theVerticalShear.

Referenced by ossimAnnotationFontObject::setFontInfo(), setHorizontalShear(), and setVerticalShear().

163  {
164  theVerticalShear = verticalShear;
165  theHorizontalShear = horizontalShear;
166  computeMatrix();
167  }
double theHorizontalShear
Definition: ossimFont.h:296
double theVerticalShear
Definition: ossimFont.h:297
void computeMatrix()
Definition: ossimFont.cpp:35

◆ setPixelSize() [1/2]

virtual void ossimFont::setPixelSize ( int  horizontalPixelSize,
int  verticalPixelSize 
)
inlinevirtual

Definition at line 205 of file ossimFont.h.

References theHorizontalPixelSize, and theVerticalPixelSize.

Referenced by ossimFontFactoryRegistry::getDefaultFont(), ossimAnnotationFontObject::setFontInfo(), and setPixelSize().

207  {
208  theHorizontalPixelSize = horizontalPixelSize;
209  theVerticalPixelSize = verticalPixelSize;
210  }
int theHorizontalPixelSize
Definition: ossimFont.h:300
int theVerticalPixelSize
Definition: ossimFont.h:301

◆ setPixelSize() [2/2]

virtual void ossimFont::setPixelSize ( int  pixelSize)
inlinevirtual

Definition at line 212 of file ossimFont.h.

References setPixelSize().

213  {
214  setPixelSize(pixelSize, pixelSize);
215  }
virtual void setPixelSize(int horizontalPixelSize, int verticalPixelSize)
Definition: ossimFont.h:205

◆ setRotation()

void ossimFont::setRotation ( double  rotationInDegrees)
virtual

Allow us to rotate a font.

Definition at line 19 of file ossimFont.cpp.

Referenced by ossimAnnotationFontObject::setFontInfo().

20 {
21  theRotation = rotationInDegrees;
22 
23  computeMatrix();
24 }
double theRotation
Definition: ossimFont.h:295
void computeMatrix()
Definition: ossimFont.cpp:35

◆ setScale()

void ossimFont::setScale ( double  horizontal,
double  vertical 
)
virtual

Sets the scale of the font. I'll have code in place to perform reflections. This can be specified with a - scale along the direction you wish to reflect.

Definition at line 26 of file ossimFont.cpp.

Referenced by ossimAnnotationFontObject::setFontInfo().

28 {
29  theHorizontalScale = horizontal;
30  theVerticalScale = vertical;
31 
32  computeMatrix();
33 }
void computeMatrix()
Definition: ossimFont.cpp:35
double theVerticalScale
Definition: ossimFont.h:299
double theHorizontalScale
Definition: ossimFont.h:298

◆ setString()

virtual void ossimFont::setString ( const ossimString s)
inlinevirtual

Definition at line 119 of file ossimFont.h.

References theStringToRasterize.

Referenced by ossimMapCompositionSource::addMeterGridLabels(), rasterize(), and ossimAnnotationFontObject::setFontInfo().

120  {
122  }
ossimString theStringToRasterize
Definition: ossimFont.h:292

◆ setVerticalShear()

virtual void ossimFont::setVerticalShear ( double  verticalShear)
inlinevirtual

Definition at line 168 of file ossimFont.h.

References setHorizontalVerticalShear(), and theHorizontalShear.

169  {
171  verticalShear);
172  }
double theHorizontalShear
Definition: ossimFont.h:296
virtual void setHorizontalVerticalShear(double horizontalShear, double verticalShear)
Definition: ossimFont.h:161

Member Data Documentation

◆ theAffineTransform

NEWMAT::Matrix ossimFont::theAffineTransform
protected

Definition at line 314 of file ossimFont.h.

Referenced by ossimGdBitmapFont::getBoundingBox(), isIdentityTransform(), and ossimFont().

◆ theClippingBox

ossimIrect ossimFont::theClippingBox
protected

Definition at line 304 of file ossimFont.h.

Referenced by getClippingBox(), ossimFont(), and setClippingBox().

◆ theFamilyName

ossimString ossimFont::theFamilyName
protected

Definition at line 293 of file ossimFont.h.

Referenced by getFamilyName(), and ossimFont().

◆ theHorizontalDeviceUnits

int ossimFont::theHorizontalDeviceUnits
protected

Definition at line 302 of file ossimFont.h.

Referenced by ossimFont(), and setDeviceDpi().

◆ theHorizontalPixelSize

int ossimFont::theHorizontalPixelSize
protected

◆ theHorizontalScale

double ossimFont::theHorizontalScale
protected

Definition at line 298 of file ossimFont.h.

Referenced by ossimGdBitmapFont::getBoundingBox(), getScale(), and ossimFont().

◆ theHorizontalShear

double ossimFont::theHorizontalShear
protected

◆ theLocalOrigin

ossimIpt ossimFont::theLocalOrigin
mutableprotected

During the compution of the global bounding rect we will Make sure that we save off the upper left since its not really 0,0. We will make sure that the bounding rect is shifted to 0,0 but the shift will be saved. That way we can render the shape correctly later.

Definition at line 312 of file ossimFont.h.

Referenced by ossimFont().

◆ theRotation

double ossimFont::theRotation
protected

Definition at line 295 of file ossimFont.h.

Referenced by ossimGdBitmapFont::getBoundingBox(), getRotation(), and ossimFont().

◆ theStringToRasterize

ossimString ossimFont::theStringToRasterize
protected

◆ theStyleName

ossimString ossimFont::theStyleName
protected

Definition at line 294 of file ossimFont.h.

Referenced by getStyleName(), and ossimFont().

◆ theVerticalDeviceUnits

int ossimFont::theVerticalDeviceUnits
protected

Definition at line 303 of file ossimFont.h.

Referenced by ossimFont(), and setDeviceDpi().

◆ theVerticalPixelSize

int ossimFont::theVerticalPixelSize
protected

◆ theVerticalScale

double ossimFont::theVerticalScale
protected

Definition at line 299 of file ossimFont.h.

Referenced by ossimGdBitmapFont::getBoundingBox(), getScale(), and ossimFont().

◆ theVerticalShear

double ossimFont::theVerticalShear
protected

The documentation for this class was generated from the following files: