Référence de la classe CMArtwork

#include <cmstyle.h>

Graphe d'héritage de CMArtwork:

[légende]
Graphe de collaboration de CMArtwork:
[légende]
Liste de tous les membres

Fonctions membres publiques

 CMArtwork (SymbolType t)
virtual void calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle, luPt parentSize)
virtual void calcSizes (const ContextStyle &style, ContextStyle::TextStyle tstyle)
virtual void draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &style, ContextStyle::TextStyle tstyle, luPt parentSize, const LuPixelPoint &origin)
virtual void draw (QPainter &painter, const LuPixelRect &r, const ContextStyle &style, ContextStyle::TextStyle tstyle, const LuPixelPoint &parentOrigin)
virtual bool isNormalChar () const
virtual double slant () const

Fonctions membres privées

bool calcCMDelimiterSize (const ContextStyle &context, uchar c, luPt fontSize, luPt parentSize)
void calcLargest (const ContextStyle &context, uchar c, luPt fontSize)
void drawCMDelimiter (QPainter &painter, const ContextStyle &style, luPixel x, luPixel y, luPt height)

Attributs privés

short cmChar

Description détaillée

Définition à la ligne 67 du fichier cmstyle.h.


Documentation des contructeurs et destructeur

CMArtwork::CMArtwork ( SymbolType  t  ) 

Définition à la ligne 248 du fichier cmstyle.cc.


Documentation des fonctions membres

void CMArtwork::calcSizes ( const ContextStyle style,
ContextStyle::TextStyle  tstyle,
luPt  parentSize 
) [virtual]

Réimplémentée à partir de Artwork.

Définition à la ligne 254 du fichier cmstyle.cc.

Références BackSlashBracket, Artwork::calcCharSize(), calcCMDelimiterSize(), Artwork::calcCurlyBracket(), calcLargest(), Artwork::calcRoundBracket(), cmChar, cmex_BackSlashBracket, cmex_Int, cmex_LeftCornerBracket, cmex_LeftCurlyBracket, cmex_LeftRoundBracket, cmex_LeftSquareBracket, cmex_Prod, cmex_RightCornerBracket, cmex_RightCurlyBracket, cmex_RightRoundBracket, cmex_RightSquareBracket, cmex_SlashBracket, cmex_Sum, EmptyBracket, ContextStyle::getAdjustedSize(), Artwork::getType(), Artwork::getWidth(), Integral, LeftCornerBracket, leftCurlyBracket, LeftCurlyBracket, leftLineBracket, LeftLineBracket, leftRoundBracket, LeftRoundBracket, leftSquareBracket, LeftSquareBracket, Product, RightCornerBracket, rightCurlyBracket, RightCurlyBracket, rightLineBracket, RightLineBracket, rightRoundBracket, RightRoundBracket, rightSquareBracket, RightSquareBracket, Artwork::setBaseline(), Artwork::setHeight(), Artwork::setWidth(), SlashBracket, et Sum.

Voici le graphe d'appel pour cette fonction :

void CMArtwork::calcSizes ( const ContextStyle style,
ContextStyle::TextStyle  tstyle 
) [virtual]

Définition à la ligne 358 du fichier cmstyle.cc.

Références Artwork::calcCharSize(), Artwork::calcSizes(), ContextStyle::getAdjustedSize(), Artwork::getType(), LeftLineBracket, et RightLineBracket.

Voici le graphe d'appel pour cette fonction :

void CMArtwork::draw ( QPainter &  painter,
const LuPixelRect r,
const ContextStyle style,
ContextStyle::TextStyle  tstyle,
luPt  parentSize,
const LuPixelPoint origin 
) [virtual]

Définition à la ligne 401 du fichier cmstyle.cc.

