Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Friends
SCRIBUS_API::ScFaceData Class Reference

see accessors for ScFace for docs More...

#include <scface.h>

List of all members.

Public Member Functions

 ScFaceData ()
virtual ~ScFaceData ()

Public Attributes

int refs
 controls destruction
int usage
 controls load()
QString scName
QString fontFile
int faceIndex
QString psName
QString family
QString style
QString variant
QString forDocument
ScFace::Status status
ScFace::FontType typeCode
ScFace::FontFormat formatCode
bool usable
bool embedPs
bool subset
bool isStroked
bool isFixedPitch
bool hasNames
uint maxGlyph

Protected Member Functions

virtual void load () const
virtual void unload () const
virtual void loadGlyph (uint) const
virtual double ascent (double sz) const
virtual QString ascentAsString () const
virtual QString descentAsString () const
virtual QString capHeightAsString () const
virtual QString FontBBoxAsString () const
virtual QString ItalicAngleAsString () const
virtual double descent (double) const
virtual double xHeight (double sz) const
virtual double capHeight (double sz) const
virtual double height (double sz) const
virtual double strikeoutPos (double sz) const
virtual double underlinePos (double) const
virtual double strokeWidth (double) const
virtual double maxAdvanceWidth (double sz) const
virtual uint char2CMap (QChar) const
virtual double glyphKerning (uint gl1, uint gl2, double sz) const
virtual QMap< QString, QString > fontDictionary (double sz=1.0) const
virtual GlyphMetrics glyphBBox (uint gl, double sz) const
virtual bool EmbedFont (QString &) const
virtual void RawData (QByteArray &) const
virtual bool glyphNames (QMap< uint, std::pair< QChar, QString > > &gList) const
virtual double glyphWidth (uint gl, double sz) const
virtual FPointArray glyphOutline (uint gl, double sz) const
virtual FPoint glyphOrigin (uint gl, double sz) const

Protected Attributes

Status cachedStatus
QMap< uint, double > m_glyphWidth
QMap< uint, GlyphDatam_glyphOutline
QMap< uint, uint > m_cMap

Friends

class ScFace

Detailed Description

see accessors for ScFace for docs

Definition at line 91 of file scface.h.


Constructor & Destructor Documentation

virtual SCRIBUS_API::ScFaceData::~ScFaceData ( ) [inline, virtual]

Definition at line 122 of file scface.h.

{ };

Member Function Documentation

virtual double SCRIBUS_API::ScFaceData::ascent ( double  sz) const [inline, protected, virtual]

Definition at line 156 of file scface.h.

{ return sz; }

Here is the caller graph for this function:

virtual QString SCRIBUS_API::ScFaceData::ascentAsString ( ) const [inline, protected, virtual]

Definition at line 157 of file scface.h.

{ return "0" ; }

Here is the caller graph for this function:

virtual double SCRIBUS_API::ScFaceData::capHeight ( double  sz) const [inline, protected, virtual]

Definition at line 164 of file scface.h.

{ return sz; }

Here is the caller graph for this function:

virtual QString SCRIBUS_API::ScFaceData::capHeightAsString ( ) const [inline, protected, virtual]

Definition at line 159 of file scface.h.

{ return "0"; }

Here is the caller graph for this function:

virtual uint SCRIBUS_API::ScFaceData::char2CMap ( QChar  ) const [inline, protected, virtual]

Definition at line 170 of file scface.h.

{ return 0; }
virtual double SCRIBUS_API::ScFaceData::descent ( double  ) const [inline, protected, virtual]

Definition at line 162 of file scface.h.

{ return 0.0; }

Here is the caller graph for this function:

virtual QString SCRIBUS_API::ScFaceData::descentAsString ( ) const [inline, protected, virtual]

Definition at line 158 of file scface.h.

{ return "0"; }

Here is the caller graph for this function:

virtual bool SCRIBUS_API::ScFaceData::EmbedFont ( QString &  ) const [inline, protected, virtual]

Definition at line 174 of file scface.h.

{ return false; }
virtual QString SCRIBUS_API::ScFaceData::FontBBoxAsString ( ) const [inline, protected, virtual]

Definition at line 160 of file scface.h.

{ return "0 0 0 0"; }

Here is the caller graph for this function:

virtual QMap<QString,QString> SCRIBUS_API::ScFaceData::fontDictionary ( double  sz = 1.0) const [protected, virtual]

Here is the caller graph for this function:

virtual GlyphMetrics SCRIBUS_API::ScFaceData::glyphBBox ( uint  gl,
double  sz 
) const [protected, virtual]

Here is the caller graph for this function:

virtual double SCRIBUS_API::ScFaceData::glyphKerning ( uint  gl1,
uint  gl2,
double  sz 
) const [protected, virtual]

