Mixed tabs/spaces to spaces.
[AROS.git] / rom / graphics / move.c
blobcfc4723cb1532cd5e900f58b98018b5bf781411a
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$ $Log
5 Desc: Graphics function Move()
6 Lang: english
7 */
8 #include <graphics/rastport.h>
9 #include "graphics_intern.h"
10 #include "gfxfuncsupport.h"
12 /*****************************************************************************
14 NAME */
15 #include <graphics/rastport.h>
16 #include <proto/graphics.h>
18 AROS_LH3(void, Move,
20 /* SYNOPSIS */
21 AROS_LHA(struct RastPort *, rp, A1),
22 AROS_LHA(WORD , x, D0),
23 AROS_LHA(WORD , y, D1),
25 /* LOCATION */
26 struct GfxBase *, GfxBase, 40, Graphics)
28 /* FUNCTION
29 Move the drawing pen to (x,y).
31 INPUTS
32 rp - RastPort
33 x,y - target coordinate
35 RESULT
37 NOTES
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 HISTORY
48 29-10-95 digulla automatically created from
49 graphics_lib.fd and clib/graphics_protos.h
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 FIX_GFXCOORD(x);
56 FIX_GFXCOORD(y);
58 rp->cp_x = x;
59 rp->cp_y = y;
60 rp->linpatcnt = 15;
62 AROS_LIBFUNC_EXIT
64 } /* Move */