Forum > Third party
Cairo examples
Roland57:
Hello! Some years ago I wrote a collection of examples using Cairo, for a chapter of a book that has never been published. Maybe it could interest someone.
The first examples are simple Pascal programs. The other are Lazarus projects. The drawing is done in a TPaintBox. The Lazarus projects are only for Windows. I don't know how to do the same under Linux. If someone knows...
cairo-pascal-tutorial-source.zip
Regards.
Roland
Roland57:
Here is another example which is not in the package. Maybe I already posted it in the forum, I don't remember. :)
Fred vS:
Hello Roland!
OK, you convert me.
But the first thing needed is a dynamic-loading-of-libcairo version of cairo.pp.
OK, I will begin with this out-of-the-box important needed thing.
Write you later.
Fre;D
Fred vS:
Hello.
Included dynamic loading version of cairo.pp
You may use ca_load(path_of_libcairo) at init of the program.
A empty filename will load libcairo from system (if installed).
There is also Roland-roulette demo using cairo_dyn.pas.
Fre;D
Roland57:
Interesting. Thank you Fred.
Navigation
[0] Message Index
[#] Next page