[cairo] rcairo and xcb
cedlemo at gmx.com
Sun Jan 27 06:55:05 PST 2013
On 27/01/2013 14:31, Kouhei Sutou wrote:
> In <5103AC67.6010406 at gmx.com>
> "[cairo] rcairo and xcb" on Sat, 26 Jan 2013 11:13:59 +0100,
> cedlemo <cedlemo at gmx.com> wrote:
>> I would like to
>> know if the functions in cairo-xcb.h (like cairo_xcb_surface_create)
>> have been implemented in rcairo.
> No. It is not implemented because we didn't have XCB
> binding. :-)
>> I have read the source and found some
>> references to XCBSurface classes but I don't find any related methods
>> to use.
> The class is just a skeleton. There is no related method.
>> This will help me to understand how I could pass data (
>> xcb_connection_t, xcb_drawable, xcb_visual_type) from my xcb module to
>> the rcairo module in order to draw on windows generated by my xcb
> We need to modify rcairo to use your XCB module like
> QuartzSurface. It uses RubyCocoa to convert between
> CGContextRef and VALUE.
I just want to let you know some facts before I ask you "The question" :
- my xcb ruby module is not official (for fun I said in my first message)
- I can say that my module, for now cover ~95% of the xcb-core and some
- my module is based on swig 2.0.
- I am not a professional developer.
do you plan to modify rcairo in order to provide some methods to create
If no, if I am able to create the xcb related methods that can be used
with my xcb module, will you push them in rcairo or should I have to
fork you rcairo and work on my side.
More information about the cairo