Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Cairo Graphics Engine (Read 4623 times)
unisnk
Junior Member
**
Offline


D'Oh!

Posts: 59
Joined: Sep 3rd, 2008
Cairo Graphics Engine
Sep 24th, 2008 at 4:00pm
Print Post  
I saw that FlowChartX is based on GDI/GDI+ rendering engine.

Could be useful to use instead Cairo Graphics engine to have faster performance? ( http://en.wikipedia.org/wiki/Cairo_(graphics) ).

I don't know how can be difficult to implement this. Probably it's a large work and it's not worth it.

Greetings
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Cairo Graphics Engine
Reply #1 - Sep 24th, 2008 at 6:03pm
Print Post  
It's a matter of implementing about 30 functions defined in the FlowchartX Canvas interface through the Cairo API, and shouldn't be hard at all. I don't know whether Cairo would be faster, especially if its Win32 version simply wraps the GDI API (http://cairographics.org/backends/ - not sure what they mean by 'Windows GDI backend'). We'll do some tests to see if it does any better than the plain GDI API and will decide then.

Stoyan
  
Back to top
 
IP Logged
 
unisnk
Junior Member
**
Offline


D'Oh!

Posts: 59
Joined: Sep 3rd, 2008
Re: Cairo Graphics Engine
Reply #2 - Sep 25th, 2008 at 7:41am
Print Post  
well, keep us informed  Wink
  
Back to top
 
IP Logged
 
unisnk
Junior Member
**
Offline


D'Oh!

Posts: 59
Joined: Sep 3rd, 2008
Re: Cairo Graphics Engine
Reply #3 - Nov 27th, 2008 at 12:07pm
Print Post  
and what about DirectX ? Is possible to implement them?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Cairo Graphics Engine
Reply #4 - Nov 28th, 2008 at 3:39pm
Print Post  
Afraid not; there aren't functions in the DirectX API for drawing arcs, beziers, etc. and our activex developer is too lazy to code them on his own Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint