LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-19-2008, 01:19 PM   #1
~Linux_user~
LQ Newbie
 
Registered: Oct 2007
Location: Bryansk, Russia
Distribution: Mandriva
Posts: 9

Rep: Reputation: 0
How Cairo library works?


Hello! There are a lot of good docs about Cairo API, but nothing about realization. I want to understand the principles of drawing and such advances thing as anti-aliasing, translucency, etc. Can anyone help me in it.
Thanks
 
Old 12-20-2008, 10:24 AM   #2
Su-Shee
Member
 
Registered: Sep 2007
Location: Berlin
Distribution: Slackware
Posts: 510

Rep: Reputation: 53
AFAIK is Cairo just drawing vectors onto some surface which in case of translucency has to be an ARGB-capable surface - a PNG with an alpha channel or some composited X window.


Basic documentation and many links:

http://www.cairographics.org/documentation/

http://www.cairographics.org/samples/

Examples of compositing/transparency (very useful):

http://zetcode.com/tutorials/cairographicstutorial/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Vuze is not working properly : Unable to load graphics library (Cairo is required) errorsunknownp Linux - Software 1 12-12-2008 11:21 AM
compiling Cairo ryanfx Linux - Software 3 12-08-2008 09:43 AM
pckage "cairo" required by cairo" not found barunparichha Linux - Software 4 06-25-2008 08:29 AM
cairo-clock jahanzeb1982 Linux - Software 0 03-24-2008 04:14 AM
installing cairo? lilili Linux - Newbie 9 02-01-2006 12:19 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:29 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration