Docs » Autodocs » graphics.library » GetBPen
GetBPen -- Get the B Pen value for a RastPort (V39).
pen = GetBPen ( rp ) d0 a0 ULONG GetBPen(struct RastPort *)
Return the current value of the B pen for the rastport. This function should be used instead of peeking the structure directly, because future graphics devices may store it differently, using more bits.
rp = a pointer to a valid RastPort structure.
SetBPen(), <graphics/gfx.h>
|