youknowwho4eva Posted January 15, 2009 Share Posted January 15, 2009 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 More sharing options...
monoceres Posted January 15, 2009 Share Posted January 15, 2009 Draw the image width _GDIPlus_DrawImageRect() instead Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
youknowwho4eva Posted January 15, 2009 Author Share Posted January 15, 2009 Ahhh the pieces fall together much clearer now. Thank you. I think you'll like this one when I'm done. I have to do actual work right now, but I should be able to work on it after lunch. Giggity Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now