Click here to Skip to main content
13,350,486 members (66,729 online)
Rate this:
Please Sign up or sign in to vote.
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
Posted 14-Jan-13 23:01pm
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

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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.
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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web03 | 2.8.180111.1 | Last Updated 15 Jan 2013
Copyright © CodeProject, 1999-2018
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100