Functions | 
| void  | GuidoGetVersionNums (int *major, int *minor, int *sub) | 
|   | Gives the library version number as three integers.  
  | 
| const char *  | GuidoGetVersionStr () | 
|   | Gives the library version number as a string.  
  | 
| GuidoErrCode  | GuidoCheckVersionNums (int major, int minor, int sub) | 
|   | Checks a required library version number.  
  | 
| float  | GuidoGetLineSpace () | 
|   | Gives the distance between two staff lines.  
  | 
| 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.  
  | 
| GuidoErrCode  | GuidoSetSymbolPath (ARHandler inHandleAR, const std::vector< std::string > &inPaths) | 
|   | Makes the correspondance between an ARMusic and a path.  
  | 
| GuidoErrCode  | GuidoGetSymbolPath (const ARHandler inHandleAR, std::vector< std::string > &inPathVector) | 
|   | Returns the path corresponding to an AR.  
  | 
Detailed Description
Includes various functions for version management and for conversions. The number of version functions is due to historical reasons. 
Function Documentation
      
        
          | void GuidoGetVersionNums  | 
          ( | 
          int *  | 
           major,  | 
        
        
           | 
           | 
          int *  | 
           minor,  | 
        
        
           | 
           | 
          int *  | 
           sub  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Gives the library version number as three integers. 
Version number format is MAJOR.MINOR.SUB
- Parameters:
 - 
  
    | major | on output: the major revision number.  | 
    | minor | on ouput: the minor revision number.  | 
    | sub | on ouput: the sub revision number.  | 
  
   
- Returns:
 - a Guido error code. 
 
 
 
      
        
          | const char* GuidoGetVersionStr  | 
          ( | 
           ) | 
           | 
        
      
 
Gives the library version number as a string. 
- Returns:
 - the version numebr as a string. 
 
 
 
      
        
          | GuidoErrCode GuidoCheckVersionNums  | 
          ( | 
          int  | 
           major,  | 
        
        
           | 
           | 
          int  | 
           minor,  | 
        
        
           | 
           | 
          int  | 
           sub  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Checks a required library version number. 
- Parameters:
 - 
  
    | major | the major revision number.  | 
    | minor | the minor revision number.  | 
    | sub | the sub revision number.  | 
  
   
- Returns:
 - noErr if the library version number is greater or equal to the version number passed as argument. 
 
- 
otherwise guidoErrActionFailed. 
 
 
 
      
        
          | float GuidoGetLineSpace  | 
          ( | 
           ) | 
           | 
        
      
 
Gives the distance between two staff lines. 
This value is constant (= 50). It does not depend on the context, it will probably never change in future versions of the library.
- Returns:
 - the distance between two lines of staff, in Guido internal units. 
 
 
 
Gives a color to all notes of a voice between a given time interval. 
- Note:
 - Introduced for GUIDO/MIR; Allows the user to see where a musical theme appears in a voice.
 
- Parameters:
 - 
  
    | inHandleAR | a Guido opaque handle to an AR structure.  | 
    | voicenum | index of the voice to mark, starting from 1  | 
    | date | the date where the color-marking must begin (whole note = 1)  | 
    | duration | the duration that must be covered by the color marking.  | 
    | red | the red component of the marking color, from 0 to 255.  | 
    | green | green color component.  | 
    | blue | blue color component.  | 
  
   
- Returns:
 - a Guido error code. 
 
 
 
Makes the correspondance between an ARMusic and a path. 
- Parameters:
 - 
  
    | inHandleAR | the destination ARHandler.  | 
    | inPaths | the path to associate.  | 
  
   
- Returns:
 - noErr if the association has been made with success 
 
- 
otherwise guidoErrActionFailed. 
 
 
 
      
        
          | GuidoErrCode GuidoGetSymbolPath  | 
          ( | 
          const ARHandler  | 
           inHandleAR,  | 
        
        
           | 
           | 
          std::vector< std::string > &  | 
           inPathVector  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Returns the path corresponding to an AR. 
- Parameters:
 - 
  
    | inHandleAR | the handle given to extract its path.  | 
    | inPathVector | the vector to be filled  | 
  
   
- Returns:
 - the returned path. 
 
- 
noErr if the association has been made with success 
 
- 
otherwise guidoErrActionFailed.