mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-08 04:58:11 +02:00
Qt5: added QPaintDevice_devicePixelRatioF()
git-svn-id: trunk@57933 -
This commit is contained in:
parent
c49ee01dbe
commit
9c2af0a6ed
@ -71,6 +71,12 @@ int QPaintDevice_devicePixelRatio(QPaintDeviceH handle)
|
||||
return (int) ((QPaintDevice *)handle)->devicePixelRatio();
|
||||
}
|
||||
|
||||
qreal QPaintDevice_devicePixelRatioF(QPaintDeviceH handle)
|
||||
{
|
||||
return (qreal) ((QPaintDevice *)handle)->devicePixelRatioF();
|
||||
}
|
||||
|
||||
|
||||
int QPaintDevice_colorCount(QPaintDeviceH handle)
|
||||
{
|
||||
return (int) ((QPaintDevice *)handle)->colorCount();
|
||||
|
@ -27,6 +27,7 @@ C_EXPORT int QPaintDevice_logicalDpiY(QPaintDeviceH handle);
|
||||
C_EXPORT int QPaintDevice_physicalDpiX(QPaintDeviceH handle);
|
||||
C_EXPORT int QPaintDevice_physicalDpiY(QPaintDeviceH handle);
|
||||
C_EXPORT int QPaintDevice_devicePixelRatio(QPaintDeviceH handle);
|
||||
C_EXPORT qreal QPaintDevice_devicePixelRatioF(QPaintDeviceH handle);
|
||||
C_EXPORT int QPaintDevice_colorCount(QPaintDeviceH handle);
|
||||
C_EXPORT int QPaintDevice_depth(QPaintDeviceH handle);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user