1. Cairo Wrapper

Hello,

I have recently finished writing my Cairo wrapper.

http://www.rapideuphoria.com/uploads/eucairo.zip

It should be on the main site within a few hours or so. I have wrapped all the functions. It has been written in Euphoria to take advantage of the new features Eu 4 offers on making wrappers. Hope it can be of use with Redy.

new topic     » topic index » view message » categorize

2. Re: Cairo Wrapper

Corrected link:

http://www.rapideuphoria.com/eucairo.zip

line 1540, 1847:

 sequence str = allocate_string(utf,1) 

should be

 atom str = allocate_string(utf,1) 

line 110:

enum type cairo_path_data_type_t 

should be

global enum type cairo_path_data_type_t 

Missing libs (32 bit windows): libfontconfig-1.dll, libfreetype-6.dll, libpng12.dll, zlib1.dll
64-bit versions?

Any tests/demos?

new topic     » goto parent     » topic index » view message » categorize

3. Re: Cairo Wrapper

I ran quick test and I didn't get any errors. I've been meaning to add some demos, I haven't got around to them yet.

new topic     » goto parent     » topic index » view message » categorize

4. Re: Cairo Wrapper

Ok I added the missing the DLLs, included a sample program and fixed the wrong code.

http://www.rapideuphoria.com/uploads/eucairo.zip

I am still kinda unsure how the cairo backend works. However, the wrapper appears to work. The update should be on the main site in a few hours or so.

new topic     » goto parent     » topic index » view message » categorize

5. Re: Cairo Wrapper

Icy_Viking said...

Ok I added the missing the DLLs,

Turns out there is another one: libxml2-2.dll

Icy_Viking said...

included a sample program and fixed the wrong code.

Thanks, I'll give that a closer look soon, once I get libxmxl2-2.dll.

Same correction to the link applies. (Maybe that works for you, but not for us?)

All looks promising, as far as I can get, and Phix-compatible, keep up the good work.

Pete

new topic     » goto parent     » topic index » view message » categorize

6. Re: Cairo Wrapper

petelomax said...
Icy_Viking said...

Ok I added the missing the DLLs,

Turns out there is another one: libxml2-2.dll

Icy_Viking said...

included a sample program and fixed the wrong code.

Thanks, I'll give that a closer look soon, once I get libxmxl2-2.dll.

Same correction to the link applies. (Maybe that works for you, but not for us?)

All looks promising, as far as I can get, and Phix-compatible, keep up the good work.

Pete

Looks interesting. I will try it soon.

new topic     » goto parent     » topic index » view message » categorize

7. Re: Cairo Wrapper

Ok I updated it with the missing DLL again. I hope there are no missing DLLs. I am using the win32 port of cairo. I'm not sure what DLLs or .SOs you would need under GNU/Linux. Hope this Wrapper can help those who need it.

http://www.RapidEuphoria.com/uploads/eucairo.zip

new topic     » goto parent     » topic index » view message » categorize

8. Re: Cairo Wrapper

Icy_Viking said...

Ok I updated it with the missing DLL again. I hope there are no missing DLLs. I am using the win32 port of cairo. I'm not sure what DLLs or .SOs you would need under GNU/Linux. Hope this Wrapper can help those who need it.

http://www.RapidEuphoria.com/uploads/eucairo.zip

http://rapideuphoria.com/eucairo.zip works better

new topic     » goto parent     » topic index » view message » categorize

9. Re: Cairo Wrapper

Icy_Viking said...

I hope there are no missing DLLs.

No such luck. It needs libpng12.dll not libpng15-15.dll

Icy_Viking said...

I am using the win32 port of cairo.

Where exactly did you get that?

Pete

new topic     » goto parent     » topic index » view message » categorize

10. Re: Cairo Wrapper

petelomax said...
Icy_Viking said...

I hope there are no missing DLLs.

No such luck. It needs libpng12.dll not libpng15-15.dll

Icy_Viking said...

I am using the win32 port of cairo.

Where exactly did you get that?

Pete

I got it from here http://gladewin32.sourceforge.net/

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu