source: toilet/trunk/src/figlet.c @ 1102

Last change on this file since 1102 was 1102, checked in by Sam Hocevar, 16 years ago
  • Added content description to all source files.
  • Property svn:keywords set to Id
File size: 851 bytes
Line 
1/*
2 *  TOIlet        The Other Implementation’s letters
3 *  Copyright (c) 2006 Sam Hocevar <sam@zoy.org>
4 *                All Rights Reserved
5 *
6 *  $Id: figlet.c 1102 2006-09-23 22:58:02Z sam $
7 *
8 *  This program 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
11 *  http://sam.zoy.org/wtfpl/COPYING for more details.
12 */
13
14/*
15 * This file contains functions for handling FIGlet fonts.
16 */
17
18#include "config.h"
19
20#if defined(HAVE_INTTYPES_H)
21#   include <inttypes.h>
22#endif
23#include <cucul.h>
24
25#include "figlet.h"
26
27cucul_canvas_t *render_figlet(uint32_t const *string, unsigned int length,
28                              char const *fontname)
29{
30    cucul_canvas_t *cv;
31
32
33
34    cv = cucul_create_canvas(3, 1);
35    cucul_putstr(cv, 0, 0, "LOL");
36    return cv;
37}
38
Note: See TracBrowser for help on using the repository browser.