const class graphics::DeviceContext
sys::Obj graphics::DeviceContext
@Js
DeviceContext models the target device for graphical rendering. Typically this maps to a display, image buffer, printer, or output format such as PDF.
- cur
-
const static DeviceContext cur()
Return default device context for the VM which is typically the primary display device.
- dpi
-
const Float dpi
Dots per inch which defines graphical resolution of the device for the logical coordinate system