sscore_sym.h

Includes:

Introduction

The C interface to measure and draw the SeeScoreLib built-in symbols



Functions

sscore_sym_bb

get the default bounding box of a symbol

sscore_sym_draw

draw a symbol


sscore_sym_bb


get the default bounding box of a symbol

Parameters
graphics

the graphics context

symbol

the symbol

Return Value

the bounding box of the symbol


sscore_sym_draw


draw a symbol

EXPORT void sscore_sym_draw(
    sscore_graphics *graphics, 
    sscore_symbol symbol, 
    const sscore_point *origin, 
    float width,
    float height, 
    const sscore_colour_alpha *colour);  
Parameters
graphics

the graphics context

symbol

the symbol

origin

the position at which to draw the origin of the symbol

width

the width to draw the symbol

height

the height to draw the symbol or 0 to use default aspect

colour

the colour to draw the symbol


Typedefs

sscore_symbol

a symbol to draw


sscore_symbol


a symbol to draw

typedef unsigned sscore_symbol;  

Macro Definitions

sscore_sym_invalid

an invalid value for sscore_symbol


sscore_sym_invalid


an invalid value for sscore_symbol

#define sscore_sym_invalid 0