|
Canorus
0.7
|
#include <drawablelyricscontext.h>

Public Member Functions | |
| CADrawableLyricsContext (CALyricsContext *c, double x, double y) | |
| ~CADrawableLyricsContext () | |
| CADrawableLyricsContext * | clone () |
| void | draw (QPainter *p, const CADrawSettings s) |
| CALyricsContext * | lyricsContext () |
Static Public Attributes | |
| static const double | DEFAULT_TEXT_VERTICAL_SPACING = 3 |
| CADrawableLyricsContext::CADrawableLyricsContext | ( | CALyricsContext * | c, |
| double | x, | ||
| double | y | ||
| ) |
Drawable instance of the lyrics context.
References CADrawableSyllable::DEFAULT_TEXT_SIZE, DEFAULT_TEXT_VERTICAL_SPACING, CADrawableContext::DrawableLyricsContext, CADrawableContext::setDrawableContextType(), CADrawable::setHeight(), and CADrawable::setWidth().
Referenced by clone().


| CADrawableLyricsContext * CADrawableLyricsContext::clone | ( | ) | [virtual] |
Implements CADrawableContext.
References CADrawableLyricsContext(), lyricsContext(), CADrawable::xPos(), and CADrawable::yPos().

| void CADrawableLyricsContext::draw | ( | QPainter * | p, |
| const CADrawSettings | s | ||
| ) | [virtual] |
Implements CADrawable.
References CADrawable::height(), CADrawSettings::w, CADrawSettings::y, and CADrawSettings::z.

| CALyricsContext* CADrawableLyricsContext::lyricsContext | ( | ) | [inline] |
References CADrawableContext::context().
Referenced by clone(), and CAScoreViewPort::createTextEdit().


const double CADrawableLyricsContext::DEFAULT_TEXT_VERTICAL_SPACING = 3 [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.
Vertical space between the top edge of the lyrics context and the top border of the lyrcs text.
Referenced by CADrawableLyricsContext(), and CAEngraver::reposit().
1.8.0