Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_tlsv12/sys/src/cmd/aux/antiword/draw.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/*
2
 * draw.h
3
 * Copyright (C) 2001 A.J. van Os; Released under GPL
4
 *
5
 * Description:
6
 * Constants and macros to deal with the Draw format
7
 */
8
 
9
#if !defined(__draw_h)
10
#define __draw_h 1
11
 
12
#include "drawftypes.h"
13
 
14
typedef struct draw_jpegstrhdr_tag {
15
	draw_tagtyp	tag;	/* 1 word  */
16
	draw_sizetyp	size;	/* 1 word  */
17
	draw_bboxtyp	bbox;	/* 4 words */
18
	int	width;		/* 1 word  */
19
	int	height;		/* 1 word  */
20
	int	xdpi;		/* 1 word  */
21
	int	ydpi;		/* 1 word  */
22
	int	trfm[6];	/* 6 words */
23
	int	len;		/* 1 word  */
24
} draw_jpegstrhdr;
25
 
26
typedef struct draw_jpegstr_tag {
27
	draw_tagtyp	tag;	/* 1 word  */
28
	draw_sizetyp	size;	/* 1 word  */
29
	draw_bboxtyp	bbox;	/* 4 words */
30
	int	width;		/* 1 word  */
31
	int	height;		/* 1 word  */
32
	int	xdpi;		/* 1 word  */
33
	int	ydpi;		/* 1 word  */
34
	int	trfm[6];	/* 6 words */
35
	int	len;		/* 1 word  */
36
	unsigned char	*jpeg;
37
} draw_jpegstr;
38
 
39
typedef union draw_imageType_tag {
40
	draw_spristr	*sprite;
41
	draw_jpegstr	*jpeg;
42
	char		*bytep;
43
	int		*wordp;
44
} draw_imageType;
45
 
46
#endif /* !__draw_h */