mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
0032597: Coding Rules, Wasm_Window - add missing setter for DevicePixelRatio property
This commit is contained in:
parent
307fef1dcd
commit
ff60d28357
@ -119,6 +119,9 @@ public:
|
||||
//! Return device pixel ratio (logical to backing store scale factor).
|
||||
virtual Standard_Real DevicePixelRatio() const Standard_OVERRIDE { return myDevicePixelRatio; }
|
||||
|
||||
//! Sets device pixel ratio for a window with IsVirtual() flag.
|
||||
void SetDevicePixelRatio (Standard_Real theDevicePixelRatio) { myDevicePixelRatio = theDevicePixelRatio; }
|
||||
|
||||
//! Invalidate entire window content through generation of Expose event.
|
||||
Standard_EXPORT virtual void InvalidateContent (const Handle(Aspect_DisplayConnection)& theDisp) Standard_OVERRIDE;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user