1. Cairo Wrapper
- Posted by Icy_Viking Aug 12, 2016
- 1744 views
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.
2. Re: Cairo Wrapper
- Posted by petelomax Aug 13, 2016
- 1712 views
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?
3. Re: Cairo Wrapper
- Posted by Icy_Viking Aug 13, 2016
- 1676 views
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.
4. Re: Cairo Wrapper
- Posted by Icy_Viking Aug 13, 2016
- 1688 views
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.
5. Re: Cairo Wrapper
- Posted by petelomax Aug 13, 2016
- 1639 views
Ok I added the missing the DLLs,
Turns out there is another one: libxml2-2.dll
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
6. Re: Cairo Wrapper
- Posted by ryanj Aug 14, 2016
- 1618 views
Ok I added the missing the DLLs,
Turns out there is another one: libxml2-2.dll
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.
7. Re: Cairo Wrapper
- Posted by Icy_Viking Aug 14, 2016
- 1603 views
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.
8. Re: Cairo Wrapper
- Posted by unsteady Aug 14, 2016
- 1585 views
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://rapideuphoria.com/eucairo.zip works better
9. Re: Cairo Wrapper
- Posted by petelomax Aug 15, 2016
- 1591 views
I hope there are no missing DLLs.
No such luck. It needs libpng12.dll not libpng15-15.dll
I am using the win32 port of cairo.
Where exactly did you get that?
Pete
10. Re: Cairo Wrapper
- Posted by Icy_Viking Aug 15, 2016
- 1579 views
I hope there are no missing DLLs.
No such luck. It needs libpng12.dll not libpng15-15.dll
I am using the win32 port of cairo.
Where exactly did you get that?
Pete
I got it from here http://gladewin32.sourceforge.net/