Ignore:
Timestamp:
Nov 5, 2006, 7:31:45 PM (13 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed typo, added compilation example
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/doc/tutorial.dox

    r1279 r1280  
    4444
    4545What 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 for 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.
     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.
    4747
    4848- 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).
     
    6363
    6464
     65You can then compile this code under UNIX-like systems with following command : (you'll need pkg-config and gcc)
     66\code
     67gcc `pkg-config --libs --cflags cucul caca` example.c -o example
     68\endcode
     69
    6570*/
Note: See TracChangeset for help on using the changeset viewer.