|
Canorus
0.7
|
#include <drawablesyllable.h>

Static Public Attributes | |
| static const double | DEFAULT_TEXT_SIZE = 16 |
| static const double | DEFAULT_DASH_LENGTH = 5 |
Private Member Functions | |
| const QString | textToDrawableText (QString in) |
Additional Inherited Members | |
Public Types inherited from CADrawableMusElement | |
| enum | CADrawableMusElementType { DrawableNote, DrawableRest, DrawableClef, DrawableKeySignature, DrawableTimeSignature, DrawableBarline, DrawableAccidental, DrawableSlur, DrawableTuplet, DrawableSyllable, DrawableFunctionMark, DrawableFunctionMarkSupport, DrawableMark } |
Protected Member Functions inherited from CADrawableMusElement | |
| void | setDrawableMusElementType (CADrawableMusElementType t) |
Protected Attributes inherited from CADrawableMusElement | |
| CADrawableMusElementType | _drawableMusElementType |
| CADrawableContext * | _drawableContext |
| CAMusElement * | _musElement |
| bool | _selectable |
Static Protected Attributes inherited from CADrawable | |
| static const int | SCALE_HANDLES_SIZE = 2 |
| CADrawableSyllable::CADrawableSyllable | ( | CASyllable * | s, |
| CADrawableLyricsContext * | c, | ||
| double | x, | ||
| double | y | ||
| ) |
References DEFAULT_TEXT_SIZE, CADrawableMusElement::DrawableSyllable, CADrawableMusElement::setDrawableMusElementType(), CADrawable::setHeight(), CADrawable::setWidth(), CASyllable::text(), and textToDrawableText().
Referenced by clone().


| CADrawableSyllable::~CADrawableSyllable | ( | ) |
|
virtual |
Implements CADrawableMusElement.
References CADrawableSyllable(), CADrawableMusElement::drawableContext(), syllable(), CADrawable::xPos(), and CADrawable::yPos().

|
virtual |
Implements CADrawable.
References CADrawSettings::color, DEFAULT_DASH_LENGTH, DEFAULT_TEXT_SIZE, CADrawable::height(), syllable(), textToDrawableText(), CADrawable::width(), CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.

|
inline |
References CADrawableMusElement::musElement().
Referenced by clone(), and draw().


|
inlineprivate |
|
static |
Copyright (c) 2007, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See LICENSE.GPL for details.
Referenced by CADrawableLyricsContext::CADrawableLyricsContext(), CADrawableSyllable(), and draw().
1.8.3