Lazarus

Programming => Graphics and Multimedia => Graphics => Topic started by: Blestan on July 23, 2016, 10:07:59 am

Title: BGRA Virtual Screen
Post by: Blestan on July 23, 2016, 10:07:59 am
Please some code to use virtualscreen for replacement of TPaintBox


Thanks
Title: Re: BGRA Virtual Screen
Post by: Handoko on July 23, 2016, 11:01:57 am
Not sure what you're looking for. But these maybe useful:
http://wiki.freepascal.org/BGRABitmap_tutorial
http://forum.lazarus.freepascal.org/index.php?topic=17212.0
Title: Re: BGRA Virtual Screen
Post by: circular on July 23, 2016, 12:59:22 pm
There are some explanations here:
http://wiki.freepascal.org/BGRAControls#BGRAVirtualScreen

Basically, you need to redefine the OnRedraw event and in there draw the content.
TinyPortal © 2005-2018