FDOSTUI
FreeDOS Text User Interface
clip.h
Go to the documentation of this file.
1 /*
2  CLIP.H
3 
4  License CC0 PUBLIC DOMAIN
5 
6  To the extent possible under law, Mark J. Olesen has waived all copyright
7  and related or neighboring rights to FDOSTUI Library. This work is published
8  from: United States.
9 */
10 #ifndef __clip_h__
11 
12 #include "box.h"
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 extern void
19 clip(
20  struct box*const io_area,
21  struct box const*const i_clip);
22 
23 extern void
24 clip_cleanup();
25 
26 extern void
27 clip_get(
28  struct box*const o_box);
29 
30 extern void
31 clip_push(
32  struct box const*const i_box);
33 
34 extern void
35 clip_pop();
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
41 #define __clip_h__
42 #endif
void clip_push(struct box const *const i_box)
pushes a clip region onto the top of the stack
Definition: clip.c:52
void clip_get(struct box *const o_box)
get the current clipping boundary
Definition: clip.c:32
void clip_cleanup()
release resources held by the global clip object
Definition: clip.c:23
a rectanglular region
void clip_pop()
removes a clip region from the top of the stack
Definition: clip.c:91
void clip(struct box *const io_area, struct box const *const i_clip)
clip a rectangular region
Definition: clip.c:103
defines a rectangular region
Definition: box.h:12