GFXprim
2D bitmap graphics library with emphasis on speed and correctness
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