GUIDOLib
1.7.7
A Music Score Rendering Engine
|
Go to the documentation of this file. 26 #define GUIDOAPI_deprecated 28 #define GUIDOAPI_deprecated __attribute__((deprecated)) 93 #define kMaxGuidoMeterCounts 15 392 __declspec(deprecated(
"Deprecated function : use ARHandler GuidoFile2AR (GuidoParser *parser, const char * file) instead."))
405 __declspec(deprecated(
"Deprecated function : use ARHandler GuidoString2AR (GuidoParser *parser, const char * str) instead."))
495 __declspec(deprecated(
"Deprecated function : use GUIDOAPI GuidoErrCode GuidoParserGetErrorCode (GuidoParser* p, int& line, int& col) instead."))
700 __declspec(deprecated(
"Deprecated function : use GUIDOAPI GuidoErrCode GuidoGR2SVG( const GRHandler handle, int page, std::ostream& out, bool embedFont, const char* font, const int mappingMode = 0 ) instead."))
716 __declspec(deprecated(
"Deprecated function : use GUIDOAPI GuidoErrCode GuidoGR2SVG( const GRHandler handle, int page, std::ostream& out, bool embedFont, const char* font, const int mappingMode = 0 ) instead."))
895 unsigned char red,
unsigned char green,
unsigned char blue );
const char * GuidoGetVersionStr()
Gives the library version number as a string.
float systemsDistribLimit
Definition: GUIDOEngine.h:271
int GuidoGetParseErrorLine() GUIDOAPI_deprecated
GuidoLayoutSettings layoutSettings
Definition: GUIDOEngine.h:334
int bottom
Definition: GUIDOEngine.h:73
GuidoErrCode GuidoFreeMeters(GuidoMeters meters)
Releases a meters array..
Definition: GUIDOEngine.h:250
error while parsing the Guido format
Definition: GUIDOEngine.h:216
Definition: GUIDOEngine.h:186
A data structure containing all information required by GuidoInit()
Definition: GUIDOEngine.h:49
int voice
the voice number
Definition: GUIDOEngine.h:132
GuidoErrCode GuidoDuration(CGRHandler inHandleGR, GuidoDate *date)
Returns the music duration of a score.
int num
the date numerator
Definition: GUIDOEngine.h:86
int GuidoGetPageCount(CGRHandler inHandleGR)
Gives the number of score pages of the graphic representation.
GuidoErrCode GuidoShowElement(GRHandler gr, GRElement elt, bool status)
invalid handler used
Definition: GUIDOEngine.h:230
int scrolly
Definition: GUIDOEngine.h:169
GuidoInternalDevice
Definition: GUIDOEngine.h:195
Contains all graphic-related information required by GuidoOnDraw()
Definition: GUIDOEngine.h:152
Representation of tempo information at a given date.
Definition: GUIDOEngine.h:129
const char * GuidoGetErrorString(GuidoErrCode errCode)
GuidoErrCode GuidoGetMetersAt(CARHandler inHandleAR, int voicenum, const GuidoDate &date, GuidoMeters &meters)
Gives the current meters on a given date and voice.
GRHandler GuidoAR2GRParameterized(ARHandler ar, const GuidoGrParameters *gp)
GuidoAR2GRParameterized. Transforms a Guido abstract representation into a Guido graphic representati...
GuidoDate duration(CGRHandler inHandleGR)
Returns the music duration of a score.
A meter representation.
Definition: GUIDOEngine.h:107
GuidoErrCode GuidoSetSymbolPath(ARHandler inHandleAR, const std::vector< std::string > &inPaths)
Makes the correspondance between an ARMusic and a path.
error while reading or writing a file
Definition: GUIDOEngine.h:220
GuidoErrCode GuidoInitWithIndependentSVG()
Definition: GUIDOEngine.h:244
bad parameter used as argument
Definition: GUIDOEngine.h:228
void * reserved
Definition: GUIDOEngine.h:54
int left
Definition: GUIDOEngine.h:70
GuidoErrCode GuidoFreeTempoList(GuidoTempoList tempi)
Releases a tempo array..
void GuidoGetVersionNums(int *major, int *minor, int *sub)
Gives the library version number as three integers.
Definition: GUIDOEngine.h:249
memory allocation error
Definition: GUIDOEngine.h:218
Definition: GUIDOEngine.h:187
#define kMaxGuidoMeterCounts
Definition: GUIDOEngine.h:93
Definition: GUIDOEngine.h:197
Definition: GUIDOEngine.h:189
int neighborhoodSpacing
Definition: GUIDOEngine.h:286
int GuidoGetTempoList(CARHandler inHandleAR, GuidoTempoList &tempi)
Gives the tempo list.
GuidoErrCode GuidoGetMeterAt(CARHandler inHandleAR, int voicenum, const GuidoDate &date, GuidoMeter &meter)
Gives the current meter on a given date and voice.
float height
Definition: GUIDOEngine.h:319
VGDevice * graphicDevice
a graphic device pointer, if null a default device is used
Definition: GUIDOEngine.h:52
The page format parameters.
Definition: GUIDOEngine.h:316
GuidoErrCode GuidoParseString(const char *str, ARHandler *ar) GUIDOAPI_deprecated
Definition: GUIDOEngine.h:120
long GuidoGetAR2GRTime(const GRHandler gr)
Gets AR to GR procedure time.
const struct NodeGR * CGRHandler
Definition: GUIDOEngine.h:39
Definition: GUIDOEngine.h:250
Definition: GUIDOEngine.h:249
GuidoErrCode GuidoUpdateGRParameterized(GRHandler gr, const GuidoGrParameters *settings)
int systemsDistribution
Definition: GUIDOEngine.h:265
int isprint
Definition: GUIDOEngine.h:180
bool checkLyricsCollisions
Definition: GUIDOEngine.h:306
GuidoErrCode GuidoUpdateGR(GRHandler gr, const GuidoLayoutSettings *settings)
TempoType type
the tempo type (see above)
Definition: GUIDOEngine.h:138
void GuidoFreeAR(ARHandler ar)
int GuidoGetSystemCount(CGRHandler inHandleGR, int page)
Gives the number of systems on a given page.
the text font is not available
Definition: GUIDOEngine.h:226
float marginbottom
Definition: GUIDOEngine.h:323
#define GUIDOAPI
Definition: GUIDOExport.h:39
Definition: GUIDOEngine.h:198
Definition: GUIDOEngine.h:249
GuidoErrCode GuidoInit(GuidoInitDesc *desc)
Definition: GUIDOEngine.h:120
int unit
the meter unit
Definition: GUIDOEngine.h:112
int sizey
Definition: GUIDOEngine.h:176
GRElement
Definition: GUIDOEngine.h:250
#define GUIDOAPI_deprecated
Definition: GUIDOEngine.h:28
int value
the tempo value: defined for kUnitValueTempo only, null otherwise
Definition: GUIDOEngine.h:142
Definition: GUIDOEngine.h:250
required initialisation has not been performed
Definition: GUIDOEngine.h:232
float marginright
Definition: GUIDOEngine.h:322
float GuidoGetNotesDensity(GRHandler gr)
GuidoTempo * GuidoTempoList
Definition: GUIDOEngine.h:146
A structure to keep information about clipping and redrawing regions.
Definition: GUIDOEngine.h:64
int right
Definition: GUIDOEngine.h:72
Definition: GUIDOEngine.h:190
int top
Definition: GUIDOEngine.h:71
GuidoPageFormat pageFormat
Definition: GUIDOEngine.h:335
long GuidoGetParsingTime(const ARHandler ar)
Gets parsing time.
const char * musicFont
the music font name, defaults to "guido" font when null
Definition: GUIDOEngine.h:57
Definition: GUIDOEngine.h:250
GuidoErrCode
The guido error codes list.
Definition: GUIDOEngine.h:211
GuidoDate unit
the beat unit expressed as a Guido date - undefined for kTextualTempo
Definition: GUIDOEngine.h:140
GRHandler handle
A Guido handler to a graphic representation.
Definition: GUIDOEngine.h:155
GuidoErrCode GuidoGetPageDate(CGRHandler inHandleGR, int pageNum, GuidoDate *date)
Gives the time location of a Page.
float width
Definition: GUIDOEngine.h:318
float systemsDistance
Definition: GUIDOEngine.h:260
TempoType
tempo specification types.
Definition: GUIDOEngine.h:120
int optimalPageFill
Definition: GUIDOEngine.h:291
GPaintStruct updateRegion
Indicates what to (re)draw.
Definition: GUIDOEngine.h:162
GuidoErrCode GuidoCheckVersionNums(int major, int minor, int sub)
Checks a required library version number.
Definition: GUIDOEngine.h:245
Representation of a date as a rational value.
Definition: GUIDOEngine.h:83
Generic platform independant drawing device.
Definition: VGDevice.h:68
Generic class to manipulate device independant colors.
Definition: VGColor.h:34
the user cancelled the action
Definition: GUIDOEngine.h:222
null is used to denote no error
Definition: GUIDOEngine.h:214
the music font is not available
Definition: GUIDOEngine.h:224
float force
Definition: GUIDOEngine.h:276
Definition: GUIDOEngine.h:250
float margintop
Definition: GUIDOEngine.h:321
float spring
Definition: GUIDOEngine.h:281
int denom
the date denominator
Definition: GUIDOEngine.h:88
Definition: GUIDOEngine.h:188
Engine settings for the graphic score layout.
Definition: GUIDOEngine.h:255
GuidoDate unitvalue
the tempo value: defined for kUnitUnitTempo only, null otherwise
Definition: GUIDOEngine.h:144
struct NodeGR * GRHandler
Definition: GUIDOEngine.h:37
Definition: GUIDOEngine.h:186
int GuidoFindEventPage(CGRHandler inHandleGR, const GuidoDate &date)
Finds the page which has an event (note or rest) at a given date.
GuidoErrCode GuidoParseFile(const char *filename, ARHandler *ar) GUIDOAPI_deprecated
float proportionalRenderingForceMultiplicator
Definition: GUIDOEngine.h:302
VGDevice * hdc
A graphic device context.
Definition: GUIDOEngine.h:158
int GuidoFindPageAt(CGRHandler inHandleGR, const GuidoDate &date)
Finds the page which contain a given date.
int page
The page number. Starts from 1.
Definition: GUIDOEngine.h:160
GuidoErrCode GuidoGetSymbolPath(const ARHandler inHandleAR, std::vector< std::string > &inPathVector)
Returns the path corresponding to an AR.
int GuidoCountVoices(CARHandler inHandleAR)
Gives the number of score pages of the graphic representation.
the action failed
Definition: GUIDOEngine.h:234
int resizePage2Music
Definition: GUIDOEngine.h:296
float marginleft
Definition: GUIDOEngine.h:320
GuidoDate date
the tempo date
Definition: GUIDOEngine.h:134
struct NodeAR * ARHandler
Definition: GUIDOEngine.h:36
A structure embedding a layout settings and a page format.
Definition: GUIDOEngine.h:332
Definition: GUIDOEngine.h:243
class_export GuidoDate
print the time segment
Definition: GUIDOScoreMap.h:68
Definition: GUIDOEngine.h:242
Definition: GUIDOEngine.h:199
void GuidoFreeGR(GRHandler gr)
struct GuidoLayoutSettings GuidoLayoutSettings
Engine settings for the graphic score layout.
bool erase
a flag to ignore the following rect and to redraw everything
Definition: GUIDOEngine.h:67
long GuidoGetOnDrawTime(const GRHandler gr)
Gets GR drawing procedure time.
GuidoErrCode GuidoAR2GR(ARHandler ar, const GuidoLayoutSettings *settings, GRHandler *gr)
GuidoMapping
Mapping mode for SVG export.
Definition: GUIDOEngine.h:241
float GuidoGetLineSpace()
Gives the distance between two staff lines.
GuidoMeter * GuidoMeters
Definition: GUIDOEngine.h:114
int sizex
Definition: GUIDOEngine.h:176
Definition: GUIDOEngine.h:120
const struct NodeAR * CARHandler
Definition: GUIDOEngine.h:38
float reserved
Definition: GUIDOEngine.h:174
const char * textFont
a text font name, defaults to "times" font when null
Definition: GUIDOEngine.h:59
GuidoErrCode GuidoMarkVoice(ARHandler inHandleAR, int voicenum, const GuidoDate &date, const GuidoDate &duration, unsigned char red, unsigned char green, unsigned char blue)
Gives a color to all notes of a voice between a given time interval.
void GuidoGetDefaultLayoutSettings(GuidoLayoutSettings *settings)
int scrollx
Definition: GUIDOEngine.h:169
Definition: GUIDOEngine.h:191