/haiku/src/servers/app/drawing/Painter/drawing_modes/ |
H A D | DrawingModeMax.h | 133 const color_type* colors, 141 if (*covers && colors->a > 0) { 143 ASSIGN_MAX(p, colors->r, colors->g, colors->b); 145 BLEND_MAX(p, colors->r, colors->g, colors->b, *covers); 150 ++colors; 156 if (colors 132 blend_color_hspan_max(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeMin.h | 127 const color_type* colors, 135 if (*covers && colors->a > 0) { 137 ASSIGN_MIN(p, colors->r, colors->g, colors->b); 139 BLEND_MIN(p, colors->r, colors->g, colors->b, *covers); 144 ++colors; 150 if (colors 126 blend_color_hspan_min(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeOver.h | 133 const color_type* colors, 141 if (*covers && colors->a > 0) { 143 ASSIGN_OVER(p, colors->r, colors->g, colors->b); 145 BLEND_OVER(p, colors->r, colors->g, colors->b, *covers); 150 ++colors; 156 if (colors 132 blend_color_hspan_over(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeBlend.h | 128 const color_type* colors, 137 if (*covers && (colors->a & 0xff)) { 139 ASSIGN_BLEND(p, colors->r, colors->g, colors->b); 141 BLEND_BLEND(p, colors->r, colors->g, colors->b, *covers); 146 ++colors; 152 if (colors 127 blend_color_hspan_blend(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeAlphaPC.h | 116 const color_type* colors, 124 uint16 alpha = colors->a * *covers; 127 ASSIGN_ALPHA_PC(p, colors->r, colors->g, colors->b); 129 BLEND_ALPHA_PC(p, colors->r, colors->g, colors->b, alpha); 134 ++colors; 138 uint16 alpha = colors 115 blend_color_hspan_alpha_pc(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeAlphaPCSolid.h | 114 const color_type* colors, 122 uint16 alpha = colors->a * *covers; 125 ASSIGN_ALPHA_PC(p, colors->r, colors->g, colors->b); 127 BLEND_ALPHA_PC(p, colors->r, colors->g, colors->b, alpha); 132 ++colors; 136 uint16 alpha = colors 113 blend_color_hspan_alpha_pc_solid(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler*) argument [all...] |
H A D | DrawingModeAlphaPO.h | 118 const color_type* colors, 126 uint16 alpha = colors->a * *covers; 129 ASSIGN_ALPHA_PO(p, colors->r, colors->g, colors->b); 131 BLEND_ALPHA_PO(p, colors->r, colors->g, colors->b, alpha); 136 ++colors; 140 uint16 alpha = colors 117 blend_color_hspan_alpha_po(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeCopySolid.h | 106 const color_type* colors, const uint8* covers, 117 ASSIGN_OVER(p, colors->r, colors->g, colors->b); 119 BLEND_OVER(p, colors->r, colors->g, colors->b, *covers); 124 ++colors; 130 ASSIGN_OVER(p, colors->r, colors 105 blend_color_hspan_copy_solid(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeAdd.h | 130 const color_type* colors, 138 if (*covers && colors->a > 0) { 140 ASSIGN_ADD(p, colors->r, colors->g, colors->b); 142 BLEND_ADD(p, colors->r, colors->g, colors->b, *covers); 147 ++colors; 153 if (colors 129 blend_color_hspan_add(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeSubtract.h | 132 const color_type* colors, 140 if (*covers && colors->a > 0) { 142 ASSIGN_SUBTRACT(p, colors->r, colors->g, colors->b); 144 BLEND_SUBTRACT(p, colors->r, colors->g, colors->b, *covers); 149 ++colors; 155 if (colors 131 blend_color_hspan_subtract(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeAlphaCC.h | 142 const color_type* colors, 151 uint16 alpha = hAlpha * colors->a * *covers / 255; 154 ASSIGN_ALPHA_CC(p, colors->r, colors->g, colors->b); 156 BLEND_ALPHA_CC(p, colors->r, colors->g, colors->b, alpha); 161 ++colors; 165 uint16 alpha = hAlpha * colors 141 blend_color_hspan_alpha_cc(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeAlphaCO.h | 144 const color_type* colors, 153 uint16 alpha = hAlpha * colors->a * *covers / 255; 156 ASSIGN_ALPHA_CO(p, colors->r, colors->g, colors->b); 158 BLEND_ALPHA_CO(p, colors->r, colors->g, colors->b, alpha); 163 ++colors; 167 uint16 alpha = hAlpha * colors 143 blend_color_hspan_alpha_co(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument [all...] |
H A D | DrawingModeCopy.h | 146 blend_color_hspan_copy(int x, int y, unsigned len, const color_type* colors, argument 157 ASSIGN_COPY(p, colors->r, colors->g, colors->b, colors->a); 159 BLEND_COPY(p, colors->r, colors->g, colors->b, *covers, 165 ++colors; 171 ASSIGN_COPY(p, colors [all...] |
H A D | DrawingModeInvert.h | 127 const color_type* colors, 137 if (*covers && colors->a > 0) { 146 ++colors; 152 if (colors->a > 0) { 156 ++colors; 161 if (colors->a > 0) { 165 ++colors; 126 blend_color_hspan_invert(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument
|
H A D | DrawingModeErase.h | 133 const color_type* colors, 142 if (*covers && colors->a > 0) { 153 ++colors; 159 if (colors->a > 0) { 164 ++colors; 169 if (colors->a > 0) { 174 ++colors; 132 blend_color_hspan_erase(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, agg_buffer* buffer, const PatternHandler* pattern) argument
|
H A D | AggCompOpAdapter.h | 102 const color_type* colors, 110 colors->r, colors->g, colors->b, colors->a, 113 ++colors; 100 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const uint8* covers, uint8 cover, RenBuf* buffer, const PatternHandler* pattern) argument
|
/haiku/src/system/boot/platform/riscv/ |
H A D | graphics.cpp | 19 *vb.colors = c; 20 vb.colors++; 22 vb.colors += vb.stride; 37 vb.colors += y*vb.stride + x; 41 vb.colors = 0; 59 rb.colors = data + (ch - firstChar) * charWidth * charHeight; 79 dc = *dst.colors; 80 a = *src.colors; 82 *dst.colors = 91 dst.colors [all...] |
/haiku/src/add-ons/decorators/FlatDecorator/ |
H A D | FlatDecorator.cpp | 115 /*! Returns the frame colors for the specified decorator component. 120 \param component The component for which to return the frame colors. 122 \param colors An array of colors to be initialized by the function. 295 ComponentColors colors; local 296 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTab); 300 BPoint(r.left + i, r.bottom - i), colors[i]); local 304 BPoint(r.left, r.top + 4), colors[6]); local 309 ComponentColors colors; local 310 _GetComponentColors(COMPONENT_BOTTOM_BORDER, colors, fTopTa 315 colors[i]); local 320 ComponentColors colors; local 326 colors[i]); local 331 colors[6]); local 335 ComponentColors colors; local 359 ComponentColors colors; local 373 fTitleBarRect.bottom + 1), colors[2]); local 378 ComponentColors colors; local 383 BPoint(r.left + i, r.bottom - i), colors[i * 2]); local 393 fTitleBarRect.bottom - 2), colors[2]); local 398 ComponentColors colors; local 404 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]); local 409 ComponentColors colors; local 415 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]); local 424 ComponentColors colors; local 440 ComponentColors colors; local 584 colors[COLOR_TAB]); local 593 colors[COLOR_TAB]); local 598 colors[COLOR_TAB]); local 650 ComponentColors colors; local 777 _DrawBlendedRect(DrawingEngine* engine, const BRect rect, bool down, const ComponentColors& colors) argument 828 ComponentColors colors; local [all...] |
/haiku/src/servers/app/decorator/ |
H A D | DefaultDecorator.cpp | 97 /*! Returns the frame colors for the specified decorator component. 102 \param component The component for which to return the frame colors. 104 \param colors An array of colors to be initialized by the function. 221 ComponentColors colors; local 222 _GetComponentColors(COMPONENT_TOP_BORDER, colors, fTopTab); 229 colors[colorsIndex]); local 239 colors[2]); local 245 ComponentColors colors; local 246 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTa 253 colors[colorsIndex]); local 258 ComponentColors colors; local 266 colors[(4 - colorsIndex) == 4 ? 5 : (4 - colorsIndex)]); local 271 ComponentColors colors; local 279 colors[(4 - colorsIndex) == 4 ? 5 : (4 - colorsIndex)]); local 290 ComponentColors colors; local 298 colors[colorsIndex * 2]); local 308 colors[2]); local 314 ComponentColors colors; local 322 colors[colorsIndex * 2]); local 332 fTitleBarRect.bottom - 2), colors[2]); local 337 ComponentColors colors; local 345 colors[(2 - colorsIndex) == 2 ? 5 : (2 - colorsIndex) * 2]); local 350 ComponentColors colors; local 358 colors[(2 - colorsIndex) == 2 ? 5 : (2 - colorsIndex) * 2]); local 367 ComponentColors colors; local 381 ComponentColors colors; local 420 colors[0]); local 426 colors[0]); local 439 _DrawResizeKnob(BRect rect, bool full, const ComponentColors& colors) argument 523 colors[COLOR_TAB_BEVEL]); local 527 colors[COLOR_TAB_BEVEL]); local 532 colors[COLOR_TAB_SHADOW]); local 537 colors[COLOR_TAB_SHADOW]); local 584 ComponentColors colors; local 711 _DrawBlendedRect(DrawingEngine* engine, const BRect rect, bool down, const ComponentColors& colors) argument 759 ComponentColors colors; local [all...] |
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | vga.h | 12 status_t vga_set_indexed_colors(uint8 first, uint8 *colors, uint16 count);
|
/haiku/headers/libs/agg/ |
H A D | agg_pixfmt_transposer.h | 117 const color_type* colors) 119 m_pixf->copy_color_vspan(y, x, len, colors); 125 const color_type* colors) 127 m_pixf->copy_color_hspan(y, x, len, colors); 133 const color_type* colors, 137 m_pixf->blend_color_vspan(y, x, len, colors, covers, cover); 143 const color_type* colors, 147 m_pixf->blend_color_hspan(y, x, len, colors, covers, cover); 115 copy_color_hspan(int x, int y, unsigned len, const color_type* colors) argument 123 copy_color_vspan(int x, int y, unsigned len, const color_type* colors) argument 131 blend_color_hspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument 141 blend_color_vspan(int x, int y, unsigned len, const color_type* colors, const int8u* covers, int8u cover) argument
|
/haiku/src/add-ons/print/drivers/lpstyl/ |
H A D | LpstylCap.cpp | 44 static const ColorCap* colors[] = { variable 74 return sizeof(colors) / sizeof(colors[0]); 102 return (const BaseCap **)colors;
|
/haiku/src/add-ons/translators/shared/ |
H A D | BaseTranslator.cpp | 283 if (header.colors != B_RGB32 && 284 header.colors != B_RGB32_BIG && 285 header.colors != B_RGBA32 && 286 header.colors != B_RGBA32_BIG && 287 header.colors != B_RGB24 && 288 header.colors != B_RGB24_BIG && 289 header.colors != B_RGB16 && 290 header.colors != B_RGB16_BIG && 291 header.colors != B_RGB15 && 292 header.colors ! [all...] |
/haiku/headers/private/app/ |
H A D | ServerReadOnlyMemory.h | 24 rgb_color colors[kColorWhichCount]; member in struct:server_read_only_memory
|
/haiku/src/add-ons/decorators/BeDecorator/ |
H A D | BeDecorator.cpp | 195 /*! Returns the frame colors for the specified decorator component. 200 \param component The component for which to return the frame colors. 202 \param colors An array of colors to be initialized by the function. 355 ComponentColors colors; local 356 _GetComponentColors(COMPONENT_TOP_BORDER, colors, fTopTab); 360 BPoint(r.right - i, r.top + i), colors[i]); local 370 colors[2]); local 375 ComponentColors colors; local 376 _GetComponentColors(COMPONENT_LEFT_BORDER, colors, fTopTa 380 BPoint(r.left + i, r.bottom - i), colors[i]); local 385 ComponentColors colors; local 391 colors[(4 - i) == 4 ? 5 : (4 - i)]); local 397 ComponentColors colors; local 403 colors[(4 - i) == 4 ? 5 : (4 - i)]); local 414 ComponentColors colors; local 419 BPoint(r.right - i, r.top + i), colors[i * 2]); local 429 fTitleBarRect.bottom + 1), colors[2]); local 434 ComponentColors colors; local 439 BPoint(r.left + i, r.bottom - i), colors[i * 2]); local 449 fTitleBarRect.bottom - 2), colors[2]); local 454 ComponentColors colors; local 460 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]); local 465 ComponentColors colors; local 471 colors[(2 - i) == 2 ? 5 : (2 - i) * 2]); local 480 ComponentColors colors; local 496 ComponentColors colors; local 559 colors[0]); local 565 colors[0]); local 620 colors[COLOR_TAB_BEVEL]); local 624 colors[COLOR_TAB_BEVEL]); local 629 colors[COLOR_TAB_SHADOW]); local 634 colors[COLOR_TAB_SHADOW]); local 640 tabRect.right - 2, tabRect.bottom), colors[COLOR_TAB]); local 643 tabRect.right, tabRect.bottom - 2), colors[COLOR_TAB]); local 673 ComponentColors colors; local 912 ComponentColors colors; local [all...] |