Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem with DRAW or my "scanning" routine?
#4
(06-23-2023, 09:21 PM)James D Jarvis Wrote: part of the my issue seems to be how Draw renders a segment.
 R1    doesn't draw just 1 pixel to the right it draws the current pixel plus one pixel to the right.

so to render a single point in DRAW  one would have to have the string segment "R0"    (or so I believe).
as a result my scanning is off due to my not understanding this behavior in DRAW.

this is the result on my Lenovo (application window has been put in Fullscreen mode using Alt+Enter)

[Image: immagine-2023-06-24-015300180.png]

As you can see, AB got by drawing with the data get by scanning the screen seems to be bold.

moreover
DRAW has these features  DRAW wikipage

about pixel you should know that S4 = 1 pixel 
Quote:
  • "S n" changes the pixel move size of the lines. Default is 4 (1 pixel) minimum. "S8" would double the pixel line moves.
so if you have set S4 at the beginning of the string for DRAW You must have a duplicate of the area scanned.
It is possible that the bold effect comes out from string passed to DRAW.
Reply


Messages In This Thread
RE: Problem with DRAW or my "scanning" routine? - by TempodiBasic - 06-24-2023, 09:40 AM



Users browsing this thread: 8 Guest(s)