Go to the documentation of this file.00001 #ifndef GUIDOSCOREMAPADAPTER_H
00002 #define GUIDOSCOREMAPADAPTER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #include "GUIDOScoreMap.h"
00017
00018
00027 class_export GuidoScoreMapAdapter
00028 {
00029 public:
00030 GuidoScoreMapAdapter();
00031
00032 virtual ~GuidoScoreMapAdapter();
00033
00044 GuidoErrCode getMap(CGRHandler gr, int pagenum, float width, float height, GuidoElementSelector sel, MapCollector& f);
00045
00054 Time2GraphicMap getPageMap( CGRHandler gr, int pagenum, float w, float h);
00055
00065 Time2GraphicMap getStaffMap( CGRHandler gr, int pagenum, float w, float h, int staff);
00066
00076 Time2GraphicMap getVoiceMap(CGRHandler gr, int pagenum, float w, float h, int voice);
00077
00086 Time2GraphicMap getSystemMap(CGRHandler gr, int pagenum, float w, float h);
00087
00096 bool getTime(const GuidoDate& date, const Time2GraphicMap map, TimeSegment& t, FloatRect& r);
00097
00107 bool getPoint(float x, float y, const Time2GraphicMap map, TimeSegment& t, FloatRect& r);
00108
00116 GuidoErrCode getTimeMap(CARHandler gr, TimeMapCollector& f);
00117 };
00119 #endif // GUIDOSCOREMAPADAPTER_H