- Device independent pixel
-
A Device independent pixel (also: density-independent pixel) is a point in a co-ordinate system held by a computer and represents an abstraction of a pixel for use by an application that an underlying system then converts to physical pixels.
A typical use is to allow mobile device software to scale the display of information and user interaction to different screen sizes. The abstraction allows an application to work in pixels as a measurement, while the underlying graphics system converts the abstract pixel measurements of the application into real pixel measurements appropriate to the particular device. For example, on the Android operating system a device-independent pixel is equivalent to one physical pixel on a 160 dpi screen[1], while the Windows Presentation Foundation specifies one device independent pixel as equivalent to 1/96th of an inch[2].
While traditional pixels only refer to the display of information, Device independent pixels may also be used to measure user input such as input on a touch screen device.
References
Categories:- Computer graphics
- Computer graphics stubs
Wikimedia Foundation. 2010.