Cairo Graphics and ROS?

Here you can discuss ReactOS related topics.

Moderator: Moderator Team

Post Reply
tomleem
Posts: 631
Joined: Mon Mar 28, 2005 6:59 pm
Location: New Hampshire of United States of America
Contact:

Cairo Graphics and ROS?

Post by tomleem » Mon Jan 28, 2008 10:40 pm

http://cairographics.org/
"Cairo is a 2D graphics library with support for multiple output devices. Currently supported output targets include the X Window System, Win32, image buffers, PostScript, PDF, and SVG file output. Experimental backends include OpenGL (through glitz), Quartz, and XCB.

Cairo is designed to produce consistent output on all output media while taking advantage of display hardware acceleration when available (eg. through the X Render Extension).

The cairo API provides operations similar to the drawing operators of PostScript and PDF. Operations in cairo including stroking and filling cubic Bézier splines, transforming and compositing translucent images, and antialiased text rendering. All drawing operations can be transformed by any affine transformation (scale, rotation, shear, etc.)

Cairo is implemented as a library written in the C programming language, but bindings are available for several different programming languages.

Cairo is free software and is available to be redistributed and/or modified under the terms of either the GNU Lesser General Public License (LGPL) version 2.1 or the Mozilla Public License (MPL) version 1.1 at your option.
"

Could ReactOS benefit Cairo? :?: :idea:

8)
* * * * * * * * * * * * *
Tom Lee M / BigGoofyGuy
* * * * * * * * * * * * *

GreatLord
Developer
Posts: 926
Joined: Tue Nov 30, 2004 10:26 am
Location: Sweden

Post by GreatLord » Tue Jan 29, 2008 9:19 am

it is noting we will ship with ReactOS as defualt
it is not useavail for us.

geertvdijk
Posts: 318
Joined: Wed Jun 15, 2005 8:19 am

Post by geertvdijk » Tue Jan 29, 2008 11:41 am

GreatLord wrote:it is noting we will ship with ReactOS as defualt
it is not useavail for us.
Maybe on a long term it can be used to have some form of (2d) composited desktop? I'm not a wizard on this, but I can see it might be useful in the future...
-graey-

GreatLord
Developer
Posts: 926
Joined: Tue Nov 30, 2004 10:26 am
Location: Sweden

Post by GreatLord » Tue Jan 29, 2008 9:49 pm

no it is not usefull for not even in futuer

Matthias
Posts: 496
Joined: Tue Dec 27, 2005 12:43 am

Post by Matthias » Fri Feb 01, 2008 2:02 am

On Windows, GDI+ and/or WPF are used for vector graphics. No need for Cairo.

turican
Posts: 18
Joined: Thu Jan 10, 2008 11:58 am

Cairo is slow

Post by turican » Fri Feb 01, 2008 12:16 pm

Please no!
Cairo can use only any solution.
When we want any drawing library in RS distribution, use Qt.
Qt have many usefull features, and is speedest:
http://zrusin.blogspot.com/2006/10/benchmarks.html

Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Post by Haos » Fri Feb 01, 2008 1:11 pm

THERE WILL BE NO CAIRO NOR QT ON ROS, JUST GDI+.

If any of you guys want to draw using Cairo or QT, feel free to fork ROS and implement it yourself.

Radhad
Posts: 605
Joined: Wed Apr 12, 2006 5:09 pm
Contact:

Post by Radhad » Fri Feb 01, 2008 4:26 pm

Haos wrote:THERE WILL BE NO CAIRO NOR QT ON ROS, JUST GDI+.

If any of you guys want to draw using Cairo or QT, feel free to fork ROS and implement it yourself.
Isn't it possible to install Qt for yourself like on Windows (if the installer works)?

Haos
Test Team
Posts: 2954
Joined: Thu Mar 22, 2007 5:42 am
Contact:

Post by Haos » Fri Feb 01, 2008 5:39 pm

Sorry i got nervous. I ment that ROS will use the default windows drawing subsystem (GDI+) instead of any third party stuff. It should be capable of running any Win32 application thus QT as well.

GreatLord
Developer
Posts: 926
Joined: Tue Nov 30, 2004 10:26 am
Location: Sweden

Post by GreatLord » Sat Feb 02, 2008 2:24 am

gdiplus.dll is add on on the top of gdi32.dll

cppm
Posts: 289
Joined: Wed May 02, 2007 10:03 pm

Post by cppm » Sat Feb 02, 2008 7:03 pm

In short there is no need to have Qt or Cairo installed since the functionality is inherent in windows components, and can be installed by the third party as needed, I beleive that's what's trying to be said.

Oh, and to those who seemed to see Cairo vs Qt as something worth opening their mouths for... I should point out that Qt is a widget toolkit and cairo is a graphics library :roll: needtaspellitoutforya?

Post Reply

Who is online

Users browsing this forum: DotBot [Crawler] and 12 guests