~ubuntu-branches/ubuntu/raring/libcaca/raring

« back to all changes in this revision

Viewing changes to cucul/cucul.h

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hocevar (Debian packages)
  • Date: 2007-10-13 20:10:44 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20071013201044-35yldy9w3xe7iy2j
Tags: 0.99.beta12.debian-3
* debian/control:
  + Build-depend on texlive instead of all the other texlive-* packages so
    that we have the proper fonts at build time (Closes: #445797).

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 *  Copyright (c) 2002-2006 Sam Hocevar <sam@zoy.org>
4
4
 *                All Rights Reserved
5
5
 *
6
 
 *  $Id: cucul.h 1063 2006-11-13 23:16:35Z sam $
 
6
 *  $Id: cucul.h 1141 2007-07-17 20:46:18Z sam $
7
7
 *
8
 
 *  This library is free software; you can redistribute it and/or
9
 
 *  modify it under the terms of the Do What The Fuck You Want To
10
 
 *  Public License, Version 2, as published by Sam Hocevar. See
 
8
 *  This library is free software. It comes without any warranty, to
 
9
 *  the extent permitted by applicable law. You can redistribute it
 
10
 *  and/or modify it under the terms of the Do What The Fuck You Want
 
11
 *  To Public License, Version 2, as published by Sam Hocevar. See
11
12
 *  http://sam.zoy.org/wtfpl/COPYING for more details.
12
13
 */
13
14
 
14
15
/** \file cucul.h
15
 
 *  \version \$Id: cucul.h 1063 2006-11-13 23:16:35Z sam $
 
16
 *  \version \$Id: cucul.h 1141 2007-07-17 20:46:18Z sam $
16
17
 *  \author Sam Hocevar <sam@zoy.org>
17
18
 *  \brief The \e libcucul public header.
18
19
 *
119
120
int cucul_invert(cucul_canvas_t *);
120
121
int cucul_flip(cucul_canvas_t *);
121
122
int cucul_flop(cucul_canvas_t *);
122
 
int cucul_rotate(cucul_canvas_t *);
 
123
int cucul_rotate_180(cucul_canvas_t *);
 
124
int cucul_rotate_left(cucul_canvas_t *);
 
125
int cucul_rotate_right(cucul_canvas_t *);
 
126
int cucul_stretch_left(cucul_canvas_t *);
 
127
int cucul_stretch_right(cucul_canvas_t *);
123
128
/*  @} */
124
129
 
125
130
/** \defgroup attributes libcucul attribute conversions
141
146
unsigned int cucul_utf32_to_utf8(char *, unsigned long int);
142
147
unsigned char cucul_utf32_to_cp437(unsigned long int);
143
148
unsigned long int cucul_cp437_to_utf32(unsigned char);
 
149
char cucul_utf32_to_ascii(unsigned long int);
144
150
int cucul_utf32_is_fullwidth(unsigned long int);
145
151
/*  @} */
146
152
 
284
290
                                         char const *) CUCUL_DEPRECATED;
285
291
    cucul_canvas_t * cucul_import_canvas(cucul_buffer_t *,
286
292
                                         char const *) CUCUL_DEPRECATED;
 
293
    int cucul_rotate(cucul_canvas_t *) CUCUL_DEPRECATED;
287
294
#   define CUCUL_COLOR_BLACK CUCUL_BLACK
288
295
#   define CUCUL_COLOR_BLUE CUCUL_BLUE
289
296
#   define CUCUL_COLOR_GREEN CUCUL_GREEN