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

Last change on this file since 1101 was 1101, checked in by Sam Hocevar, 13 years ago
  • Created skeleton for future FIGlet font handling. Nothing here yet.
  • Property svn:keywords set to Id
File size: 784 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 1101 2006-09-23 22:53:17Z 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#include "config.h"
15
16#if defined(HAVE_INTTYPES_H)
17#   include <inttypes.h>
18#endif
19#include <cucul.h>
20
21#include "figlet.h"
22
23cucul_canvas_t *render_figlet(uint32_t const *string, unsigned int length,
24                              char const *fontname)
25{
26    cucul_canvas_t *cv;
27
28
29
30    cv = cucul_create_canvas(3, 1);
31    cucul_putstr(cv, 0, 0, "LOL");
32    return cv;
33}
34
Note: See TracBrowser for help on using the repository browser.