Click here to Skip to main content
15,507,755 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi I'm planning to write an application in which I want to draw vector graphics and fonts manipulations as fonts are vector by nature...

I'm collecting information about tools/languages to use to start writing such app.

Can anyone suggest if I should use C++/VC++ or C#/.net?

What are pros and cons?

Best regards
JackDingler 15-Jan-13 12:23pm    
From a performance standpoint, there's little difference in performance between the languages when it comes to graphics. It's the graphics engine that you connect to that tends to be the constraining factor.

Which are you more comfortable with?
Farrukhw 15-Jan-13 12:46pm    
Thanks for reply. I'm more comfortable with C#. So if there is minor difference, then I think, C# would be good to start. And I guess .Net framework 4 should be a base???
JackDingler 15-Jan-13 13:05pm    
My expertise is in C++ and OpenGL...

What I can tell you is that the old GDI and GDI+ has performance issues Window Vista, 7 and 8. The drawing code was elevated to the application level, resulting in a significant performance loss.

DirectX and OpenGL are hardware accelerated will not suffer from these issues.

I recommend that you check out DirectX2D for your application.

1 solution

It all depends on how complex your code is likely to be. C++ in Windows has very good graphics support via GDI+[^] or the older GDI[^], or for more advanced programming you may like to look into DirectX[^]. If you wish to use C# then the System.Drawing Namespace[^] is the place to look.
Share this answer
Farrukhw 15-Jan-13 12:48pm    
In fact, I'm trying to decide which language to use. System.Drawing Namespace[^] does internally support all what GDI+[^] and DirectX[^] have.

But when application grow in size, speed and performance does matter. And everyone considers speed and performance of application as well.

What most the Experienced Develoepers suggest in this regard?

I've heard that in Windows 8, Microsoft does push Native Coding?
Richard MacCutchan 15-Jan-13 12:57pm    
It's impossible to answer this because it really depends entirely on your requirements, your target audience, the platform(s) it will run on, etc. You need to look at all the variables and decide for yourself which you think will best meet your needs. You may even need to create some test applications and run some comparison trials to help you.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900