youknowwho4eva Posted January 15, 2009 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
monoceres Posted January 15, 2009 Posted January 15, 2009 Draw the image width _GDIPlus_DrawImageRect() instead Broken link? PM me and I'll send you the file!
youknowwho4eva Posted January 15, 2009 Author 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
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