blob: 94b7c75312fd573ac0dce3c193f812c048adb9f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
typedef struct gs_imager_state_s {
struct {
int half_width;
int cap;
float miter_limit;
} line_params;
} gs_imager_state;
static const gs_imager_state gstate_initial = { { 1 } };
void gstate_path_memory(gs_imager_state *pgs) {
*pgs = gstate_initial;
}
int gs_state_update_overprint(void)
{
return gstate_initial.line_params.half_width;
}
extern void abort (void);
int main()
{
if (gs_state_update_overprint() != 1)
abort ();
return 0;
}
|