Indentation fix, cleanup.
[AROS.git] / rom / graphics / setdrmd.c
blob9180a411055dccdd4e8f26db2aa6b0a5f621f6af
1 /*
2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function SetDrMd()
6 Lang: english
7 */
9 #include "graphics_intern.h"
10 #include "gfxfuncsupport.h"
12 /*****************************************************************************
14 NAME */
15 #include <graphics/rastport.h>
16 #include <proto/graphics.h>
18 AROS_LH2I(void, SetDrMd,
20 /* SYNOPSIS */
21 AROS_LHA(struct RastPort *, rp, A1),
22 AROS_LHA(ULONG , drawMode, D0),
24 /* LOCATION */
25 struct GfxBase *, GfxBase, 59, Graphics)
27 /* FUNCTION
28 Set the drawing mode for lines, fills and text.
30 INPUTS
31 rp - RastPort
32 drawMode - see graphics/rastport.h for possible flags.
34 RESULT
36 NOTES
38 EXAMPLE
40 BUGS
42 SEE ALSO
44 INTERNALS
46 HISTORY
47 29-10-95 digulla automatically created from
48 graphics_lib.fd and clib/graphics_protos.h
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 rp->DrawMode = drawMode;
55 rp->linpatcnt = 15;
57 AROS_LIBFUNC_EXIT
58 } /* SetDrMd */