Mercurial > hg > dmlib
annotate src/dmline.c @ 2496:6a6ed3eeded5
Fix parsing of some arguments to -S option.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Tue, 28 Apr 2020 20:55:34 +0300 |
parents | 1e5cf1144f36 |
children |
rev | line source |
---|---|
0 | 1 /* |
2 * DMLib | |
3 * -- Arbitrary line drawing functions | |
4 * Programmed and designed by Matti 'ccr' Hamalainen | |
5 * (C) Copyright 2011 Tecnic Software productions (TNSP) | |
6 */ | |
7 #include "dmlib.h" | |
8 | |
9 /* Clip line coordinates. Return value: | |
10 * = 0 : No clipping needed. | |
11 * > 0 : Clipped. Line partially inside the clipping area. | |
12 * < 0 : Line completely outside the clipping area. | |
13 */ | |
232
79dac918c81e
Modularize line clipping etc. a lot, and export all line drawing and
Matti Hamalainen <ccr@tnsp.org>
parents:
133
diff
changeset
|
14 #define DM_CLIP_FUNC dmClipLineCoordsFloat |
234
a2abd0b991b6
Modularize line drawing related templates and functions, add clipping
Matti Hamalainen <ccr@tnsp.org>
parents:
232
diff
changeset
|
15 #define DM_COORD_TYPE DMFloat |
232
79dac918c81e
Modularize line clipping etc. a lot, and export all line drawing and
Matti Hamalainen <ccr@tnsp.org>
parents:
133
diff
changeset
|
16 #include "dmlineclip.h" |
0 | 17 |
18 | |
19 #include "dmlinefunc.h" |