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

Public Attributes

QSize pixelSize
 Size and device pixel ratio of the pixmap to build the QCursor from.
 
qreal devicePixelRatio {1.}
 
QPoint hotspot
 What to give QCursor as hotspot on that platform.
 
QPoint pixelHotspot
 The pixel of the pixmap the platform puts the hotspot on.
 
QPoint renderOffset
 

Member Data Documentation

◆ renderOffset

QPoint score::CursorGeometry::renderOffset

Whole pixels the artwork is moved by when rendered, so that its hotspot point falls in pixelHotspot: the platforms that take the hotspot in device independent units cannot name every pixel.


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