473,322 Members | 1,699 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,322 software developers and data experts.

GDI+ question

We create VC++ programs that does some GDI drawing functionality.
I discovered GDI+ and this seems to be a big step forward, and appears to be
standard available in Windows XP and Windows Server 2003.
But since .NET also uses it, does that mean that it gets automatically
installed when I install a .NET framework on a Windows 2000?

Nov 17 '05 #1
7 2915
You may want to post your question on the System.Drawing news group. There is a coder that follows that group that is up on the GDI/GDI+ and he might be able to help you. He also generally responds quickly

Bob
Nov 17 '05 #2
> You may want to post your question on the System.Drawing news group.
There is a coder that follows that group that is up on the GDI/GDI+ and
he might be able to help you. He also generally responds quickly.


Ok thanks. :-)
Nov 17 '05 #3
> > You may want to post your question on the System.Drawing news group.
There is a coder that follows that group that is up on the GDI/GDI+ and
he might be able to help you. He also generally responds quickly.


Ok thanks. :-)

I cannot find any "System.Drawing" newsgroup in my outlook express
newsgroups list.
Any tips how the complete name is? Something like this:
microsoft.public.dotnet.System.Drawing?
Nov 17 '05 #4
"BobTheHacker" <an*******@discussions.microsoft.com> wrote in message
news:46**********************************@microsof t.com...
You may want to post your question on the System.Drawing news group. There is a coder that follows that group that is up on the GDI/GDI+ and he
might be able to help you. He also generally responds quickly.
Bob


Why? The question is completely relevant here. GDI+ is a native library and
does not require managed environment (.NET).

To answer the original question, GDI+ is part of the Windows Platform SDK.
Just install the latest platform SDK and you will have everything you need.
The documentation is pretty good too and more than enough to get you
started. You will need to redistribute gdiplus.dll for platforms earlier
than XP.

Best,
Sarat Venugopal
www.huelix.com

Nov 17 '05 #5
Framework.Drawing

Steev

<Ol**********@skyscan.be> wrote in message
news:40***********************@news.skynet.be...
You may want to post your question on the System.Drawing news group.
There is a coder that follows that group that is up on the GDI/GDI+ and he might be able to help you. He also generally responds quickly.


Ok thanks. :-)

I cannot find any "System.Drawing" newsgroup in my outlook express
newsgroups list.
Any tips how the complete name is? Something like this:
microsoft.public.dotnet.System.Drawing?

Nov 17 '05 #6
> We create VC++ programs that does some GDI drawing functionality.
I discovered GDI+ and this seems to be a big step forward, and appears to be standard available in Windows XP and Windows Server 2003.
But since .NET also uses it, does that mean that it gets automatically
installed when I install a .NET framework on a Windows 2000?

I asked this question, so I also want to add the answer to what I
discovered.

GDI+ basically consist of one dll called gdiplus.dll (1.6 MB).
Windows XP automatically contains this GDI+ dll installed in the windows
folder, but older windows versions do not.

Now, .NET, uses GDI+, and it appears that this gdiplus.dll is installed
where the .NET framework is installed.
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322)
This means that although GDI+ is installed to be used by .NET, none- .NET
programs have not access to this gdiplus.dll, it must still be copied to
either the windows folder or the program folder in order to use it.

Using GDI+ is simpler than expected for none-.NET programs, just put the
gdiplus.dll in the same folder of your executable and off you go, running on
OS that does not have GDI+ installed.

GDI+ is very nice but I see many (confusing) Internet reports that GDI is
much faster than GDI+, because graphics card manufacturers optimize for GDI
performance and ignore GDI+. Although parts of GDI+ uses GDI and this would
speed up with a new graphics card.
Also ofcourse GDI+ does far more processing than GDI does. e.g. scaling,
transforming, rotating,... And is a pure OOP class set.

I love the fact that it is implemented in the .NET framework. :-)
But sadly enought I also develop conventional exe code so stuck with GID--.
Nov 17 '05 #7
From what I've read, it's unlikely GDI+ will be given hardware acceleration
by the graphics card companies, since Longhorn will be using a different
system. It's a real shame as it's a nice API, but if you need the hardware
to help you might have to stick with the old stuff.

Steve

<Ol**********@skyscan.be> wrote in message
news:40**********************@news.skynet.be...
We create VC++ programs that does some GDI drawing functionality.
I discovered GDI+ and this seems to be a big step forward, and appears
to be
standard available in Windows XP and Windows Server 2003.
But since .NET also uses it, does that mean that it gets automatically
installed when I install a .NET framework on a Windows 2000?
I asked this question, so I also want to add the answer to what I
discovered.

GDI+ basically consist of one dll called gdiplus.dll (1.6 MB).
Windows XP automatically contains this GDI+ dll installed in the windows
folder, but older windows versions do not.

Now, .NET, uses GDI+, and it appears that this gdiplus.dll is installed
where the .NET framework is installed.
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322)
This means that although GDI+ is installed to be used by .NET, none- .NET
programs have not access to this gdiplus.dll, it must still be copied to
either the windows folder or the program folder in order to use it.

Using GDI+ is simpler than expected for none-.NET programs, just put the
gdiplus.dll in the same folder of your executable and off you go, running

on OS that does not have GDI+ installed.

GDI+ is very nice but I see many (confusing) Internet reports that GDI is
much faster than GDI+, because graphics card manufacturers optimize for GDI performance and ignore GDI+. Although parts of GDI+ uses GDI and this would speed up with a new graphics card.
Also ofcourse GDI+ does far more processing than GDI does. e.g. scaling,
transforming, rotating,... And is a pure OOP class set.

I love the fact that it is implemented in the .NET framework. :-)
But sadly enought I also develop conventional exe code so stuck with GID--.

Nov 17 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Charles Law | last post by:
If I draw a rectangle, 6 inches by 2 inches, on a user control with a PageUnit of Inches, I get a rectangle of 7 by 2.2 inches. Is this what people would expect? I would have hoped that it was at...
1
by: pei_world | last post by:
Hi there, I have a problem about how to keep my draw graphics stay on my control unless I delete them. that means how to resist my graphics. also how to partially remove some graphics from my...
1
by: David Sobey | last post by:
Hi I'm making a custom component using GDI+, a calendar grid thingy. I paint the grid and numbers in my overrided OnPaint. However, when i go to paint other things at other times in other...
8
by: Brian Basquille | last post by:
Hello all, Just a quick GDI+ related question for you all. I've three ellipses being drawn in my game. I'm trying to smoothen the edges of them out using anti-aliasing. Why is it that my puck...
7
by: news | last post by:
This may be a stupid question, but if I don't ask I'll never know ;) Ok, here it goes.... I am writing an application that renders an image in one picturebox and a graph in another. The image...
5
by: jack | last post by:
In using GDI+ drawstring, if the string to be drawn is in rtf format, how do I make GDI+ to recognize the rtf attributes. In other words, how do I draw one string in GDI+ , within which the...
2
by: SStory | last post by:
Question #1) If I do Image.Save with the same filepath that I got the image from, it bombs with "A generic error occurred in GDI+" Any ideas? I prompt the user before overwriting, but if they...
7
by: Marcin Rzeznicki | last post by:
Hello, Do you think it is legitimate practice to mix GDI+ and GDI calls (via Get/ReleaseHDC()) in paint event of a control? I've heard there is possibility of performance loss while "locking"...
1
by: Chris Dunaway | last post by:
When working with GDI+, calling the CreateGraphics method to draw on a control has normally been frowned upon and it is always emphasized to dispose of pens and brushes and other GDI objects lest...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.