Effect on Application by Mechanism of GDI Rendering Functions and Solutions
Journal: International Journal of Geology and Earth Sciences (Vol.1, No. 3)Publication Date: 2015-12-01
Authors : Chunmei Chen Qingyuan Li; Huiling Jia;
Page : 24-45
Keywords : Graphics Device Interface; Drawing-Function; Primitive Output; Geometric Characteristics;
Abstract
GDI drawing-functions in Windows API were analyzed and found that GDI drawing-function mapped the world coordinate system (Cartesian coordinate system) origin (0, 0) to the pixel center between (0, 0) and (1, 1) of the device coordinate system (screen coordinates). It pointed out that in order to maintain the same graphic geometric characteristics and avoiding overprinting, GDI drawing functions compromised with the endpoints and the boundary pixels, which caused some strange phenomenon many programmers have not found and it was difficult to understand. In response to these phenomena, explanations are given. In addition, the effect on some applications is pointed out and solutions are proposed.
Other Latest Articles
- Antibiotic Resistance Involves Antimicrobial Inactivation in Global Communities
- Studying Himalayan Snow - Indian Monsoon Relationship by Some LULCC Sensitivity Experiments in REGCM4.0
- Paleocene-Eocene Palynostratigraphy of the Northern Margin of Upper Assam Basin, India
- Identification of Contaminated Zones Using Direct Current Resistivity Surveys in and Around Ash Ponds Near Kolaghat Thermal Power Plant, West Bengal, India
- Evolutionary History of the Proterozoic Kolhan Basin: A Review
Last modified: 2018-11-29 18:52:12