• Main Page
  • Related Pages
  • Namespaces
  • Classes
  • Files
  • File List
  • File Members

goffice-utils.h

Go to the documentation of this file.
00001 /* vim: set sw=8: -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
00002 /*
00003  * goffice-utils.h:
00004  *
00005  * Copyright (C) 2003-2004 Jody Goldberg (jody@gnome.org)
00006  *
00007  * This program is free software; you can redistribute it and/or
00008  * modify it under the terms of version 2 of the GNU General Public
00009  * License as published by the Free Software Foundation.
00010  *
00011  * This program is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014  * GNU General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU General Public License
00017  * along with this program; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301
00019  * USA
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 /* rename this */
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 //#include <goffice/utils/go-format.h>
00109 #include <goffice/utils/go-image.h>
00110 
00111 #endif /* GOFFICE_UTILS_H */

Generated on Wed Mar 5 2014 for AbiWord by  doxygen 1.7.1