GUIDOLib  1.6.8
A Music Score Rendering Engine
Public Attributes | List of all members
GuidoOnDrawDesc Struct Reference

Contains all graphic-related information required by GuidoOnDraw() More...

Public Attributes

GRHandler handle
 A Guido handler to a graphic representation. More...
 
VGDevicehdc
 A graphic device context. More...
 
int page
 The page number. Starts from 1. More...
 
GPaintStruct updateRegion
 Indicates what to (re)draw. More...
 
int scrollx
 
int scrolly
 
float reserved
 
int sizex
 
int sizey
 
int isprint
 

Detailed Description

Contains all graphic-related information required by GuidoOnDraw()

Used to render a page of score into a device context.

Member Data Documentation

◆ handle

GRHandler GuidoOnDrawDesc::handle

A Guido handler to a graphic representation.

◆ hdc

VGDevice* GuidoOnDrawDesc::hdc

A graphic device context.

◆ isprint

int GuidoOnDrawDesc::isprint

If true, the engine ignores scroll, zoom and sizes parameters. If false, the engine draws a white background in the graphic device.

◆ page

int GuidoOnDrawDesc::page

The page number. Starts from 1.

◆ reserved

float GuidoOnDrawDesc::reserved

Indicates the size of the drawing zone. The size is expressed in graphic device units (pixels for a screen for example)

◆ scrollx

int GuidoOnDrawDesc::scrollx

Indicates the coordinates of the score point that will appear at the graphic origin. Typical values are 0. Non null values have the effect of moving a window over the score page, like scroll bars that move a page view. Units are internal units.

◆ scrolly

int GuidoOnDrawDesc::scrolly

◆ sizex

int GuidoOnDrawDesc::sizex

◆ sizey

int GuidoOnDrawDesc::sizey

◆ updateRegion

GPaintStruct GuidoOnDrawDesc::updateRegion

Indicates what to (re)draw.


Guido Project Copyright © 2019 Grame-CNCM