Page 1 of 1
Cls() function
Posted: Fri Jul 25, 2003 9:33 pm
by Flype
it could be useful to have a new 2DDrawing function :
Cls( [color.l] )
ClsRGB( red.b, green.b, blue.b )
It could be used in this context :
StartDrawing( WindowOutput() )
Cls()
StopDrawing()
or
StartDrawing( ImageOutput() )
Cls()
StopDrawing()
etc...
Posted: Fri Jul 25, 2003 10:36 pm
by LCD
You can use a filled box to simulate CLS command (If you're writting about CLS as CLear Screen / drawing surface)
Posted: Fri Jul 25, 2003 11:14 pm
by Flype
i know but i'm wondering if a box drawing is slower than an asm coded Cls function

but, maybe, it's useless...
Posted: Sat Jul 26, 2003 11:21 am
by LCD
It is a bit slower, but why anyone needs a lightning-fast CLS? I think 64 bit integers are much more important than CLS, but this is only my opinion.
Posted: Sat Jul 26, 2003 3:34 pm
by Flype
we wish what we need in our develpment

, because i'm experiencing speed problem but i think that i could do it in a better way
Posted: Sun Jul 27, 2003 11:43 am
by LCD
Box is very fast, I did a real-time zoom for my ZX Painter with boxes, so maybe your speed problem lies in a different part of your program.
Posted: Sun Jul 27, 2003 3:17 pm
by Flype
Hello LCD,
so maybe your speed problem lies in a different part of your program.
Yes, it was... I correct it and now it runs really faster. The problem wasn't at all dependant of the Box function which is, i'm agree, fast enough... The problem was in the AudioRecorder example i posted.
Posted: Sun Jul 27, 2003 5:17 pm
by LCD
Great, maybe I heped you probably a bit...

Posted: Sun Jul 27, 2003 5:46 pm
by Flype
sure
