Page 1 of 1

Output() VS DeviceContext

Posted: Fri Jul 25, 2003 6:34 pm
by Flype
I'm wondering why WindowOutput() is different from GetDC_( WindowID() )

After all, the two are used in order to perform some drawings... It seems to be same but it isn't :roll: So, what's the structure behind a WindowOuput() pointer ?

Posted: Fri Jul 25, 2003 6:40 pm
by Flype
Another question about 2D drawing :
What about a very fast CLS function on a WindowOutput(), ImageOutput() like for screens (ie. ClearScreen() ) ?

Posted: Fri Jul 25, 2003 7:44 pm
by freak
The result of WindowOutput() is something that is PB specific and is only
used for the StartDrawing() command.

The result of StartDrawing(WindowOutput()) is the same as
GetDC_(WindowID())

Timo

Posted: Fri Jul 25, 2003 9:23 pm
by Flype
thanx freak :wink: