Jump to content

GDI+ png resize question


Recommended Posts

I'm playing with GDI+ some more, and I put a png on my gui using it. But I don't see any sizing options. I don't see a GDI+ imagesetsize or graphicsetsize either. Here's what I have

_gdiplus_startup()
$rbpill = _gdiplus_imageloadfromfile(@scriptdir & "/rb.png")
$graphic = _GDIPlus_GraphicsCreateFromHWND($dr)
_GDIPlus_GraphicsDrawImage($graphic,$rbpill,@desktopwidth/2,@desktopheight/2)

Giggity

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...