Re: Drawing Charts with GDI+

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



I'll take it anyway... ;) I've done some Direct3D, but got stuck with the
initializing... When I was able to init on one card, the other I had to
test failed and when I was setting for the latter, but first didn't work
anymore... you see the point? but I was able to render almost everything I
wanted so it would surely be easier... ;)

so when you can post, go for it... or mail me by reformating my e-mail
address... ;)

thanks a lot...

ThunderMusic

"Bob Powell [MVP]" <bob@xxxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message
de news: O4VJMTL7GHA.4604@xxxxxxxxxxxxxxxxxxxxxxx
You can definitely draw on back-buffers. I'm not sure if you can blit the
back buffer to a memeory bitmap although I don't see why not.

Unfortunately I have none of my DirectX samples on this machine and the
earliest I will be aable to look will be Friday.

--
Bob Powell [MVP]
Visual C#, System.Drawing

Ramuseco Limited .NET consulting
http://www.ramuseco.com

Find great Windows Forms articles in Windows Forms Tips and Tricks
http://www.bobpowell.net/tipstricks.htm

Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/faqmain.htm

All new articles provide code in C# and VB.NET.
Subscribe to the RSS feeds provided and never miss a new article.



"ThunderMusic" <NoSpAmdanlatathotmaildotcom@xxxxxxxxxx> wrote in message
news:OXNLKJK7GHA.2380@xxxxxxxxxxxxxxxxxxxxxxx
I think that it would be very much easier to use Direct3D or OpenGL to
do this sort of drawing because the hidden line / surface systems are
built in and the drawing is very much faster.

Is it possible to initialize a non-visible device in OpenGL or Direct3D
and render to a Bitmap (the .Net Object) or can be easily converted to
Bitmap? I know we can render to texture, but is it the same (or almost
the same)?

Would you have some example?

thanks

ThunderMusic





.



Relevant Pages

  • Re: Some help with System.Drawing Part 1.
    ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... drawing system will do some pretty efficient clipping for you too. ... I've broken the data down into 36x18 grids (or ... Now that I have my ActiveGrids I loop through each grid and render the ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: problems saving a bitmap
    ... I suspect that you're drawing on the image with a black pen. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... > I'm trying to save a bitmap file so I can print it later. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: GPath performance issue
    ... I think you would see a performance gain by drawing the path to a bitmap and ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... I have a webpage in which some heavy drawing takes place (code ... geometries is about 20-30 times higher than everywhere else. ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: Question regarding drawing in thread and main thread.
    ... My thread could render into an offscreen ... > bitmap, and post a message, and the main thread could render the bitmap, and ... > handled at a higher priority than any main thread msgs, for idle, draws etc. ... I do lots of drawing around 30 fps this way. ...
    (microsoft.public.vc.mfc)
  • Re: Drawing Charts with GDI+
    ... in and the drawing is very much faster. ... render to a Bitmap (the .Net Object) or can be easily converted to Bitmap? ...
    (microsoft.public.dotnet.framework.drawing)