Type Definition limn_core::geometry::DensityIndependentPixel
[−]
[src]
type DensityIndependentPixel = LayerPixel;
This is the unit used for all geometric types that represent a position on screen, independent of the device's hidpi factor, or "Device Pixel Ratio". Sometimes known as 'points', logical pixels or device independent pixels,
DensityIndependentPixel
is an alias to a webrender LayerPixel
to simplify
integration, but doesn't imply that the reference frame is a layer. Positions
should generally be relative to the window, where the origin is the top left,
and x and y values increase moving down and to the right.