mirror of
https://github.com/love2d/love.git
synced 2026-08-18 03:34:23 +02:00
Merge branch 'main' into 12.0-development
This commit is contained in:
@@ -199,6 +199,8 @@ public:
|
||||
virtual int getPixelWidth() const = 0;
|
||||
virtual int getPixelHeight() const = 0;
|
||||
|
||||
virtual void clampPositionInWindow(double *wx, double *wy) const = 0;
|
||||
|
||||
// Note: window-space coordinates are not necessarily the same as
|
||||
// density-independent units (which toPixels and fromPixels use.)
|
||||
virtual void windowToPixelCoords(double *x, double *y) const = 0;
|
||||
|
||||
Reference in New Issue
Block a user