2 * Copyright 2013 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
6 * John Scipione, jscipione@gmail.com
9 * headers/os/interface/GraphicsDefs.h hrev45737
10 * src/kits/interface/GraphicsDefs.cpp hrev45737
18 \brief Graphics-related functions and variables used by the Interface Kit.
26 \brief A pattern to use when drawing.
35 Draw using the view's high color.
44 Draw a pattern of the view's high and low colors.
53 Draw using the view's low color.
63 Blending alpha mode constants.
70 \var source_alpha B_PIXEL_ALPHA
72 Use the alpha value of each pixel when drawing a bitmap.
79 \var source_alpha B_CONSTANT_ALPHA
81 Use the alpha channel of the view's high color.
91 Blending alpha function constants.
98 \var alpha_function B_ALPHA_OVERLAY
100 Used for drawing a image with transparency over an opaque background.
107 \var alpha_function B_ALPHA_COMPOSITE
109 Used to composite two or more transparent images together offscreen to
110 produce a new image drawn using \c B_ALPHA_OVERLAY mode.