diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2010-01-06 16:56:04 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2010-01-06 16:56:04 +0000 |
commit | 5e173f639d10c44567e3dc2c53d459a0b102fb84 (patch) | |
tree | bce192aedda45c4d2260ce29344ccad46b37358c /pencil_internal.h | |
parent | c245c9a32687edd068bd9eacb16e966c3b6dd8c8 (diff) | |
download | libpencil-5e173f639d10c44567e3dc2c53d459a0b102fb84.tar.gz libpencil-5e173f639d10c44567e3dc2c53d459a0b102fb84.tar.bz2 |
Port to core buildsystemreleases/0.0.1
svn path=/trunk/pencil/; revision=9793
Diffstat (limited to 'pencil_internal.h')
-rw-r--r-- | pencil_internal.h | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/pencil_internal.h b/pencil_internal.h deleted file mode 100644 index df9fca9..0000000 --- a/pencil_internal.h +++ /dev/null @@ -1,73 +0,0 @@ -/* - * This file is part of Pencil - * Licensed under the MIT License, - * http://www.opensource.org/licenses/mit-license - * Copyright 2005 James Bursa <james@semichrome.net> - */ - -#ifndef PENCIL_INTERNAL_H -#define PENCIL_INTERNAL_H - -#include <stdbool.h> -#include "pencil.h" - - -struct pencil_item; - - -struct pencil_diagram { - struct pencil_item *root; - struct pencil_item *current_group; -}; - -typedef enum { - pencil_GROUP, - pencil_TEXT, - pencil_PATH, - pencil_SPRITE, -} pencil_item_type; - -struct pencil_item { - pencil_item_type type; - - pencil_colour fill_colour; - pencil_colour outline_colour; - - char *group_name; - - int x, y; - - const char *font_family; - rufl_style font_style; - unsigned int font_size; - char *text; - - int *path; - unsigned int path_size; - int thickness; - pencil_join join; - pencil_cap start_cap; - pencil_cap end_cap; - int cap_width; - int cap_length; - bool even_odd; - pencil_pattern pattern; - - int width, height; - const char *sprite; - - struct { - int x0; - int y0; - int x1; - int y1; - } bbox; - - struct pencil_item *parent; - struct pencil_item *next; - struct pencil_item *children; - struct pencil_item *last; -}; - - -#endif |