Loading...
Searching...
No Matches
score::CursorArtworkInfo Struct Reference

Public Attributes

const char * svg {}
 Path of the SVG source in the resources.
 
QSize size {32, 32}
 
QPointF hotspot {}
 
bool mirrored {}
 

Member Data Documentation

◆ hotspot

QPointF score::CursorArtworkInfo::hotspot {}

The point of the artwork that clicks, in canvas units: the apex of an arrow, the centre of a cross. The hotspot is the pixel this point falls in once rendered.

◆ mirrored

bool score::CursorArtworkInfo::mirrored {}

Drawn as the horizontal mirror of the SVG; the hotspot is given for the mirrored drawing.

◆ size

QSize score::CursorArtworkInfo::size {32, 32}

Size of the canvas the artwork is drawn on, at a zoom of 1 on a screen of scale 1.


The documentation for this struct was generated from the following file: