ResearchBib Share Your Research, Maximize Your Social Impacts
Sign for Notice Everyday Sign up >> Login

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:

Authors : ; ;

Page : 24-45

Keywords : Graphics Device Interface; Drawing-Function; Primitive Output; Geometric Characteristics;

Source : Downloadexternal Find it from : Google Scholarexternal

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.

Last modified: 2018-11-29 18:52:12