const class graphics::DeviceContext

sys::Obj
  graphics::DeviceContext

@Js

Source

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()

Source

Return default device context for the VM which is typically the primary display device.

dpi

const Float dpi

Source

Dots per inch which defines graphical resolution of the device for the logical coordinate system