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

StemSupport Class Reference
[Musical Symbols]

#include <StemsMS.h>

List of all members.

Public Member Functions

 StemSupport ()
 StemSupport (double x, double y, QString type,int d=1)
QString toString ()
void setY1 (double)
double getY1 ()
void addY (double)

Public Attributes

int numberofbar
double uppery
double lowery
double x
double y
int direction
QString type


Detailed Description

A stem support give the point from where a stem should be originated


Constructor & Destructor Documentation

StemSupport::StemSupport  ) 
 

Defaut constructor for a stem support (Necessary for the value vector

StemSupport::StemSupport double  px,
double  py,
QString  type,
int  pdir = 1
 

Constructor

Parameters:
px the x support
py the y support
pdir the direction of the stem
type is the number of bar to be drawn since this point


Member Function Documentation

double StemSupport::getY1  ) 
 

Used in Pages this variable is the end of the stem (Done by calling finalize on the stem when all the supports are added.

void StemSupport::setY1 double   ) 
 

y1 is the end Y of the stem. It can be either up or down. This is computed by the finalize method.

QString StemSupport::toString  ) 
 

Returns:
The string representation of a support. Note : For debugging purpose only


Member Data Documentation

double StemSupport::lowery
 

uppery is the highest y note in the stem (For chords) lowery is the lowest y note in the stem (For chords)

double StemSupport::uppery
 

uppery is the highest y note in the stem (For chords) lowery is the lowest y note in the stem (For chords)

double StemSupport::x
 

y is the y of the main note in the stem

double StemSupport::y
 

y is the y of the main note in the stem


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