• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

GUIDOScoreMapAdapter.h

Go to the documentation of this file.
00001 #ifndef GUIDOSCOREMAPADAPTER_H
00002 #define GUIDOSCOREMAPADAPTER_H
00003 /*
00004   GUIDO Library
00005   Copyright (C) 2014    Grame
00006 
00007   This Source Code Form is subject to the terms of the Mozilla Public
00008   License, v. 2.0. If a copy of the MPL was not distributed with this
00009   file, You can obtain one at http://mozilla.org/MPL/2.0/.
00010 
00011   Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
00012   research@grame.fr
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

Generated on Mon Jan 5 2015 11:16:24 for GUIDOLib by doxygen 1.7.2 - © Grame Research Lab.