Cairo Functionalities

[email protected] ("Akshat Gupta")
Newsgroups php.gtk.dev
Message-ID <[email protected]>
Hi,

Can we make cairo a hard dependency for php-gtk? There are several functions
which require cairo support.

The famous ones include the gtk_print_context_* ones. More importantly,
direct cairo drawing support can be added by returning a CairoContext object
 from gdkWindow - leading to the availability of custom widgets.

So, we plan to define an #ifdef if cairo is found, and if it is not, we
simply don't build the corresponding methods (much like how the 2.8/2.10
overrides are handled currently). Is this approach OK?

Any comments or suggestions are greatly appreciated.

Regards,
Akshat Gupta
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.