GRASS GIS 8 Programmer's Manual  8.2.2dev(2023)-3d2c704037
clip.h
Go to the documentation of this file.
1 
2 #ifndef DISPLAYLIB_CLIP_H
3 #define DISPLAYLIB_CLIP_H
4 
5 #include "path.h"
6 
7 struct plane
8 {
9  double x, y, k;
10 };
11 
12 struct clip
13 {
14  struct plane left, rite, bot, top;
15 };
16 
17 struct rectangle
18 {
19  double left, rite, bot, top;
20 };
21 
22 void D__set_clip_planes(struct clip *, const struct rectangle *);
23 void D__cull_path(struct path *, const struct path *, const struct clip *);
24 void D__clip_path(struct path *, const struct path *, const struct clip *);
25 
26 #endif
27 
Definition: clip.h:12
void D__clip_path(struct path *, const struct path *, const struct clip *)
Definition: clip.c:145
double y
Definition: clip.h:9
double top
Definition: clip.h:19
double k
Definition: clip.h:9
void D__cull_path(struct path *, const struct path *, const struct clip *)
Definition: clip.c:129
void D__set_clip_planes(struct clip *, const struct rectangle *)
Definition: clip.c:110
double x
Definition: clip.h:9
Definition: clip.h:17
Definition: path.h:16
Definition: clip.h:7