/haiku/src/libs/print/libprint/ |
H A D | ValidRect.cpp | 30 INLINE bool isEmpty(const rgb_color *pixel); 46 BoundsCalculator::isEmpty(const rgb_color *pixel) argument 48 return pixel->red == 0xff && pixel->green == 0xff && pixel->blue == 0xff;
|
/haiku/src/kits/interface/textview_support/ |
H A D | LineBuffer.cpp | 75 BTextView::LineBuffer::PixelToLine(float pixel) const 83 if (pixel >= fBuffer[index].origin) { 84 if (pixel < fBuffer[index + 1].origin)
|
H A D | LineBuffer.h | 19 float origin; // pixel position of top of line 37 int32 PixelToLine(float pixel) const;
|
/haiku/src/tests/servers/app/newerClipping/ |
H A D | main.cpp | 117 uint32 pixel; local 120 pixel = 0xff000000 | (r << 16) | (g << 8) | (b); 121 *handle++ = pixel; 128 uint64 pixel; local 132 pixel = 0xff000000 | (r << 16) | (g << 8) | (b); 133 pixel = pixel << 32; 134 pixel |= 0xff000000 | (r << 16) | (g << 8) | (b); 135 *handle++ = pixel; 192 union pixel { union [all...] |
/haiku/src/build/libbe/interface/ |
H A D | Bitmap.cpp | 25 // structures defining the pixel layout 747 const pixel_t &pixel = *BaseReader<_PixelType>::pixels; local 748 color.red = pixel.red; 749 color.green = pixel.green; 750 color.blue = pixel.blue; 775 const pixel_t &pixel = *BaseReader<_PixelType>::pixels; local 776 color.red = pixel.rg & 0xf8; 777 color.green = ((pixel.rg & 0x07) << 5) & ((pixel.gb & 0xe0) >> 3); 778 color.blue = (pixel 806 const pixel_t &pixel = *BaseReader<_PixelType>::pixels; local 947 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 957 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 976 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 985 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 1005 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 1013 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 1032 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local 1040 pixel_t &pixel = *BaseWriter<_PixelType>::pixels; local [all...] |
/haiku/src/add-ons/kernel/drivers/graphics/vesa/ |
H A D | vga.cpp | 75 uint8 pixel = (308 * rgba[2] + 600 * rgba[1] 79 if (pixel & (1 << plane)) 85 // last pixel in 8 pixel group 93 // last pixel has not been written yet
|
/haiku/headers/libs/agg/ |
H A D | agg_image_accessors.h | 52 AGG_INLINE const int8u* pixel() const function in class:agg::image_accessor_clip 73 return pixel(); 80 return pixel(); 93 return pixel(); 170 AGG_INLINE const int8u* pixel() const function in class:agg::image_accessor_clone 192 return pixel(); 199 return pixel(); 212 return pixel();
|
H A D | agg_renderer_outline_image.h | 44 color_type pixel(int x, int y) const function in class:agg::line_image_scale 50 color_type pix1 = (y1 < 0) ? color_type::no_color() : m_source.pixel(x, y1); 51 color_type pix2 = (y2 > h) ? color_type::no_color() : m_source.pixel(x, y2); 128 *d1++ = src.pixel(x, y); 171 void pixel(color_type* p, int x, int y) const function in class:agg::line_image_pattern 242 void pixel(color_type* p, int x, int y) const function in class:agg::line_image_pattern_pow2 631 m_ren.pixel(p1, dist_pict, s2); 647 m_ren.pixel(p1, dist_pict, s2 - dist); 668 m_ren.pixel(p0, dist_pict, s2 + dist); 717 m_ren.pixel(p 858 void pixel(color_type* p, int x, int y) const function in class:agg::renderer_outline_image [all...] |
H A D | agg_pixfmt_transposer.h | 43 AGG_INLINE color_type pixel(int x, int y) const function in class:agg::pixfmt_transposer 45 return m_pixf->pixel(y, x);
|
H A D | agg_pixfmt_amask_adaptor.h | 81 color_type pixel(int x, int y) function in class:agg::pixfmt_amask_adaptor 83 return m_pixf->pixel(x, y); 89 m_pixf->blend_pixel(x, y, c, m_mask->pixel(x, y));
|
H A D | agg_renderer_mclip.h | 157 color_type pixel(int x, int y) const function in class:agg::renderer_mclip 164 return m_ren.ren().pixel(x, y);
|
H A D | agg_renderer_markers.h | 547 void pixel(int x, int y, int) function in class:agg::renderer_markers 574 case marker_pixel: pixel(x, y, r); break; 615 case marker_pixel: do { pixel (int(*x), int(*y), int(r)); ++x; ++y; } while(--n); break; 643 case marker_pixel: do { pixel (int(*x), int(*y), int(*r)); ++x; ++y; ++r; } while(--n); break; 671 case marker_pixel: do { base_type::fill_color(*fc); pixel (int(*x), int(*y), int(*r)); ++x; ++y; ++r; ++fc; } while(--n); break; 699 case marker_pixel: do { base_type::fill_color(*fc); base_type::line_color(*lc); pixel (int(*x), int(*y), int(*r)); ++x; ++y; ++r; ++fc; ++lc; } while(--n); break;
|
H A D | agg_alpha_mask_u8.h | 69 cover_type pixel(int x, int y) const function in class:agg::alpha_mask_u8 373 cover_type pixel(int x, int y) const function in class:agg::amask_no_clip_u8
|
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | crtc.c | 118 * - if the CRTC modeline ends too soon, pixelnoise will occur in 8 (or so) pixel 701 /* select 32x32 pixel, 16bit color cursorbitmap, no doublescan */ 742 uint16 pixel; local 755 pixel = 0x0000; 757 if ((!(*andMask & b)) && (!(*xorMask & b))) pixel = 0xffff; 759 if ((!(*andMask & b)) && (*xorMask & b)) pixel = 0x8000; 761 if ( (*andMask & b) && (*xorMask & b)) pixel = 0x7fff; 762 /* place the pixel in the bitmap */ 763 cursor[x + (y * 32)] = pixel; 772 pixel [all...] |
H A D | crtc2.c | 104 * - if the CRTC modeline ends too soon, pixelnoise will occur in 8 (or so) pixel 663 /* select 32x32 pixel, 16bit color cursorbitmap, no doublescan */ 704 uint16 pixel; local 717 pixel = 0x0000; 719 if ((!(*andMask & b)) && (!(*xorMask & b))) pixel = 0xffff; 721 if ((!(*andMask & b)) && (*xorMask & b)) pixel = 0x8000; 723 if ( (*andMask & b) && (*xorMask & b)) pixel = 0x7fff; 724 /* place the pixel in the bitmap */ 725 cursor[x + (y * 32)] = pixel; 734 pixel [all...] |
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | crtc2.c | 104 * - if the CRTC modeline ends too soon, pixelnoise will occur in 8 (or so) pixel 663 /* select 32x32 pixel, 16bit color cursorbitmap, no doublescan */ 704 uint16 pixel; local 717 pixel = 0x0000; 719 if ((!(*andMask & b)) && (!(*xorMask & b))) pixel = 0xffff; 721 if ((!(*andMask & b)) && (*xorMask & b)) pixel = 0x8000; 723 if ( (*andMask & b) && (*xorMask & b)) pixel = 0x7fff; 724 /* place the pixel in the bitmap */ 725 cursor[x + (y * 32)] = pixel; 734 pixel [all...] |
/haiku/src/add-ons/translators/gif/ |
H A D | GIFSave.h | 54 unsigned char NextPixel(int pixel);
|
H A D | GIFSave.cpp | 530 GIFSave::NextPixel(int pixel) argument 562 if (pixel % width == 0) 593 int x = pixel % width; 636 int x = pixel % width;
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_crtc.c | 216 * - if the CRTC modeline ends too soon, pixelnoise will occur in 8 (or so) pixel 858 /* select 32x32 pixel, 16bit color cursorbitmap, no doublescan */ 914 uint16 pixel; local 927 pixel = 0x0000; 929 if ((!(*andMask & b)) && (!(*xorMask & b))) pixel = 0xffff; 931 if ((!(*andMask & b)) && (*xorMask & b)) pixel = 0x8000; 933 if ( (*andMask & b) && (*xorMask & b)) pixel = 0x7fff; 934 /* place the pixel in the bitmap */ 935 cursor[x + (y * 32)] = pixel; 944 pixel [all...] |
H A D | nv_crtc2.c | 202 * - if the CRTC modeline ends too soon, pixelnoise will occur in 8 (or so) pixel 818 /* select 32x32 pixel, 16bit color cursorbitmap, no doublescan */ 872 uint16 pixel; local 885 pixel = 0x0000; 887 if ((!(*andMask & b)) && (!(*xorMask & b))) pixel = 0xffff; 889 if ((!(*andMask & b)) && (*xorMask & b)) pixel = 0x8000; 891 if ( (*andMask & b) && (*xorMask & b)) pixel = 0x7fff; 892 /* place the pixel in the bitmap */ 893 cursor[x + (y * 32)] = pixel; 902 pixel [all...] |
/haiku/src/servers/app/drawing/Painter/bitmap_painter/ |
H A D | BitmapPainter.cpp | 343 sourcePixel* pixel = (sourcePixel*)sourceRow; local 345 for (uint32 x = 0; x < width; x++, pixel++, destPixel++) { 346 if (*pixel == transparentMagic)
|
/haiku/src/apps/screenshot/ |
H A D | Utility.cpp | 252 uint8* pixel = (uint8*)screenshot->Bits(); 255 pixel[i + 3] = 255;
|
/haiku/src/tests/kits/interface/flatten_picture/ |
H A D | PictureTestCases.cpp | 626 char *pixel = (char*)bitmap.Bits(); local 627 pixel += bitmap.BytesPerRow() * y + 4 * x; 630 pixel[0] = 255; 631 pixel[1] = 0; 632 pixel[2] = 255; 633 pixel[3] = 0; 636 pixel[0] = 255; 637 pixel[1] = 0; 638 pixel[2] = 0; 639 pixel[ [all...] |
/haiku/src/apps/glteapot/ |
H A D | ObjectView.cpp | 430 uchar pixel[256]; local 432 GL_RGB, GL_UNSIGNED_BYTE, pixel); 433 int objNum = pixel[0];
|
/haiku/src/servers/app/drawing/Painter/ |
H A D | agg_renderer_region.h | 241 color_type pixel(int x, int y) const function in class:agg::renderer_region 250 return m_ren.ren().pixel(x, y);
|