summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-12-25 11:37:35 +0000
committerJames Bursa <james@netsurf-browser.org>2004-12-25 11:37:35 +0000
commited05aa87f8cdd8c53b37d68d89d295848edf2534 (patch)
tree13515f17ceee5f3a033bd056eb08b3e1cc78aaa9 /desktop
parent6dd1ab8fadf21d30eba7053c828c4e3497a4a76b (diff)
downloadnetsurf-ed05aa87f8cdd8c53b37d68d89d295848edf2534.tar.gz
netsurf-ed05aa87f8cdd8c53b37d68d89d295848edf2534.tar.bz2
[project @ 2004-12-25 11:37:35 by bursa]
Fix line endings. svn path=/import/netsurf/; revision=1409
Diffstat (limited to 'desktop')
-rw-r--r--desktop/plotters.h98
1 files changed, 49 insertions, 49 deletions
diff --git a/desktop/plotters.h b/desktop/plotters.h
index 60465f3e8..5cf94f39b 100644
--- a/desktop/plotters.h
+++ b/desktop/plotters.h
@@ -1,49 +1,49 @@
-/*
- * This file is part of NetSurf, http://netsurf.sourceforge.net/
- * Licensed under the GNU General Public License,
- * http://www.opensource.org/licenses/gpl-license
- * Copyright 2004 James Bursa <bursa@users.sourceforge.net>
- */
-
-/** \file
- * Target independent plotting (interface).
- */
-
-#ifndef _NETSURF_DESKTOP_PLOTTERS_H_
-#define _NETSURF_DESKTOP_PLOTTERS_H_
-
-#include <stdbool.h>
-#include "netsurf/css/css.h"
-
-
-struct bitmap;
-struct font_data;
-
-
-/** Set of target specific plotting functions. */
-struct plotter_table {
- bool (*clg)(colour c);
- bool (*rectangle)(int x0, int y0, int width, int height,
- int line_width, colour c, bool dotted, bool dashed);
- bool (*line)(int x0, int y0, int x1, int y1, int width,
- colour c, bool dotted, bool dashed);
- bool (*polygon)(int *p, unsigned int n, colour fill);
- bool (*fill)(int x0, int y0, int x1, int y1, colour c);
- bool (*clip)(int x0, int y0, int x1, int y1);
- bool (*text)(int x, int y, struct font_data *font, const char *text,
- size_t length, colour bg, colour c);
- bool (*disc)(int x, int y, int radius, colour c);
- bool (*bitmap)(int x, int y, int width, int height,
- struct bitmap *bitmap, colour bg);
- bool (*bitmap_tile)(int x, int y, int width, int height,
- struct bitmap *bitmap, colour bg,
- bool repeat_x, bool repeat_y);
- bool (*group_start)(const char *name);
- bool (*group_end)(void);
-};
-
-/** Current plotters, must be assigned before use. */
-extern struct plotter_table plot;
-
-
-#endif
+/*
+ * This file is part of NetSurf, http://netsurf.sourceforge.net/
+ * Licensed under the GNU General Public License,
+ * http://www.opensource.org/licenses/gpl-license
+ * Copyright 2004 James Bursa <bursa@users.sourceforge.net>
+ */
+
+/** \file
+ * Target independent plotting (interface).
+ */
+
+#ifndef _NETSURF_DESKTOP_PLOTTERS_H_
+#define _NETSURF_DESKTOP_PLOTTERS_H_
+
+#include <stdbool.h>
+#include "netsurf/css/css.h"
+
+
+struct bitmap;
+struct font_data;
+
+
+/** Set of target specific plotting functions. */
+struct plotter_table {
+ bool (*clg)(colour c);
+ bool (*rectangle)(int x0, int y0, int width, int height,
+ int line_width, colour c, bool dotted, bool dashed);
+ bool (*line)(int x0, int y0, int x1, int y1, int width,
+ colour c, bool dotted, bool dashed);
+ bool (*polygon)(int *p, unsigned int n, colour fill);
+ bool (*fill)(int x0, int y0, int x1, int y1, colour c);
+ bool (*clip)(int x0, int y0, int x1, int y1);
+ bool (*text)(int x, int y, struct font_data *font, const char *text,
+ size_t length, colour bg, colour c);
+ bool (*disc)(int x, int y, int radius, colour c);
+ bool (*bitmap)(int x, int y, int width, int height,
+ struct bitmap *bitmap, colour bg);
+ bool (*bitmap_tile)(int x, int y, int width, int height,
+ struct bitmap *bitmap, colour bg,
+ bool repeat_x, bool repeat_y);
+ bool (*group_start)(const char *name);
+ bool (*group_end)(void);
+};
+
+/** Current plotters, must be assigned before use. */
+extern struct plotter_table plot;
+
+
+#endif