see this code
Code: Select all
#include "fbgfx.bi"
dim as any ptr imags
using fb
screenres 1280,800,32,,GFX_SHAPED_WINDOW
Color RGBA(255,0,255,255),RGBA(255,0,255,255)
cls
imags= ImageCreate( 1280, 600 )
circle imags,(100,100),25,rgba(243,50,133,65),,,,f
circle imags,(100,120),25,rgba(123,150,233,65),,,,f
put(0,0),imags,alpha,255 ' normal color
put step(120,120),imags,alpha,21 ' with alpha
sleep
thanks