GUIDOLib  1.7.7
A Music Score Rendering Engine
Functions | Variables
GUIDOReducedProportionalAdapter.h File Reference

Go to the source code of this file.

Functions

virtual ~GUIDOReducedProportionalAdapter ()
 
RProportional * ar2RProportional (ARHandler arh)
 Creates a new reduced proportional representation from AR. More...
 
RProportional * midi2RProportional (const std::string &midiFileName)
 Creates a new reduced proportional representation from a midi file. More...
 
GuidoErrCode destroyRProportional (RProportional *pr)
 Destroys a reduced proportional representation and releases all the associated ressources. More...
 
GuidoErrCode setLimits (RProportional *pr, GuidoDate start, GuidoDate end, int lowpitch, int highpitch)
 Sets limits to a reduced proportional representation (start/end date, lower/higher pitch) More...
 
GuidoErrCode drawDurationLines (RProportional *pr, bool enabled)
 Enables or disable duration lines (enabled by default) More...
 
GuidoErrCode enableAutoVoicesColoration (RProportional *pr, bool enabled)
 Enables or not the automatic voices coloration (not enabled by default) If a color is manually set with GuidoRProportionalSetColorToVoice, automatic color will not be applied for this voice. More...
 
GuidoErrCode setRGBColorToVoice (RProportional *pr, int voiceNum, int r, int g, int b, int a)
 Sets a RGB color to a voice (first voice is number 1) (black by default) More...
 
GuidoErrCode setHtmlColorToVoice (RProportional *pr, int voiceNum, const char *color)
 Sets a html color to a voice (first voice is number 1) (black by default) More...
 
GuidoErrCode removeColorToVoice (RProportional *pr, int voiceNum)
 remove a color to a voice (first voice is number 1) (black by default) More...
 
GuidoErrCode enableMeasureBars (RProportional *pr, bool enabled)
 Enables or disable measure bars (false by default) More...
 
Time2GraphicMap getMap (RProportional *pr, int width, int height)
 Gets a reduced proportional representation map. More...
 
GuidoErrCode onDraw (RProportional *pr, int width, int height, VGDevice *dev)
 Draw the reduced proportional representation on a VGDevice. More...
 
std::string svgExport (RProportional *pr, int width, int height)
 svgExport Draw the reduced proportional representation on SVG device and return the xml string. More...
 

Variables

class_export GUIDOReducedProportionalAdapter
 

Guido Project Copyright © 2019 Grame-CNCM