Searched refs:pixel (Results 26 - 50 of 193) sorted by relevance

12345678

/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/gpu/
H A DTexture.cpp142 uint32_t pixel = srcOffset[x + y * srcStride]; local
143 *dstPixel = (pixel & 0xFF00FF00) | ((pixel & 0x00FF0000) >> 16) | ((pixel & 0x000000FF) << 16);
195 // Copy sub rectangle out of larger pixel data
H A DDrawingBuffer.cpp208 unsigned char pixel[4] = {0, 0, 0, 0}; local
209 m_context->readPixels(0, 0, 1, 1, GraphicsContext3D::RGBA, GraphicsContext3D::UNSIGNED_BYTE, &pixel);
214 return (pixel[0] == 0xFF && pixel[1] == 0x00 && pixel[2] == 0xFF && pixel[3] == 0xFF);
/macosx-10.9.5/tcl-102/tk/tk/unix/
H A DtkUnixColor.c92 && (tkColPtr->color.pixel != BlackPixelOfScreen(screen))
93 && (tkColPtr->color.pixel != WhitePixelOfScreen(screen))) {
99 &tkColPtr->color.pixel, 1, 0L);
149 * Map from the name to a pixel value. Call XAllocNamedColor rather than
196 * a pixel value to use to draw that color in a given window.
201 * specified in colorPtr, and also specifies a pixel value to use to draw
260 XColor *actualColorPtr) /* Structure to fill in with RGB and pixel for
293 stressPtr->colorPtr[i].pixel = (unsigned long) i;
H A DtkUnix3d.c408 gcValues.foreground = borderPtr->darkColorPtr->pixel;
445 gcValues.foreground = borderPtr->lightColorPtr->pixel;
465 gcValues.foreground = borderPtr->bgColorPtr->pixel;
489 if (borderPtr->bgColorPtr->pixel
H A DtkUnixButton.c260 Tk_GetColorByValue(tkwin, bg_brdr->bgColorPtr)->pixel;
262 Tk_GetColorByValue(tkwin, bg_brdr->bgColorPtr)->pixel;
264 Tk_GetColorByValue(tkwin, bg_brdr->lightColorPtr)->pixel :
267 Tk_GetColorByValue(tkwin, selectColor)->pixel;
269 Tk_GetColorByValue(tkwin, bg_brdr->darkColorPtr)->pixel :
272 Tk_GetColorByValue(tkwin, bg_brdr->bgColorPtr)->pixel;
274 Tk_GetColorByValue(tkwin, indicatorColor)->pixel;
276 Tk_GetColorByValue(tkwin, disableColor)->pixel;
279 * Create the image, painting it into an XImage one pixel at a time.
294 gcValues.background = bg_brdr->bgColorPtr->pixel;
[all...]
/macosx-10.9.5/tcl-102/tk84/tk/unix/
H A DtkUnixColor.c93 && (tkColPtr->color.pixel != BlackPixelOfScreen(screen))
94 && (tkColPtr->color.pixel != WhitePixelOfScreen(screen))) {
100 &tkColPtr->color.pixel, 1, 0L);
151 * Map from the name to a pixel value. Call XAllocNamedColor rather than
198 * locate a pixel value to use to draw that color in a given
204 * to those specified in colorPtr, and also specifies a pixel
264 * pixel for closest available
295 stressPtr->colorPtr[i].pixel = (unsigned long) i;
H A DtkUnix3d.c417 gcValues.foreground = borderPtr->darkColorPtr->pixel;
454 gcValues.foreground = borderPtr->lightColorPtr->pixel;
474 gcValues.foreground = borderPtr->bgColorPtr->pixel;
498 if (borderPtr->bgColorPtr->pixel
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/ico/
H A Dico.c227 sprintf(str, " Bits per pixel: %d\n", ih->nBitsPerPixel); OUT;
600 int destX, destY; /* Coordinates of top-left pixel in
604 int srcX, srcY; /* Coordinates of top-left pixel to be used
917 ICOCOLOR pixel; local
942 pixel.red = pixelPtr[redOffset];
943 pixel.green = pixelPtr[greenOffset];
944 pixel.blue = pixelPtr[blueOffset];
946 pixel.matte = 0;
948 pixel.matte = 1;
952 if (pixel
[all...]
/macosx-10.9.5/tcl-102/tk/tk/generic/
H A DtkMenuDraw.c211 gcValues.foreground = fg->pixel;
212 gcValues.background = Tk_3DBorderColor(border)->pixel;
221 gcValues.background = Tk_3DBorderColor(border)->pixel;
227 gcValues.foreground = disabledFg->pixel;
248 gcValues.foreground = Tk_3DBorderColor(border)->pixel;
266 gcValues.foreground = activeFg->pixel;
269 gcValues.background = Tk_3DBorderColor(activeBorder)->pixel;
279 gcValues.foreground = indicatorFg->pixel;
280 gcValues.background = Tk_3DBorderColor(border)->pixel;
341 gcValues.foreground = fg->pixel;
[all...]
H A DtkCanvPs.c47 int x, y, width, height; /* Area to print, in canvas pixel
58 double scale; /* Scale factor for conversion: each pixel
785 * angle brackets, one bit per pixel).
1086 * This function converts a pixel value to three floating point numbers,
1087 * representing the amount of red, green, and blue in that pixel on the
1128 unsigned long pixel, /* Pixel value to look up */
1132 *red = (double) GetRValue(pixel) / 255.0;
1133 *green = (double) GetGValue(pixel) / 255.0;
1134 *blue = (double) GetBValue(pixel) / 255.0;
1140 unsigned long pixel, /* Pixe
1117 TkImageGetColor( TkColormapData *cdata, unsigned long pixel, double *red, double *green, double *blue) argument
1129 TkImageGetColor( TkColormapData *cdata, unsigned long pixel, double *red, double *green, double *blue) argument
[all...]
H A DtkMenubutton.c681 gcValues.foreground = mbPtr->normalFg->pixel;
682 gcValues.background = Tk_3DBorderColor(mbPtr->normalBorder)->pixel;
698 gcValues.foreground = mbPtr->activeFg->pixel;
699 gcValues.background = Tk_3DBorderColor(mbPtr->activeBorder)->pixel;
707 gcValues.background = Tk_3DBorderColor(mbPtr->normalBorder)->pixel;
734 gcValues.foreground = mbPtr->disabledFg->pixel;
944 int x, int y, /* Upper left pixel (within image) that must
/macosx-10.9.5/tcl-102/tk84/tk/generic/
H A DtkMenuDraw.c212 gcValues.foreground = fg->pixel;
213 gcValues.background = Tk_3DBorderColor(border)->pixel;
222 gcValues.background = Tk_3DBorderColor(border)->pixel;
228 gcValues.foreground = disabledFg->pixel;
249 gcValues.foreground = Tk_3DBorderColor(border)->pixel;
267 gcValues.foreground = activeFg->pixel;
270 gcValues.background = Tk_3DBorderColor(activeBorder)->pixel;
280 gcValues.foreground = indicatorFg->pixel;
281 gcValues.background = Tk_3DBorderColor(border)->pixel;
344 gcValues.foreground = fg->pixel;
[all...]
H A DtkCanvPs.c46 int x, y, width, height; /* Area to print, in canvas pixel
57 double scale; /* Scale factor for conversion: each pixel
813 * per pixel).
1118 * This procedure converts a pixel value to three floating
1120 * blue in that pixel on the screen. It makes use of colormap
1156 TkImageGetColor(cdata, pixel, red, green, blue)
1158 unsigned long pixel; /* Pixel value to look up */
1161 *red = (double) GetRValue(pixel) / 255.0;
1162 *green = (double) GetGValue(pixel) / 255.0;
1163 *blue = (double) GetBValue(pixel) / 255.
[all...]
H A DtkMenubutton.c692 gcValues.foreground = mbPtr->normalFg->pixel;
693 gcValues.background = Tk_3DBorderColor(mbPtr->normalBorder)->pixel;
709 gcValues.foreground = mbPtr->activeFg->pixel;
710 gcValues.background = Tk_3DBorderColor(mbPtr->activeBorder)->pixel;
718 gcValues.background = Tk_3DBorderColor(mbPtr->normalBorder)->pixel;
745 gcValues.foreground = mbPtr->disabledFg->pixel;
953 int x, y; /* Upper left pixel (within image)
/macosx-10.9.5/tcl-102/tcl_ext/tkimg/tkimg/bmp/
H A Dbmp.c493 buf, "-bit pixel values", (char *) NULL);
659 int pixel; local
661 pixel = 0xd9d9d9;
663 pixel = (pixelPtr[0]<<16) | (pixelPtr[greenOffset]<<8) | pixelPtr[blueOffset];
664 for (i = 0; i < ncolors && pixel != colors[i]; i++);
667 colors[ncolors] = pixel;
716 int pixel; local
718 pixel = 0xd9d9d9;
720 pixel = (pixelPtr[0]<<16)|(pixelPtr[greenOffset]<<8)|pixelPtr[blueOffset];
721 for (i = 0; i < ncolors && pixel !
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/qt/
H A DImageBufferQt.cpp182 QRgb& pixel = scanLine[x]; local
183 pixel = qRgba(lookUpTable[qRed(pixel)],
184 lookUpTable[qGreen(pixel)],
185 lookUpTable[qBlue(pixel)],
186 qAlpha(pixel));
H A DGraphicsContext3DQt.cpp210 static inline quint32 swapBgrToRgb(quint32 pixel) argument
212 return (((pixel << 16) | (pixel >> 16)) & 0x00ff00ff) | (pixel & 0xff00ff00);
/macosx-10.9.5/vim-53/runtime/syntax/
H A Dxpm.vim39 " get the 4th value: cpp = number of character per pixel
45 " Highlight the Values string as normal string (no pixel string).
93 " highlight the color string as normal string (no pixel string)
104 " and create the syntax item contained in the pixel strings
H A Dxpm2.vim51 " get the 4th value: cpp = number of character per pixel
57 " Highlight the Values string as normal string (no pixel string).
109 " highlight the color string as normal string (no pixel string)
120 " and create the syntax item contained in the pixel strings
/macosx-10.9.5/tcl-102/tk/tk/xlib/
H A Dxcolors.c5 * and pixel values.
910 colorPtr->pixel = TkpGetPixel(colorPtr);
/macosx-10.9.5/tcl-102/tk84/tk/xlib/
H A Dxcolors.c5 * names to RGB and pixel values.
912 colorPtr->pixel = TkpGetPixel(colorPtr);
/macosx-10.9.5/tcl-102/tk84/tk/macosx/
H A DtkMacOSXXStubs.c58 static int PutPixel(XImage *image, int x, int y, unsigned long pixel);
587 p = d->pixel;
611 p = d->pixel;
965 * Get a single pixel from an image.
968 * Returns the 32 bit pixel value.
1013 * Set a single pixel in an image.
1029 unsigned long pixel)
1038 r = (pixel & image->red_mask)>>16;
1039 g = (pixel & image->green_mask)>>8;
1040 b = (pixel
1010 PutPixel( XImage *image, int x, int y, unsigned long pixel) argument
[all...]
/macosx-10.9.5/emacs-92/emacs/src/
H A Dimage.c117 /* A black pixel in a mask bitmap/pixmap means ``draw a source
118 pixel''. A white pixel means ``retain the current pixel''. */
184 XPutPixel (ximage, x, y, pixel)
187 unsigned long pixel;
198 ((unsigned long *) (base_addr + y * row_bytes))[x] = 0xff000000 | pixel;
207 if (pixel == PIX_MASK_DRAW)
221 color.red = RED16_FROM_ULONG (pixel);
222 color.green = GREEN16_FROM_ULONG (pixel);
4597 unsigned long pixel; member in struct:ct_color
4841 unsigned long pixel; local
4990 unsigned char * pixel; local
5049 unsigned long pixel; local
8383 unsigned long pixel = XGetPixel (ximg, x, y); local
[all...]
/macosx-10.9.5/WebCore-7537.78.1/bridge/qt/
H A Dqt_pixmapruntime.cpp70 QRgb pixel = scanLine[x]; local
71 qToBigEndian<quint32>((pixel << 8) | qAlpha(pixel), destPixels);
/macosx-10.9.5/WebKit2-7537.78.2/UIProcess/API/qt/tests/qquickwebview/
H A Dtst_qquickwebview.cpp340 QVERIFY(grabbedWindow.pixel(10, 10) == testColor);
341 QVERIFY(grabbedWindow.pixel(100, 10) == testColor);
342 QVERIFY(grabbedWindow.pixel(10, 100) == testColor);
343 QVERIFY(grabbedWindow.pixel(100, 100) == testColor);

Completed in 334 milliseconds

12345678