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