2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Desc: Graphics function SetABPenDrMd()
9 #include "graphics_intern.h"
10 #include "gfxfuncsupport.h"
12 /*****************************************************************************
15 #include <graphics/rastport.h>
16 #include <proto/graphics.h>
18 AROS_LH4I(void, SetABPenDrMd
,
21 AROS_LHA(struct RastPort
*, rp
, A1
),
22 AROS_LHA(ULONG
, apen
, D0
),
23 AROS_LHA(ULONG
, bpen
, D1
),
24 AROS_LHA(ULONG
, drawMode
, D2
),
27 struct GfxBase
*, GfxBase
, 149, Graphics
)
30 Changes the foreground and background pen and the drawmode in one
34 rp - Modify this RastPort
35 apen - The new foreground pen
36 bpen - The new background pen
37 drawmode - The new drawmode
43 This function is faster than the sequence SetAPen(), SetBPen(),
46 This functions turns on PenMode for the RastPort.
57 29-10-95 digulla automatically created from
58 graphics_lib.fd and clib/graphics_protos.h
60 *****************************************************************************/
66 rp
->DrawMode
= drawMode
;
68 rp
->Flags
&= ~RPF_NO_PENS
;