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

BeamMS Class Reference
[Musical Symbols]

#include <BeamSlurMS.h>

Inheritance diagram for BeamMS:

MusicSymbol List of all members.

Public Member Functions

 BeamMS (double, double, int direction)
void setLeft (double x, double y)
void setRight (double x, double y)
void draw (Painter *p)
QCoordsRect getBoundingBox ()
CollidergetCollider ()

Detailed Description

This class is a representation of a beam.


Constructor & Destructor Documentation

BeamMS::BeamMS double  x,
double  y,
int  pdir
 

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 BeamMS::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 * BeamMS::getCollider  )  [virtual]
 

Returns:
0 This méthod should be always overrided but we did not make it pure virtual to give this ASAP.

Implements MusicSymbol.

void BeamMS::setLeft double  px,
double  py
 

Set the left support. The coordinate of the slur is the one of the left.

void BeamMS::setRight double  x,
double  y
 

Sets the right support


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