arosc.library: Centralized exit handling code in __arosc_startup.c
[AROS.git] / rom / intuition / drawimage.c
blob7c3491bc017a043a1b91a648bb26e2811918f918
1 /*
2 Copyright © 1995-2003, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
6 Render an image.
7 */
9 #include <intuition/imageclass.h>
10 #include "intuition_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <graphics/rastport.h>
16 #include <intuition/intuition.h>
17 #include <proto/intuition.h>
19 AROS_LH4(void, DrawImage,
21 /* SYNOPSIS */
22 AROS_LHA(struct RastPort *, rp, A0),
23 AROS_LHA(struct Image *, image, A1),
24 AROS_LHA(LONG , leftOffset, D0),
25 AROS_LHA(LONG , topOffset, D1),
27 /* LOCATION */
28 struct IntuitionBase *, IntuitionBase, 19, Intuition)
30 /* FUNCTION
31 Draw an image.
33 INPUTS
34 rp - The RastPort to render into
35 image - The image to render
36 leftOffset, topOffset - Where to place the image.
38 RESULT
39 None.
41 NOTES
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 INTERNALS
51 HISTORY
52 29-10-95 digulla automatically created from
53 intuition_lib.fd and clib/intuition_protos.h
55 *****************************************************************************/
57 AROS_LIBFUNC_INIT
59 DrawImageState(rp, image, leftOffset, topOffset, IDS_NORMAL, NULL);
61 AROS_LIBFUNC_EXIT
62 } /* DrawImage */