OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
ossim-plugins
potrace
src
imginfo.h
Go to the documentation of this file.
1
#ifndef IMGINFO_H
2
#define IMGINFO_H
3
4
#include "
trans.h
"
5
6
/* structure to hold a dimensioned value */
7
struct
dim_s
{
8
double
x
;
/* value */
9
double
d
;
/* dimension (in pt), or 0 if not given */
10
};
11
typedef
struct
dim_s
dim_t
;
12
13
/* structure to hold per-image information, set e.g. by calc_dimensions */
14
struct
imginfo_s
{
15
int
pixwidth
;
/* width of input pixmap */
16
int
pixheight
;
/* height of input pixmap */
17
double
width
;
/* desired width of image (in pt or pixels) */
18
double
height
;
/* desired height of image (in pt or pixels) */
19
double
lmar
,
rmar
,
tmar
,
bmar
;
/* requested margins (in pt) */
20
trans_t
trans
;
/* specify relative position of a tilted rectangle */
21
};
22
typedef
struct
imginfo_s
imginfo_t
;
23
24
25
#endif
/* IMGINFO_H */
imginfo_s::pixheight
int pixheight
Definition:
imginfo.h:16
imginfo_s::pixwidth
int pixwidth
Definition:
imginfo.h:15
imginfo_s::lmar
double lmar
Definition:
imginfo.h:19
dim_s
Definition:
imginfo.h:7
trans_s
Definition:
trans.h:12
imginfo_s::tmar
double tmar
Definition:
imginfo.h:19
dim_s::d
double d
Definition:
imginfo.h:9
imginfo_s::rmar
double rmar
Definition:
imginfo.h:19
dim_s::x
double x
Definition:
imginfo.h:8
imginfo_s::width
double width
Definition:
imginfo.h:17
imginfo_s
Definition:
imginfo.h:14
imginfo_s::height
double height
Definition:
imginfo.h:18
trans.h
imginfo_s::trans
trans_t trans
Definition:
imginfo.h:20
imginfo_s::bmar
double bmar
Definition:
imginfo.h:19
Generated on Fri Aug 3 2018 08:46:44 for OSSIM - Open Source Software Image Map by
1.8.14