Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
draw command curious behavior
#1
I may have missed something somewhere in notes on rendering order because the behavior of the attached program surprised me.
I'm using the draw command to draw a simple shape as a sprite of sorts and it will overprint an image drawn with the other graphics commands but it will not overprint text. How the fill interacts is interesting as well. It just doesn't seem consistent with other drawing commands. 

Code: (Select All)
Screen _NewImage(800, 600, 256)
dd$ = "m+194,-40m+54,+89m-182,+35m-66,-84bm+134,+31 P12,15 c15"
Cls
_PrintMode _KeepBackground
For x = 0 To 300 Step 10
    _Limit 10
    Cls
    Line (100, 100)-(200, 200), 13, BF
    _PrintString (100, 100), "background image"
    Locate 11, 16: Print "XXX"
    dt$ = "c15 bm" + Str$(x) + ",100"
    Draw dt$
    Draw dd$
    _Display
Next
Reply


Messages In This Thread
draw command curious behavior - by James D Jarvis - 08-04-2022, 12:55 AM
RE: draw command curious behavior - by bplus - 08-04-2022, 02:19 AM
RE: draw command curious behavior - by Cobalt - 08-04-2022, 02:38 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Command$(count%) - I can't get a value when using the optional argument "(count%)" Unatic 3 518 08-22-2025, 11:58 AM
Last Post: Unatic
  keyword to get the EXE name and the EXE path instead of parsing Command$(0) ? madscijr 8 1,132 07-22-2025, 08:35 PM
Last Post: hsiangch_ong
  Command$ issues eoredson 8 1,350 05-02-2025, 01:42 AM
Last Post: eoredson
  Locate command on the ttf graphical screens Helium5793 5 702 03-09-2025, 05:47 PM
Last Post: SMcNeill
  Curious if I am thinking about this right. protocog 32 5,791 01-22-2025, 11:42 AM
Last Post: bplus

Forum Jump:


Users browsing this thread: 1 Guest(s)