Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef GOFFICE_UTILS_H
00023 #define GOFFICE_UTILS_H
00024
00025 #include <glib.h>
00026 #include <pango/pango.h>
00027 #include <gdk/gdk.h>
00028
00029 G_BEGIN_DECLS
00030
00031 typedef guint32 GOColor;
00032 typedef struct _GOEditor GOEditor;
00033 typedef struct _GOFont GOFont;
00034 typedef struct _GOFontMetrics GOFontMetrics;
00035 typedef struct _GOPattern GOPattern;
00036 typedef struct _GOMarker GOMarker;
00037 typedef struct _GOFormat GOFormat;
00038 typedef struct _GODateConventions GODateConventions;
00039 typedef struct _GOImage GOImage;
00040 typedef struct _GOPath GOPath;
00041 typedef struct _GOString GOString;
00042 typedef struct _GOStyle GOStyle;
00043 typedef struct _GOStyledObject GOStyledObject;
00044
00045
00046 typedef struct _GOMemChunk GOMemChunk;
00047
00048 typedef const char *(*GOTranslateFunc)(char const *path, gpointer func_data);
00049
00050 typedef enum {
00051 GO_LINE_NONE,
00052 GO_LINE_SOLID,
00053 GO_LINE_S_DOT,
00054 GO_LINE_S_DASH_DOT,
00055 GO_LINE_S_DASH_DOT_DOT,
00056 GO_LINE_DASH_DOT_DOT_DOT,
00057 GO_LINE_DOT,
00058 GO_LINE_S_DASH,
00059 GO_LINE_DASH,
00060 GO_LINE_LONG_DASH,
00061 GO_LINE_DASH_DOT,
00062 GO_LINE_DASH_DOT_DOT,
00063 GO_LINE_MAX
00064 } GOLineDashType;
00065
00066 typedef enum {
00067 GO_LINE_INTERPOLATION_LINEAR,
00068 GO_LINE_INTERPOLATION_SPLINE,
00069 GO_LINE_INTERPOLATION_CLOSED_SPLINE,
00070 GO_LINE_INTERPOLATION_CUBIC_SPLINE,
00071 GO_LINE_INTERPOLATION_PARABOLIC_CUBIC_SPLINE,
00072 GO_LINE_INTERPOLATION_CUBIC_CUBIC_SPLINE,
00073 GO_LINE_INTERPOLATION_CLAMPED_CUBIC_SPLINE,
00074 GO_LINE_INTERPOLATION_STEP_START,
00075 GO_LINE_INTERPOLATION_STEP_END,
00076 GO_LINE_INTERPOLATION_STEP_CENTER_X,
00077 GO_LINE_INTERPOLATION_STEP_CENTER_Y,
00078 GO_LINE_INTERPOLATION_MAX
00079 } GOLineInterpolation;
00080
00081 typedef enum
00082 {
00083 GO_ANCHOR_CENTER,
00084 GO_ANCHOR_NORTH,
00085 GO_ANCHOR_NORTH_WEST,
00086 GO_ANCHOR_NORTH_EAST,
00087 GO_ANCHOR_SOUTH,
00088 GO_ANCHOR_SOUTH_WEST,
00089 GO_ANCHOR_SOUTH_EAST,
00090 GO_ANCHOR_WEST,
00091 GO_ANCHOR_EAST,
00092 GO_ANCHOR_N = GO_ANCHOR_NORTH,
00093 GO_ANCHOR_NW = GO_ANCHOR_NORTH_WEST,
00094 GO_ANCHOR_NE = GO_ANCHOR_NORTH_EAST,
00095 GO_ANCHOR_S = GO_ANCHOR_SOUTH,
00096 GO_ANCHOR_SW = GO_ANCHOR_SOUTH_WEST,
00097 GO_ANCHOR_SE = GO_ANCHOR_SOUTH_EAST,
00098 GO_ANCHOR_W = GO_ANCHOR_WEST,
00099 GO_ANCHOR_E = GO_ANCHOR_EAST
00100 } GOAnchorType;
00101
00102 G_END_DECLS
00103
00104 #include <goffice/goffice.h>
00105
00106 #include <goffice/utils/go-color.h>
00107 #include <goffice/utils/go-file.h>
00108
00109 #include <goffice/utils/go-image.h>
00110
00111 #endif