Writing to a screen

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by mystik.

Hi everyone,

Wow, purebasic has sure come a long way since I last played with it.

Could someone please advise me on the fastest way to read/write single pixels to a screen opened using OpenScreen()

Is it using the 2d drawing functions Plot/Point.

All the best

Steve.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by fred.

If you use OpenScreen(), just use StartDrawing(ScreenOutput()) and Plot(). It's very very fast (direct memory access). Point() isn't accelerated for now, so it's pretty slow.

Fred - AlphaSND
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by mystik.

Thanks Fred

Steve
Post Reply