Classes | Typedefs | Enumerations | Functions

GUIDOScoreMap.h File Reference

Go to the source code of this file.

Classes

struct  GuidoElementInfos
class  TimeSegment
 a time segment definition and operations More...
class  MapCollector
class  RectInfos
class  TimeMapCollector

Typedefs

typedef std::vector< std::pair
< TimeSegment, FloatRect > > 
Time2GraphicMap
typedef std::pair< FloatRect,
RectInfos
MapElement

Enumerations

enum  GuidoElementSelector {
  kGuidoPage, kGuidoSystem, kGuidoSystemSlice, kGuidoStaff,
  kGuidoBar, kGuidoEvent, kGuidoScoreElementEnd
}
enum  GuidoElementType {
  kNote = 1, kRest, kEmpty, kBar,
  kRepeatBegin, kRepeatEnd, kStaff, kSystemSlice,
  kSystem, kPage
}

Functions

std::ostream & operator<< (std::ostream &out, const GuidoDate &d)
std::ostream & operator<< (std::ostream &out, const TimeSegment &s)
GuidoErrCode GuidoGetMap (CGRHandler gr, int pagenum, float width, float height, GuidoElementSelector sel, MapCollector &f)
 Retrieves the graphic to time mapping.
GuidoErrCode GuidoGetPageMap (CGRHandler gr, int pagenum, float w, float h, Time2GraphicMap &outmap)
 Retrieves a guido page graphic to time mapping.
GuidoErrCode GuidoGetStaffMap (CGRHandler gr, int pagenum, float w, float h, int staff, Time2GraphicMap &outmap)
 Retrieves a guido staff graphic to time mapping.
GuidoErrCode GuidoGetVoiceMap (CGRHandler gr, int pagenum, float w, float h, int voice, Time2GraphicMap &outmap)
 Retrieves a guido voice graphic to time mapping.
GuidoErrCode GuidoGetSystemMap (CGRHandler gr, int pagenum, float w, float h, Time2GraphicMap &outmap)
 Retrieves a guido system graphic to time mapping.
bool GuidoGetTime (const GuidoDate &date, const Time2GraphicMap map, TimeSegment &t, FloatRect &r)
 Retrieves a time segment and the associated graphic segment in a mapping.
bool GuidoGetPoint (float x, float y, const Time2GraphicMap map, TimeSegment &t, FloatRect &r)
 Retrieves a time segment and the associated graphic segment in a mapping.
GuidoErrCode GuidoGetSVGMap (GRHandler gr, int pagenum, GuidoElementSelector sel, std::vector< MapElement > &outMap) __attribute__((deprecated))
 Retrieves the graphic to time mapping corresponding to the SVG output.
GuidoErrCode GuidoGetTimeMap (CARHandler gr, TimeMapCollector &f)
 Retrieves the rolled to unrolled time mapping.