Главная страница | назад





Article #17205: Why do line drawing methods like MoveTo and LineTo always draw a pixel short?

 Question and Answer Database
FAQ2205C.txt Why do line drawing methods like MoveTo and LineTo always draw a pixel short?
Category :Windows API
Platform :All
Product :C++Builder 1.x
Question:
Why do line drawing methods like MoveTo and LineTo always
draw a pixel short?
Answer:
This is the way most graphics systems work, including Windows.
The VCL simply maps calls to the GDI functions. If you need a given
line to go all the way to the last coordinate, then simply add one
pixel.
7/2/98 10:32:32 AM

Last Modified: 01-SEP-99