Here is the caller graph for this function:

virtual bool SCRIBUS_API::ScFaceData::glyphNames ( QMap< uint, std::pair< QChar, QString > > &  gList) const [protected, virtual]
virtual FPoint SCRIBUS_API::ScFaceData::glyphOrigin ( uint  gl,
double  sz 
) const [protected, virtual]

Here is the caller graph for this function:

virtual FPointArray SCRIBUS_API::ScFaceData::glyphOutline ( uint  gl,
double  sz 
) const [protected, virtual]

Here is the caller graph for this function:

virtual double SCRIBUS_API::ScFaceData::glyphWidth ( uint  gl,
double  sz 
) const [protected, virtual]

Here is the caller graph for this function:

virtual double SCRIBUS_API::ScFaceData::height ( double  sz) const [inline, protected, virtual]

Definition at line 165 of file scface.h.

{ return sz; }

Here is the caller graph for this function:

virtual QString SCRIBUS_API::ScFaceData::ItalicAngleAsString ( ) const [inline, protected, virtual]

Definition at line 161 of file scface.h.

{ return "0"; }

Here is the caller graph for this function:

virtual void SCRIBUS_API::ScFaceData::load ( ) const [inline, protected, virtual]

Definition at line 135 of file scface.h.

              { 
                     m_glyphWidth.clear();
                     m_glyphOutline.clear();
                     m_cMap.clear();

                     status = QMAX(cachedStatus, ScFace::LOADED);
              }
virtual void SCRIBUS_API::ScFaceData::loadGlyph ( uint  ) const [inline, protected, virtual]

Definition at line 153 of file scface.h.

{}
virtual double SCRIBUS_API::ScFaceData::maxAdvanceWidth ( double  sz) const [inline, protected, virtual]

Definition at line 169 of file scface.h.

{ return sz; }

Here is the caller graph for this function:

virtual void SCRIBUS_API::ScFaceData::RawData ( QByteArray &  ) const [inline, protected, virtual]

Definition at line 175 of file scface.h.

{}
virtual double SCRIBUS_API::ScFaceData::strikeoutPos ( double  sz) const [inline, protected, virtual]

Definition at line 166 of file scface.h.

{ return sz / 2; }

Here is the caller graph for this function:

virtual double SCRIBUS_API::ScFaceData::strokeWidth ( double  ) const [inline, protected, virtual]

Definition at line 168 of file scface.h.

{ return 0.1; }

Here is the caller graph for this function:

virtual double SCRIBUS_API::ScFaceData::underlinePos ( double  ) const [inline, protected, virtual]

Definition at line 167 of file scface.h.

{ return -1.0; }

Here is the caller graph for this function:

virtual void SCRIBUS_API::ScFaceData::unload ( ) const [inline, protected, virtual]

Definition at line 144 of file scface.h.

              {
                     m_glyphWidth.clear();
                     m_glyphOutline.clear();
                     m_cMap.clear();

                     status = ScFace::UNKNOWN;
              }
virtual double SCRIBUS_API::ScFaceData::xHeight ( double  sz) const [inline, protected, virtual]

Definition at line 163 of file scface.h.

{ return sz; }

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class ScFace [friend]

Definition at line 122 of file scface.h.


Member Data Documentation

Definition at line 126 of file scface.h.

Definition at line 113 of file scface.h.

Definition at line 100 of file scface.h.

Definition at line 102 of file scface.h.

Definition at line 99 of file scface.h.

Definition at line 106 of file scface.h.

Definition at line 110 of file scface.h.

Definition at line 118 of file scface.h.

Definition at line 117 of file scface.h.

Definition at line 116 of file scface.h.

QMap<uint, uint> SCRIBUS_API::ScFaceData::m_cMap [mutable, protected]

Definition at line 131 of file scface.h.

QMap<uint,GlyphData> SCRIBUS_API::ScFaceData::m_glyphOutline [mutable, protected]

Definition at line 130 of file scface.h.

QMap<uint,double> SCRIBUS_API::ScFaceData::m_glyphWidth [mutable, protected]

Definition at line 129 of file scface.h.

Definition at line 119 of file scface.h.

Definition at line 101 of file scface.h.

controls destruction

Definition at line 94 of file scface.h.

Definition at line 98 of file scface.h.

ScFace::Status SCRIBUS_API::ScFaceData::status [mutable]

Definition at line 108 of file scface.h.

Definition at line 103 of file scface.h.

Definition at line 114 of file scface.h.

Definition at line 109 of file scface.h.

Definition at line 112 of file scface.h.

controls load()

Definition at line 96 of file scface.h.

Definition at line 104 of file scface.h.


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