Hi. Do anyone have a sample of using GDI+ ?
I know it doesn't fully fit in this forum, but it was the closest graphics-related forum I could find.
I'd prefer a sample where you clear the background, draw a few bitmaps, pixels and shapes. Would be nice :U
Search the Forum for gdiplus - 3 pages of threads.
I found only my own thread when I searched "GdiPlus" but I found many others when I searched for "Gdi+"
Strange. :P
Even more strange, after I performed another search with GdiPlus I got many results.
GDI+ (http://msdn.microsoft.com/en-us/library/ms533798(v=vs.85).aspx)
What you can use: Flat API (http://msdn.microsoft.com/en-us/library/ms533969(v=VS.85).aspx). For some function, ist can be really usufult to take a look in M$'s calss (http://msdn.microsoft.com/en-us/library/ms533958(v=VS.85).aspx) declaration, that comes with Visual C++ (the GDI+ classes are calling the flat API functions)
Thanks
Do provide a sample if you wish, nothing too advanced.
if you use advanced search "GDI" - user name "donkey"
Edgar posted some nice examples a while back
Quote from: zemtex on July 27, 2011, 04:32:39 PM
Thanks
Do provide a sample if you wish, nothing too advanced.
see attachment
Hi zemtex,
Here are some examples by Jeremy Gordon :
http://www.masm32.com/board/index.php?topic=5673.0
Alright thanks
qWord: The included file, is that a different than from the masm\include folder?
I found a GDI+ sample on the forum called StarfieldSimulation, nothing really advanced but really amusing to watch
http://www.masm32.com/board/index.php?topic=1013.0
many of the stars disappear as they are coming toward you :P
they should become larger
don't stare at it too long, though :eek
MeteoriteSimulation would be a fitting name for it.
Here is a ball demo if you like to watch such things. Nothing big, click left or right mouse button to send the balls going again. I made it a few years back and it is not assembly however. Just for amusement.
http://www.filedropper.com/balldemo
Inrterestingly enough the starfield simulation is well done, the disappearing stars occur at the distance where they go out of focus, the origins seem to handle the visual acceleration rate realistically so all up its well done.
Bothered to have a quick play with it, if you seriously increase the star count you can make it look like its raining and you are looking straight up with a light pointing upwards.