Skip to content

Instantly share code, notes, and snippets.

@brigand
Created October 24, 2012 01:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save brigand/3943175 to your computer and use it in GitHub Desktop.
Save brigand/3943175 to your computer and use it in GitHub Desktop.
#Include <GDIp>
#Include <GDIpHelper>
SetUpGDIP()
~ctrl::
StartDrawGDIP()
ClearDrawGDIP()
Gdip_SetSmoothingMode(G, 4)
pBitmap := Gdip_CreateBitmapFromFile("guy.png")
Gdip_DrawImage(G, pBitmap, 0, 0, 800, 800)
Gdip_DisposeImage(pBitmap)
EndDrawGDIP()
Sleep 150
StartDrawGDIP()
ClearDrawGDIP()
EndDrawGDIP()
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment