#include once "inc/gfxThread.bi" Const MESSAGE = "hello world!" Var result = gfx.Create( 640, 480, gfx.Flag.ZBuffer ) ?result If( result )Then Sleep end EndIf gfx.zTextOut( 10, 10, 10, MESSAGE ) gfx.zTextOut( 11, 11, 9, MESSAGE, &H3f3f3f3f ) gfx.zTextOut( 12, 12, 8, MESSAGE, &H1f1f1f1f ) gfx.FzRect ( 8, 8, 0, 13 + gfx.TextWidth( MESSAGE ), 13 + gfx.TextHeight( MESSAGE ), &H007F007F ) gfx.FRect ( 208, 8, 213 + gfx.TextWidth( MESSAGE ), 13 + gfx.TextHeight( MESSAGE ), &H007F007F ) gfx.TextOut( 212, 12, MESSAGE, &H1f1f1f1f ) gfx.TextOut( 211, 11, MESSAGE, &H3f3f3f3f ) gfx.TextOut( 210, 10, MESSAGE ) gfx.FCommit sleep gfx.Destroy end