tools/adflib: build only host variant which is used by Sam440 target
[AROS.git] / rom / intuition / drawimage.c
blobe4d62abb7cd5dbe0bf56acc1cb2e3e957f9a21c2
1 /*
2 Copyright © 1995-2013, 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 *****************************************************************************/
53 AROS_LIBFUNC_INIT
55 DrawImageState(rp, image, leftOffset, topOffset, IDS_NORMAL, NULL);
57 AROS_LIBFUNC_EXIT
58 } /* DrawImage */