diff options
author | Tor Andersson <tor@ghostscript.com> | 2004-10-05 07:23:36 +0200 |
---|---|---|
committer | Tor Andersson <tor@ghostscript.com> | 2004-10-05 07:23:36 +0200 |
commit | 7ad0eac4b8c81c5123ef5a62b23ba2895dd997c8 (patch) | |
tree | 09d5530e86be7e7b9da37dff2668e31d18a78fb5 /tree/form.c | |
parent | 00905a4e2b959ccc3b79381acbf1d3b8e5319e8e (diff) | |
download | mupdf-7ad0eac4b8c81c5123ef5a62b23ba2895dd997c8.tar.xz |
refactor and rename node types
Diffstat (limited to 'tree/form.c')
-rw-r--r-- | tree/form.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tree/form.c b/tree/form.c deleted file mode 100644 index dd45aad9..00000000 --- a/tree/form.c +++ /dev/null @@ -1,30 +0,0 @@ -#include <fitz.h> - -fz_error * -fz_newform(fz_node **nodep, fz_tree *child) -{ - fz_form *node; - - node = fz_malloc(sizeof (fz_form)); - if (!node) - return fz_outofmem; - *nodep = (fz_node*)node; - - fz_initnode((fz_node*)node, FZ_NFORM); - node->tree = child; - - return nil; -} - -void -fz_freeform(fz_form *node) -{ - fz_free(node); -} - -fz_rect -fz_boundform(fz_form *node, fz_matrix ctm) -{ - return fz_boundtree(node->tree, ctm); -} - |