Cairo

Description

Cairo graphics for Cuis Smalltalk

Details

Source
GitHub
Dialect
cuis (65% confidence)
License
MIT
Stars
3
Created
Oct. 13, 2019
Updated
Sept. 3, 2024
Topics
cuis-smalltalk graphics smalltalk

Categories

UI / Graphics

README excerpt

# Cairo

Cairo graphics for Cuis Smalltalk

## Install:

```smalltalk
Feature require: 'CairoMorphic'.
```

Close all your browser windows and the Transcript and try:

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

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

```smalltalk
CairoMorphExample new openInWorld.
```

To install/uninstall the Cairo canvas:

```smalltalk
CairoDisplayScreen install.
CairoDisplayScreen uninstall.
```
← Back to results