GRASS 8 Programmer's Manual 8.6.0dev(2026)-5f4f7ad06c
Loading...
Searching...
No Matches
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
6struct plane {
7 double x, y, k;
8};
9
10struct clip {
11 struct plane left, rite, bot, top;
12};
13
14struct rectangle {
15 double left, rite, bot, top;
16};
17
18void D__set_clip_planes(struct clip *, const struct rectangle *);
19void D__cull_path(struct path *, const struct path *, const struct clip *);
20void 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
double left
Definition clip.h:15
double bot
Definition clip.h:15
double rite
Definition clip.h:15
double top
Definition clip.h:15