Changeset 1280 for libcaca/trunk/doc
- Timestamp:
- Nov 5, 2006, 7:31:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/doc/tutorial.dox
r1279 r1280 44 44 45 45 What does it do ? (we skip variable definitions, guessing you have a brain) : 46 - Create a cucul canvas. A canvas is where everything happens. Writing characters, sprites, strings, images, everything. It is mandatory and is the reason forlibcuculs' beeing. Size is there a width of 0 pixels, and a height of 0 pixels. It'll be resized according to contents you put in it.46 - Create a cucul canvas. A canvas is where everything happens. Writing characters, sprites, strings, images, everything. It is mandatory and is the reason of libcuculs' beeing. Size is there a width of 0 pixels, and a height of 0 pixels. It'll be resized according to contents you put in it. 47 47 48 48 - Create a caca display. This is basically the window. Physically it can be a window (most of the displays), a console (ncurses, slang) or a real display (VGA). … … 63 63 64 64 65 You can then compile this code under UNIX-like systems with following command : (you'll need pkg-config and gcc) 66 \code 67 gcc `pkg-config --libs --cflags cucul caca` example.c -o example 68 \endcode 69 65 70 */
Note: See TracChangeset
for help on using the changeset viewer.