Commit 2b002e74 authored by Jody Goldberg's avatar Jody Goldberg Committed by Jody Goldberg

remove some debug cruft.


2002-04-21  Jody Goldberg <jody@gnome.org>

	* ms-escher.c (ms_escher_read_Blip) : remove some debug cruft.
parent 539110ca
2002-04-21 Jody Goldberg <jody@gnome.org>
* ms-escher.c (ms_escher_read_Blip) : remove some debug cruft.
2002-04-15 Jon K Hellan <hellan@acm.org>
* boot.c: s/main.h/libgnumeric.h/
......
......@@ -422,7 +422,6 @@ ms_escher_read_Blip (MSEscherState * state, MSEscherHeader * h)
guint8 *buffer = g_malloc (len);
int res = uncompress (buffer, &len, tmp, compressed_len);
printf ("%d v %ld\n", uncompressed_len, len);
if (res != Z_OK) {
g_free (buffer);
failure = TRUE;
......@@ -818,13 +817,11 @@ ms_escher_read_Dgg (MSEscherState *state, MSEscherHeader *h)
return FALSE;
}
typedef struct
{
typedef struct {
gint dummy;
} EscherOption;
typedef enum
{
typedef enum {
shape_Lines = 0, /* straight line segments */
shape_LinesClosed = 1, /* closed polygonal shape */
shape_Curves = 2, /* Bezier curve segments */
......@@ -832,8 +829,7 @@ typedef enum
shape_Complex = 4, /* pSegmentInfo must be non-empty */
} ShapePath;
typedef enum
{
typedef enum {
wrap_Square = 0,
wrap_ByPoints = 1,
wrap_None = 2,
......@@ -841,8 +837,7 @@ typedef enum
wrap_Through = 4,
} WrapMode;
typedef enum
{
typedef enum {
bw_Color = 0, /* only used for predefined shades */
bw_Automatic = 1, /* depends on object type */
bw_GrayScale = 2, /* shades of gray only */
......@@ -856,8 +851,7 @@ typedef enum
bw_DontShow = 9, /* object not drawn */
} BlackWhiteMode;
typedef enum
{
typedef enum {
anchor_Top,
anchor_Middle,
anchor_Bottom,
......@@ -870,24 +864,21 @@ typedef enum
anchor_BottomCenteredBaseline
} AnchorType;
typedef enum
{
typedef enum {
rotate_0 = 0, /* Right */
rotate_90 = 1, /* Down */
rotate_180 = 2, /* Left */
rotate_270 = 3 /* Up */
} RotationType;
typedef enum
{
typedef enum {
connect_Straight = 0,
connect_Bent = 1,
connect_Curved = 2,
connect_None = 3
} ConnectStyle;
typedef enum
{
typedef enum {
flow_HorzN = 0, /* Horizontal non-@ */
flow_TtoBA = 1, /* Top to Bottom @-font */
flow_BtoT = 2, /* Bottom to Top non-@ */
......@@ -896,23 +887,20 @@ typedef enum
flow_VertN = 5, /* Vertical, non-@ */
} TextFlow;
typedef enum
{
typedef enum {
textdir_LtoR = 0,
textdir_RtoL = 1,
textdir_Context = 2, /* depends on context */
} TextDirection;
typedef enum
{
typedef enum {
callout_RightAngle = 1,
callout_OneSegment = 2,
callout_TwoSegment = 3,
callout_ThreeSegment = 4,
} CalloutType;
typedef enum
{
typedef enum {
callout_angle_Any = 0,
callout_angle_30 = 1,
callout_angle_45 = 2,
......@@ -930,8 +918,7 @@ typedef enum
} CalloutDrop;
/* Alignment - WordArt only */
typedef enum
{
typedef enum {
align_TextStretch, /* Stretch each line of text to fit width. */
align_TextCenter, /* Center text on width. */
align_TextLeft, /* Left justify. */
......@@ -941,22 +928,19 @@ typedef enum
align_TextInvalid /* Invalid */
} Alignment;
typedef enum
{
typedef enum {
render_FullRender,
render_Wireframe,
render_BoundingCube,
} RenderMode;
typedef enum
{
typedef enum {
transform_Absolute, /* Apply in absolute space centered on shape */
transform_Shape, /* Apply to shape geometry */
transform_Drawing /* Apply in drawing space */
} Transform;
typedef enum
{
typedef enum {
shadow_Offset, /* N pixel offset shadow */
shadow_Double, /* Use second offset too */
shadow_Rich, /* Rich perspective shadow (cast relative to shape) */
......@@ -966,8 +950,7 @@ typedef enum
} Shadow;
/* LengthMeasure - the type of a (length) measurement */
typedef enum
{
typedef enum {
measure_Default = 0, /* Default size, ignore the values */
measure_A = 1, /* Values are in EMUs */
measure_V = 2, /* Values are in pixels */
......@@ -982,8 +965,7 @@ typedef enum
measure_ShapeFixedBig= 11, /* Proportion of shape, fixed aspect ratio */
} LengthMeasure;
typedef enum
{
typedef enum {
fill_Solid = 0,
fill_Pattern = 1, /* bitmap */
fill_Texture = 2, /* pattern with private Colour map) */
......@@ -999,8 +981,7 @@ typedef enum
} FillType;
/* Colours in a shaded fill. */
typedef enum
{
typedef enum {
shade_None = 0, /* Interpolate without correction between RGBs */
shade_Gamma = 1, /* Apply gamma correction to colors */
shade_Sigma = 2, /* Apply a sigma transfer function to position */
......@@ -1017,8 +998,7 @@ typedef enum
} ShadeType;
/* LineStyle - compound line style */
typedef enum
{
typedef enum {
line_Simple, /* Single line (of width lineWidth) */
line_Double, /* Double lines of equal width */
line_ThickThin, /* Double lines, one thick, one thin */
......@@ -1026,16 +1006,14 @@ typedef enum
line_Triple /* Three lines, thin, thick, thin */
} LineStyle;
typedef enum
{
typedef enum {
line_fill_SolidType, /* Fill with a solid color */
line_fill_Pattern, /* Fill with a pattern (bitmap) */
line_fill_Texture, /* A texture (pattern with its own color map) */
line_fill_Picture /* Center a picture in the shape */
} LineFill;
typedef enum
{
typedef enum {
dash_Solid, /* Solid (continuous) pen */
dash_DashSys, /* PS_DASH system dash style */
dash_DotSys, /* PS_DOT system dash style */
......@@ -1049,8 +1027,7 @@ typedef enum
dash_LongDashDotDotGEL /* long dash short dash short dash */
} DashedLineStyle;
typedef enum
{
typedef enum {
line_end_NoEnd,
line_end_ArrowEnd,
line_end_ArrowStealthEnd,
......@@ -1059,30 +1036,26 @@ typedef enum
line_end_ArrowOpenEnd,
} LineEndStyle;
typedef enum
{
typedef enum {
arrow_width_Narrow = 0,
arrow_width_Medium = 1,
arrow_width_Wide = 2
} ArrowWidth;
typedef enum
{
typedef enum {
arrow_len_Short = 0,
arrow_len_Medium = 1,
arrow_len_Long = 2
} ArrowLength;
typedef enum
{
typedef enum {
line_join_Bevel, /* Join edges by a straight line */
line_join_Miter, /* Extend edges until they join */
line_join_Round /* Draw an arc between the two edges */
} LineJoin;
/* Line cap style (applies to ends of dash segments too). */
typedef enum
{
typedef enum {
line_cap_Round, /* Rounded ends - the default */
line_cap_Square, /* Square protrudes by half line width */
line_cap_Flat /* Line ends at end point */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment