Skip to content

Cuis-Smalltalk/Cairo

Repository files navigation

Cairo

Cairo graphics for Cuis Smalltalk

Install:

Feature require: 'CairoMorphic'.

Close all your browser windows and the Transcript and try:

CairoCanvas displayWorld.
CairoCanvas displayWorldRotated: 10.
CairoCanvas displayWorldScaled: 1.2@1.2.

There's an example of a Cairo morph embedded in normal BitBlt World:

CairoMorphExample new openInWorld.

To install/uninstall the Cairo canvas:

CairoDisplayScreen install.
CairoDisplayScreen uninstall.