GFXprim
2D bitmap graphics library with emphasis on speed and correctness
Toggle main menu visibility
Main Page
Topics
Data Structures
Data Structures
Data Structure Index
Data Fields
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Files
File List
Globals
All
g
j
Functions
g
Variables
Typedefs
g
Enumerations
g
j
Enumerator
g
Macros
g
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
Loading...
Searching...
No Matches
include
gfx
gp_line_clip.h
Go to the documentation of this file.
1
// SPDX-License-Identifier: LGPL-2.1-or-later
2
/*
3
* Copyright (C) 2009-2010 Jiri "BlueBear" Dluhos
4
* <jiri.bluebear.dluhos@gmail.com>
5
*
6
* Copyright (C) 2009-2024 Cyril Hrubis <metan@ucw.cz>
7
*/
8
13
#ifndef GFX_GP_LINECLIP_H
14
#define GFX_GP_LINECLIP_H
15
32
int
gp_line_clip
(
int
*px0,
int
*py0,
int
*px1,
int
*py1,
int
xmax,
int
ymax);
33
34
#endif
/* GFX_GP_LINE_CLIP */
gp_line_clip
int gp_line_clip(int *px0, int *py0, int *px1, int *py1, int xmax, int ymax)
Clips a line.
Generated by
1.9.8