Search Helium

Home > Computers & Technology > Software > Software & Web Development

What is graphic device interface (GDI)?

by Cobor

Created on: May 30, 2008

The Graphics Device Interface (GDI), together with the kernel and the Windows API, is one of three main components or "sub", for the user interface, Microsoft Windows GDI and in particular deals with the graphic representation of objects and transmit them to output devices such as monitors and printers.

GDI is responsible for tasks such as the drawing of lines and curves, rendering fonts and management of palettes. It is not directly responsible for drawing windows, menus.

The most significant ability to GDI about methods of access to hardware is its ability to scale and abstraction of devices destination. Drawing on multiple devices, such as a printer or a screen, it becomes much easier using GDI and in any case a correct reproduction of graphics. This capacity is at the centre of all WYSIWYG applications for Microsoft Windows.

Although GDI can not properly animated and lacks rasterization for 3D is still used by the simple games that do not require a quick use of rendering graphics GDI.

With the introduction of Windows XP, the use of GDI was deprecated in favor of his successor GDI + based on the C + +. GDI + is a 2D graphics environment better thanks to its advanced features such as anti-aliasing 2D graphics, floating point coordinates, shading gradient, a more complex path management, support for modern graphics - as file formats and JPEG PNG (supports that lacked the GDI), and general support for composition of similar transformations in the 2D view pipeline. GDI + ARGB uses to represent the values of color. The use of these characteristics is evident in the way Windows XP with the user interface and several of its applications such as Microsoft Paint, Windows Picture and Fax Viewer, Photo Printing Wizard, My Pictures Slideshow screensavers, and their presence in the basic graphics layer greatly simplifies implementations of vector-graphics systems such as Flash or SVG. The GDI + dynamic library can be shipped with an application and used under older versions of Windows.

In September 2004 was discovered a vulnerability in GDI + and other graphics API due to a defect in the JPEG standard library which allowed the execution of arbitrary code on any system that displayed a JPEG file malicious "using an instrument based on GDI +. A patch was issued to resolve the issue on October 12, 2004.

With the arrival of Windows view GDI and GDI +, like all Windows applications, run in the Desktop Window Manager, the new engine compositing built above the Windows Display Driver

Helium Debate

Cast your vote!

Which is a better Web application framework: Ruby on Rails or PHP?

Click for your side.

124396

Featured Partner

E Square

E Square has partnered with Helium, giving you the chance to write for a cause. Browse E Square's featured titles, pick an issue and write! You can also learn new perspectives on issues that you care about.more


CONNECT WITH US

Read
our blog
Helum for writers

Write and get published
Share with other writers
Polish your freelancing skills

Join our active writing community
Helium Content Source for Publishers

Quality articles from proven freelancers
Exclusive rights, fast turnaround
Brand engagement, business blogging -- our writers do it all

Get custom content today!

INFORMATION


Helium, Inc.
200 Brickstone Square Andover, MA 01810 USA
#