Skip to content

Add-on to BOGUE. Enable the use of Cairo drawing functions in Bogue's Sdl_area

License

Notifications You must be signed in to change notification settings

sanette/bogue-cairo

Repository files navigation

bogue-cairo

Add-on to Bogue.

Cairo is a famous cross-platform 2D graphics library.

The bogue-cairo library enables the use of Cairo drawing functions in Bogue's Sdl_area.

Examples

Circles

We rewrote Example #50 from the Bogue distribution using Bogue-cairo. Here is the result.

Cairo circles

You may compare the original BOGUE circle primitive (and notice that the interpretation of alpha and anti-aliasing is slightly different). The Cairo version is twice as fast.

Lines

Compare Bogue's Example #51.

Cairo lines

Interactive circles

Change the number of circles interactively using a Slider widget.

Slider

Documentation

Here

About

Add-on to BOGUE. Enable the use of Cairo drawing functions in Bogue's Sdl_area

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published