|
Canorus
0.7
|
#include <drawablerest.h>

Private Attributes | |
| double | _restWidth |
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 |
Copyright (c) 2006-2009, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.
| CADrawableRest::CADrawableRest | ( | CARest * | rest, |
| CADrawableContext * | drawableContext, | ||
| double | x, | ||
| double | y | ||
| ) |
Copyright (c) 2006-2009, Matevž Jekovec, Canorus development team All Rights Reserved. See AUTHORS for a complete list of authors.
Licensed under the GNU GENERAL PUBLIC LICENSE. See COPYING for details.
References CADrawableMusElement::_drawableMusElementType, _restWidth, CADrawable::_width, CAPlayableLength::Breve, CAPlayableLength::dotted(), CADrawableContext::drawableContextType(), CADrawableMusElement::DrawableRest, CADrawableContext::DrawableStaff, CAPlayableLength::Eighth, CAPlayableLength::Half, CAPlayableLength::HundredTwentyEighth, CAPlayableLength::musicLength(), CAPlayable::playableLength(), CAPlayableLength::Quarter, CADrawable::setHeight(), CADrawable::setWidth(), CADrawable::setYPos(), CAPlayableLength::Sixteenth, CAPlayableLength::SixtyFourth, CAPlayableLength::ThirtySecond, CAPlayableLength::Whole, and CADrawable::width().
Referenced by clone().


| CADrawableRest::~CADrawableRest | ( | ) |
|
virtual |
Implements CADrawableMusElement.
References CADrawableMusElement::_drawableContext, CADrawableRest(), rest(), CADrawable::xPos(), and CADrawable::yPos().

|
virtual |
Implements CADrawable.
References CADrawableMusElement::_drawableContext, CADrawable::_height, _restWidth, CAPlayableLength::Breve, CADrawSettings::color, CAPlayableLength::dotted(), CAPlayableLength::Eighth, CACanorus::fetaCodepoint(), CAPlayableLength::Half, CADrawable::height(), CAPlayableLength::HundredTwentyEighth, CAPlayable::playableLength(), CAPlayableLength::Quarter, rest(), CAPlayableLength::Sixteenth, CAPlayableLength::SixtyFourth, CAPlayableLength::ThirtySecond, CAPlayableLength::Whole, CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.

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

|
private |
Referenced by CADrawableRest(), and draw().
1.8.3