75 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
79 const DtUnicode&
string,
unsigned int pos = 0,
int len = -1);
83 unsigned int pos = 0,
int len = -1);
97 bool characterCodeIsIndex =
false);
Contains the makVrv::DtBoundingBox class declaration.
Contains makVrv::DtFontInterface class declaration.
Definition DtBoundingBox.h:20
Definition DtBoundingBox.h:102
void setFreeTypeLoadFlags(unsigned int flags)
Set the FreeType load flags.
virtual DtBoundingBox calculateBoundingBox(const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)
Calculate the bounding box for a string.
unsigned int characterMapCount() const
Get the number of charater maps.
const DtFreeTypeFace & freeTypeFace() const
float globalAscender() const
bool setFaceSize(const unsigned int size)
friend class DtGLFontManager
Definition DtFont.h:114
bool checkError() const
Asks the private implementation to see if there is an error with the font.
FontPrivate * myImpl
Internal FTGL FTFont implementation object. For private use only.
Definition DtFont.h:122
bool isValid() const
Returns true if this font is valid (has a character map).
bool setCharacterMap(unsigned int encoding)
Set the FreeType characte encoding map.
unsigned int indexInFont(const unsigned int characterCode) const
virtual Dt2dPoint calculateGlyphSize(const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)
Calculate the bounding box for a string.
const std::string & fontName() const
Get the name.
float calculateAdvance(const DtPen &pen, const DtUnicode &string, unsigned int pos=0, int len=-1)
float globalDescender() const
DtGlyph * findOrLoadGlyph(const unsigned int chr)
Load the glyph, or return null if the glyph is not loaded.
Dt2dPoint calculateKerning(unsigned int index1, unsigned int index2)
unsigned int faceSize() const
DtFont(DtGLFontManager &fm, const std::string &fontFilePath)
CTOR create and load a font.
const unsigned int * characterMaps()
Get the list of character maps.
virtual float lineHeight() const
DtGlyph * findOrLoadGlyphForRendering(DtGlyphRenderer &renderer, const unsigned int characterCode, bool characterCodeIsIndex=false)
bool attachFile(const char *fontFilePath)
Attach auxilliary file to font e.g font metrics.
DtFontInterface()=default
CTOR.
Definition DtFreeTypeFace.h:24
Definition DtGLFontManager.h:27
Definition DtGlyphRenderer.h:22
Definition DtBoundingBox.h:81
Definition DtUnicode.h:34
#define DT_DLL_VRVGRAPHICS
Contains DLL export macros.
Definition vrvGraphics.h:19
Contains DtCreateSensorFieldOfViewCommand and DtCreateSensorFieldOfViewCommandCreator class declarati...
Definition DtGridLinesSettingsRecord.h:16