Main Page | Modules | Class Hierarchy | Class List | File List | Class Members | Related Pages

SlurMS Class Reference
[Musical Symbols]

#include <BeamSlurMS.h>

Inheritance diagram for SlurMS:

MusicSymbol List of all members.

Public Member Functions

 SlurMS (double, double, int dir)
void setLeft (double x, double y)
void setRight (double x, double y)
void draw (Painter *p)
QCoordsRect getBoundingBox ()
CollidergetCollider ()
QString toString ()

Detailed Description

This class is a representation of a slur.


Constructor & Destructor Documentation

SlurMS::SlurMS double  x,
double  y,
int  dir
 

Default constructor. Warning the MusicSymbol is initialized with fake value. Catually the real X, Y is given by the left X point


Member Function Documentation

void SlurMS::draw Painter p  )  [virtual]
 

This method draw is defined but useless if we define it as pure virtual (As it should be)

Implements MusicSymbol.

Collider * SlurMS::getCollider  )  [virtual]
 

Returns:
the segment regression of a slur

Implements MusicSymbol.

void SlurMS::setLeft double  x,
double  y
 

Set the left support

void SlurMS::setRight double  x,
double  y
 

Sets the right support

QString SlurMS::toString  )  [virtual]
 

For many symbols this function should be overrided.

Returns:
a string reprentation of the MusicSymbol (For a debug purpose).

Reimplemented from MusicSymbol.


The documentation for this class was generated from the following files:
Generated on Tue Jun 1 21:13:36 2004 for Alternate Take by doxygen 1.3.6