11.01.2015 Views

CLIM 2 User Guide

CLIM 2 User Guide

CLIM 2 User Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

3.1.3 Sheets and Streams, and Mediums 29<br />

3.2 Examples of Using <strong>CLIM</strong> Drawing Functions 29<br />

3.3 <strong>CLIM</strong> drawing functions 30<br />

3.4 Medium-level drawing functions in <strong>CLIM</strong> 38<br />

3.5 Pixmaps in <strong>CLIM</strong> 40<br />

3.5.1 Example of Using <strong>CLIM</strong> Pixmaps 42<br />

3.6 General geometric objects and regions in <strong>CLIM</strong> 43<br />

3.6.1 Region predicates in <strong>CLIM</strong> 44<br />

3.6.2 Composition of <strong>CLIM</strong> regions 44<br />

3.6.3 <strong>CLIM</strong> point objects 46<br />

3.6.4 Polygons and polylines in <strong>CLIM</strong> 46<br />

3.6.5 Lines in <strong>CLIM</strong> 48<br />

3.6.6 Rectangles in <strong>CLIM</strong> 49<br />

3.6.7 Bounding Rectangles in <strong>CLIM</strong> 51<br />

3.6.8 Ellipses and Elliptical Arcs in <strong>CLIM</strong> 53<br />

4 The <strong>CLIM</strong> drawingenvironment 57<br />

4.1 Introduction to <strong>CLIM</strong> drawing environments 57<br />

4.1.1 Components of <strong>CLIM</strong> Mediums 58<br />

4.2 Using <strong>CLIM</strong> drawing options 59<br />

4.2.1 Set of <strong>CLIM</strong> drawing options 60<br />

4.2.2 Using the :filled option to certain <strong>CLIM</strong> drawing functions 62<br />

4.3 <strong>CLIM</strong> line styles 62<br />

4.3.1 <strong>CLIM</strong> line style objects 62<br />

4.3.2 <strong>CLIM</strong> line style suboptions 63<br />

4.4 Transformations in <strong>CLIM</strong> 65<br />

4.4.1 The transformations used by <strong>CLIM</strong> 66<br />

4.4.2 <strong>CLIM</strong> transformation constructors 67<br />

4.4.3 Operations on <strong>CLIM</strong> transformations 68<br />

4.4.4 Composition of <strong>CLIM</strong> transformations 70<br />

4.4.5 Applying <strong>CLIM</strong> transformations 75<br />

5 Text styles in <strong>CLIM</strong> 77<br />

5.1 Concepts of <strong>CLIM</strong> text styles 77<br />

5.2 <strong>CLIM</strong> Text Style Objects 78<br />

5.3 <strong>CLIM</strong> Text Style Suboptions 78<br />

5.4 <strong>CLIM</strong> Text Style Functions 78<br />

6 Drawing in color in <strong>CLIM</strong> 83<br />

6.1 Concepts of drawing in color in <strong>CLIM</strong> 83<br />

6.1.1 <strong>CLIM</strong> color objects 83<br />

Rendering of colors 84<br />

Palettes 84<br />

6.2 <strong>CLIM</strong> Operators for Drawing in Color 86<br />

Device colors 87<br />

Color conversion functionality 88<br />

6.2.1 Dynamic colors and layered colors 88<br />

4 <strong>CLIM</strong> 2.2 <strong>User</strong> <strong>Guide</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!