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





Article #17470: Why Delphi drawing functions draw one pixel short.

 Question and Answer Database
FAQ2470D.txt Why Delphi drawing functions draw one pixel short.
Category :VCL
Platform :All
Product :All 32 bit
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/16/98 4:31:28 PM

Last Modified: 01-SEP-99