Jump to content

Writing a Widget Using Cairo and PyGTK 2.8


teckV

Recommended Posts

Writing a Widget Using Cairo and PyGTK 2.8

Cairo is a powerful 2-dimensional graphics library designed to support a number of modern graphics techniques including stroking, alpha blending and antialiasing. It supports multiple output formats, which allows developers to use the same code to display graphics on the screen, print them to the printer or accellerate them with OpenGL.

As of GTK+ 2.8, GTK+ has been integrated with the Cairo 1.0 rendering library, giving developers access to this flexible graphics API. PyGTK added Cairo support in the 2.8 version. See the wiki for further info.

Parte 1

http://www.pygtk.org/articles/cairo-pygtk-widgets/cairo-pygtk-widgets.htm

Parte 2

http://gnomejournal.org/article/36/writing-a-widget-using-cairo-and-gtk28-part-2

Link to post
Share on other sites
CiberSkull

alguem sabe onde posso arranjar o port pa win?

i really hate win....

tudo de bom

I'm tired of all this nonsense about beauty being only skin-deep. That's deep enough. What do you want, an adorable pancreas? - Jean Kerr

Link to post
Share on other sites
CiberSkull

boas, um port do pycairo pa windows... eu sei q python é uma liguagem interpretada e tal, mas em http://cairographics.org/pycairo/ a um link pa sacar mas ta no formato tar.gz usado em linux... eu extrai e tentei correr o setup.py mas n funca.

no site http://www.pcpm.ucl.ac.be/~gustin/win32_ports/ podemos encontrar um setup executavel.... mas é uma versao antiga...

any ideas?

I'm tired of all this nonsense about beauty being only skin-deep. That's deep enough. What do you want, an adorable pancreas? - Jean Kerr

Link to post
Share on other sites

Epá, tens duas hipóteses. Eu fazes um port da última versão, ou usas o último port.

Não peças ajuda por PM! A tua dúvida vai ter menos atenção do que se for postada na secção correcta do fórum!

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site you accept our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.