Références BackSlashBracket, cmChar, cmex_Int, cmex_Prod, cmex_Sum, Artwork::drawBigCurlyBracket(), Artwork::drawBigRoundBracket(), Artwork::drawCharacter(), drawCMDelimiter(), EmptyBracket, ContextStyle::getAdjustedSize(), ContextStyle::getDefaultColor(), Artwork::getType(), Artwork::getWidth(), Artwork::getX(), Artwork::getY(), Integral, leftAngleBracketChar, LeftCornerBracket, leftCurlyBracket, LeftCurlyBracket, leftLineBracket, LeftLineBracket, leftRoundBracket, LeftRoundBracket, leftSquareBracket, LeftSquareBracket, Product, rightAngleBracketChar, RightCornerBracket, rightCurlyBracket, RightCurlyBracket, rightLineBracket, RightLineBracket, rightRoundBracket, RightRoundBracket, rightSquareBracket, RightSquareBracket, SlashBracket, et Sum.

Voici le graphe d'appel pour cette fonction :

void CMArtwork::draw ( QPainter &  painter,
const LuPixelRect r,
const ContextStyle style,
ContextStyle::TextStyle  tstyle,
const LuPixelPoint parentOrigin 
) [virtual]

Définition à la ligne 374 du fichier cmstyle.cc.

Références Artwork::draw(), Artwork::drawCharacter(), ContextStyle::getAdjustedSize(), ContextStyle::getDefaultColor(), Artwork::getType(), Artwork::getX(), Artwork::getY(), LeftLineBracket, et RightLineBracket.

Voici le graphe d'appel pour cette fonction :

bool CMArtwork::isNormalChar (  )  const [virtual]

Réimplémentée à partir de Artwork.

Définition à la ligne 521 du fichier cmstyle.cc.

Références cmChar, et Artwork::isNormalChar().

Voici le graphe d'appel pour cette fonction :

double CMArtwork::slant (  )  const [virtual]

Réimplémentée à partir de Artwork.

Définition à la ligne 526 du fichier cmstyle.cc.

Références Artwork::getType(), et Integral.

Voici le graphe d'appel pour cette fonction :

bool CMArtwork::calcCMDelimiterSize ( const ContextStyle context,
uchar  c,
luPt  fontSize,
luPt  parentSize 
) [private]

Réimplémentée à partir de Artwork.

Définition à la ligne 534 du fichier cmstyle.cc.

Références Artwork::baseline, cmChar, cmex_nextchar(), gensymbolfontmap::f, KoPageFormat::height(), ContextStyle::layoutUnitPtToPt(), ContextStyle::ptToLayoutUnitPt(), Artwork::setBaseline(), Artwork::setHeight(), Artwork::setWidth(), et KoPageFormat::width().

Référencé par calcSizes().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void CMArtwork::calcLargest ( const ContextStyle context,
uchar  c,
luPt  fontSize 
) [private]

Réimplémentée à partir de Artwork.

Définition à la ligne 567 du fichier cmstyle.cc.

Références Artwork::baseline, cmChar, cmex_nextchar(), gensymbolfontmap::f, KoPageFormat::height(), ContextStyle::layoutUnitPtToPt(), ContextStyle::ptToLayoutUnitPt(), Artwork::setBaseline(), Artwork::setHeight(), Artwork::setWidth(), et KoPageFormat::width().

Référencé par calcSizes().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void CMArtwork::drawCMDelimiter ( QPainter &  painter,
const ContextStyle style,
luPixel  x,
luPixel  y,
luPt  height 
) [private]

Réimplémentée à partir de Artwork.

Définition à la ligne 595 du fichier cmstyle.cc.

Références cmChar, gensymbolfontmap::f, Artwork::getBaseline(), ContextStyle::layoutUnitToFontSize(), ContextStyle::layoutUnitToPixelX(), et ContextStyle::layoutUnitToPixelY().

Référencé par draw().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :


Documentation des données membres

short CMArtwork::cmChar [private]

Réimplémentée à partir de Artwork.

Définition à la ligne 98 du fichier cmstyle.h.

Référencé par calcCMDelimiterSize(), calcLargest(), calcSizes(), draw(), drawCMDelimiter(), et isNormalChar().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:43:20 2006 pour KPlato par  doxygen 1.5.1-p1