| Posted: 09:43am 07 Apr 2021 |
|
|
|
Nice work Jim.
With regards the tick removal, if I understand you right, the tick doesn't get erased(?).
if o=0 you could simply draw a filled box in CGy to erase the tick, so...
If CMM2 Then If o then Local Integer dx,dy Local cbin$=bin$(o,64) GUI Cursor Hide For dy=0 To 7 For dx=0 To 7 : if Val(Mid$(cbin$,dy*8+dx+1,1)) then pixel x+dx,y+7-dy Next dx,dy GUI Cursor Show Else Box x+1,y+1,10,10,CGy,CGy EndIf Else
Not exactly an emulation of GUI BitMap but should work (and fast too)
... or I could have entirely missed the point
the other way is to plot the pixel no matter what and use CGy for 0 pixels... again not a pure emulation but should erase the tick the sme way as it gets drawn.
All of the above is speculation as i can't test Edited 2021-04-07 20:17 by CaptainBoing |