|
Canorus
0.7
|
Drawable instance of CAClef This class draws the clef to the canvas. More...
#include <drawableclef.h>

Static Public Attributes | |
| static const int | CLEF_EIGHT_SIZE = 8 |
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 |
Drawable instance of CAClef This class draws the clef to the canvas.
| CADrawableClef::CADrawableClef | ( | CAClef * | musElement, |
| CADrawableStaff * | drawableStaff, | ||
| double | x, | ||
| double | y | ||
| ) |
Default constructor.
| clef | Pointer to the logical CAClef. |
| x | X coordinate of the left-margin of the clef. |
| y | Y coordinate of the top of the staff. (WARNING! Not top of the clef!) |
References CAClef::C, clef(), CLEF_EIGHT_SIZE, CADrawableMusElement::DrawableClef, CAClef::F, CAClef::G, CADrawable::height(), CADrawableStaff::lineSpace(), CAClef::PercussionHigh, CAClef::PercussionLow, CADrawableMusElement::setDrawableMusElementType(), CADrawable::setHeight(), CADrawable::setWidth(), CADrawable::setYPos(), CAClef::Tablature, and CADrawable::yPos().
Referenced by clone().


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

|
virtual |
Implements CADrawableMusElement.
References CADrawableMusElement::_drawableContext, CADrawableClef(), clef(), and CADrawable::xPos().

|
virtual |
Implements CADrawable.
References CAClef::C, clef(), CLEF_EIGHT_SIZE, CADrawSettings::color, CAClef::F, CACanorus::fetaCodepoint(), CAClef::G, CADrawable::height(), CADrawable::width(), CADrawSettings::x, CADrawSettings::y, and CADrawSettings::z.

|
static |
Copyright (c) 2006-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 COPYING for details.
Referenced by CADrawableClef(), and draw().
1.8.3