| Index: > A B C D E F G H I J K L M N O P Q R S T U V W X Y Z |
|
|||||
| First Prev [ 1 2 ] Next Last |
GDI is responsible for tasks such as drawing lines and curves, rendering fonts and handling palettes. It is not directly responsible for drawing windows, menus, etc.: that task is reserved for the user subsystem .
Perhaps the most significant capability of GDI over more direct methods of accessing the hardware is its scaling capabilities, and abstraction of target devices. Using GDI, it is very easy to draw on multiple devices, such as a screen and a printer, and expect proper reproduction in each case. This capability is at the centre of all WYSIWYG applications for Microsoft Windows.
Simple games which do not require fast graphics rendering, such as Freecell or Minesweeper, use GDI. However, GDI cannot animate properly (no notion of syncronizing with the framebuffer) and lacks rasterization for 3D. Modern games use DirectX, which gives programmers access to more hardware capabilities. DirectX probably got its name from its ability to access screen memory with the CPU. However, this method was not used much soon after DirectX was born. Some take the name to mean that you "run the hardware more directly", which is a misconception. It works by API calls as usual in a protected OS.
GDI printers (also known as Winprinters akin to Winmodems), in particular GDI laser printers, replace the traditional processing power of the printer itself with capabilities "borrowed" from the host computer. There are two advantages:
The disadvantages are that:
Most current model inkjet printers are GDI-based (largely for performance reasons, as the cost factor is primarily to do with lasers), but the trend is to add more flexibility: many offer Mac support and the Linux community has become increasingly good at making Linux drivers available. Some (notably Epson) often also offer a more traditional emulation as a fallback.
In general, the cheapest current model laser printers are GDI devices. Most manufacturers also produce more flexible models that add PCL compatibility, or PostScript, or both. In most cases it is only the very cheapest models in any given manufacturer's range that are GDI only.
With the introduction of Windows XPWindows XP ( codename Whistler is the latest desktop version of the Windows operating system from Microsoft. It was made publicly available on October 25, 2001. Two editions of Windows XP are most commonly available: Windows XP Home Edition which is targe, GDI was deprecated in favor of its successor, the C++ based GDI+ subsystem. GDI+ is a "next generation" 2D graphics environment, adding advanced features such as alpha blendingAlpha blending is a convex combination of two colors allowing for transparency effects in computer graphics. The value of alpha in the color code ranges from 0. 0 represents a fully transparent color, and 1. 0 represents a fully opaque color. The value of, gradient shading, more complex path management, intrinsic support for modern graphics-file formats like JPEGIn computing, JPEG is a commonly used standard method of compressing photographic images. The file format which employs this compression is commonly also called JPEG; platforms with short file extensions may use. JPE to identify this format. The name stan and PNGPNG Portable Network Graphics , sometimes pronounced as ping , is a relatively new bitmap image format that is becoming popular on the World Wide Web and elsewhere. PNG was largely developed to deal with some of the shortcomings of the GIF format and allo (which were conspicuously absent in GDI), and general support for composition of affine transformationsAn affine transformation or affine map (from the Latin, affinis "connected with") between two vector spaces consists of a linear transformation followed by a translation. In a geometric setting, these are precisely the functions that map straight lines to in the 2D view pipeline. Use of these features are apparent in Windows XP's user interface, and their presence in the basic graphics layer greatly simplifies implementations of vector-graphics systems such as flashMacromedia Flash or Flash is a graphics animation program, written and marketed by Macromedia, that uses vector graphics. The resulting files, sometimes called "flash files", may appear in a web page to view in a web browser, or standalone players Flash p or SVG.
GDI+ is similar (in purpose and structure) to Apple's "Quartz 2D" subsystem, and the open-source "libart".