Searched refs:pixels (Results 1 - 25 of 142) sorted by relevance

123456

/macosx-10.9.5/tcl-102/tcl_ext/incrtcl/iwidgets/generic/
H A Dpane.itk97 set pixels \
98 [winfo pixels $itk_component(hull) $itk_option(-minimum)]
100 set itk_option(-minimum) $pixels
110 set pixels [winfo pixels $itk_component(hull) $itk_option(-margin)]
111 set itk_option(-margin) $pixels
H A Dscrolledwidget.itk173 set pixels [winfo pixels $_interior $itk_option(-scrollmargin)]
176 grid rowconfigure $_interior 1 -minsize $pixels
180 grid columnconfigure $_interior 1 -minsize $pixels
240 [winfo pixels $_interior $itk_option(-width)]
251 [winfo pixels $_interior $itk_option(-height)]
269 [winfo pixels $_interior $itk_option(-scrollmargin)]
297 [winfo pixels $_interior $itk_option(-scrollmargin)]
/macosx-10.9.5/ICU-511.35/icuSources/layout/
H A DAnchorTables.cpp56 LEPoint pixels; local
58 fontInstance->transformFunits(x, y, pixels);
60 fontInstance->pixelsToUnits(pixels, anchor);
82 LEPoint pixels; local
86 fontInstance->transformFunits(x, y, pixels);
92 pixels.fX += adjx;
99 pixels.fY += adjy;
102 fontInstance->pixelsToUnits(pixels, anchor);
H A DValueRecords.cpp47 LEPoint pixels; local
49 fontInstance->transformFunits(value, 0, pixels);
51 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX);
52 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY);
57 LEPoint pixels; local
59 fontInstance->transformFunits(0, value, pixels);
61 xPlacementAdjustment += fontInstance->xPixelsToUnits(pixels.fX);
62 yPlacementAdjustment += fontInstance->yPixelsToUnits(pixels.fY);
67 LEPoint pixels; local
69 fontInstance->transformFunits(value, 0, pixels);
77 LEPoint pixels; local
151 LEPoint pixels; local
161 LEPoint pixels; local
171 LEPoint pixels; local
181 LEPoint pixels; local
[all...]
H A DMarkToBasePosnSubtables.cpp67 LEPoint baseAnchor, markAdvance, pixels; local
77 fontInstance->getGlyphAdvance(markGlyph, pixels);
78 fontInstance->pixelsToUnits(pixels, markAdvance);
92 fontInstance->getGlyphAdvance(baseGlyph, pixels);
101 pixels.fX += px.fX; // and add that to the base glyph's advance
102 pixels.fY += px.fY;
107 fontInstance->pixelsToUnits(pixels, baseAdvance);
H A DMarkToMarkPosnSubtables.cpp66 LEPoint mark2Anchor, markAdvance, pixels; local
75 fontInstance->getGlyphAdvance(markGlyph, pixels);
76 fontInstance->pixelsToUnits(pixels, markAdvance);
88 fontInstance->getGlyphAdvance(mark2Glyph, pixels);
89 fontInstance->pixelsToUnits(pixels, mark2Advance);
H A DMarkToLigaturePosnSubtables.cpp77 LEPoint ligatureAnchor, markAdvance, pixels; local
81 fontInstance->getGlyphAdvance(markGlyph, pixels);
82 fontInstance->pixelsToUnits(pixels, markAdvance);
94 fontInstance->getGlyphAdvance(ligatureGlyph, pixels);
95 fontInstance->pixelsToUnits(pixels, ligatureAdvance);
H A DLEFontInstance.cpp131 void LEFontInstance::pixelsToUnits(LEPoint &pixels, LEPoint &units) const argument
133 units.fX = xPixelsToUnits(pixels.fX);
134 units.fY = yPixelsToUnits(pixels.fY);
137 void LEFontInstance::transformFunits(float xFunits, float yFunits, LEPoint &pixels) const
139 pixels.fX = xUnitsToPoints(xFunits) * getScaleFactorX();
140 pixels.fY = yUnitsToPoints(yFunits) * getScaleFactorY();
H A DGlyphPositionAdjustments.cpp92 LEPoint entryAnchor, exitAnchor, pixels; local
120 fontInstance->getGlyphAdvance(glyphID, pixels);
121 fontInstance->pixelsToUnits(pixels, secondAdvance);
127 fontInstance->getGlyphAdvance(lastExitGlyphID, pixels);
128 fontInstance->pixelsToUnits(pixels, firstAdvance);
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/filters/
H A DFELighting.cpp64 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
65 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset));
67 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
68 int bottomRight = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset));
75 int left = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset));
76 int center = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
77 int right = static_cast<int>(pixels->item(offset + cPixelSize + cAlphaChannelOffset));
79 int bottomLeft = static_cast<int>(pixels->item(offset - cPixelSize + cAlphaChannelOffset));
80 int bottom = static_cast<int>(pixels->item(offset + cAlphaChannelOffset));
81 int bottomRight = static_cast<int>(pixels
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/cairo/
H A DGraphicsContext3DPrivate.cpp100 OwnArrayPtr<unsigned char> pixels = adoptArrayPtr(new unsigned char[totalBytes]); local
101 if (!pixels)
104 // OpenGL keeps the pixels stored bottom up, so we need to flip the image here.
110 m_context->readRenderingResults(pixels.get(), totalBytes);
114 if (pixels[i + 3] != 255) {
115 pixels[i + 0] = min(255, pixels[i + 0] * pixels[i + 3] / 255);
116 pixels[i + 1] = min(255, pixels[
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/bwidget/bwidget/
H A Dxpm2image.tcl89 set pixels {}
94 if { [string length $pixels] } {
95 $image put [list $pixels] -to [expr {$x-[llength $pixels]}] $y
96 set pixels {}
99 lappend pixels $c
104 if { [llength $pixels] } {
105 $image put [list $pixels] -to [expr {$x-[llength $pixels]}] $y
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/gpu/
H A DTexture.h52 void load(void* pixels);
53 void updateSubRect(void* pixels, const IntRect&);
/macosx-10.9.5/WebKit-7537.78.2/efl/ewk/
H A Dewk_paint_context_private.h51 unsigned char* pixels; /**< pixels form image */ member in struct:_Ewk_Paint_Context
99 Ewk_Paint_Context* ewk_paint_context_from_image_data_new(uint8_t* pixels, int width, int height, int colorSpace);
169 * This function moves the origin coordinates by @a x and @a y pixels.
172 * @param x amount of pixels to translate in the X dimension
173 * @param y amount of pixels to translate in the Y dimension
H A Dewk_paint_context.cpp40 context->pixels = 0;
50 uint8_t* pixels = static_cast<uint8_t*>(evas_object_image_data_get(image, true)); local
53 Ewk_Paint_Context* context = ewk_paint_context_from_image_data_new(pixels, width, height, EVAS_COLORSPACE_ARGB8888);
55 context->pixels = pixels;
62 Ewk_Paint_Context* ewk_paint_context_from_image_data_new(uint8_t* pixels, int width, int height, int colorSpace) argument
64 EINA_SAFETY_ON_NULL_RETURN_VAL(pixels, 0);
67 context->pixels = pixels;
86 context->surface = adoptRef(cairo_image_surface_create_for_data(pixels, forma
[all...]
/macosx-10.9.5/WebCore-7537.78.1/platform/graphics/opengl/
H A DGraphicsContext3DOpenGLES.cpp55 // all previous rendering calls should be done before reading pixels.
79 void GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary(int x, int y, int width, int height, unsigned char* pixels) argument
86 readPixelsIMG(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
88 ::glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
90 ::glReadPixels(x, y, width, height, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
95 std::swap(pixels[i], pixels[i + 2]); // Convert to BGRA.
198 bool GraphicsContext3D::texImage2D(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type, const void* pixels) argument
200 if (width && height && !pixels) {
205 texImage2DDirect(target, level, internalformat, width, height, border, format, type, pixels);
[all...]
H A DGraphicsContext3DOpenGL.cpp57 void GraphicsContext3D::readPixelsAndConvertToBGRAIfNecessary(int x, int y, int width, int height, unsigned char* pixels) argument
59 ::glReadPixels(x, y, width, height, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, pixels);
245 bool GraphicsContext3D::texImage2D(GC3Denum target, GC3Dint level, GC3Denum internalformat, GC3Dsizei width, GC3Dsizei height, GC3Dint border, GC3Denum format, GC3Denum type, const void* pixels) argument
247 if (width && height && !pixels) {
271 texImage2DDirect(target, level, openGLInternalFormat, width, height, border, format, type, pixels);
297 // all previous rendering calls should be done before reading pixels.
/macosx-10.9.5/tcl-102/tcl_ext/tklib/tklib/modules/tablelist/scripts/
H A DtablelistSort.tcl298 set pixels [lindex $data(colList) $idx]
299 if {$pixels == 0 && $data($col-maxPixels) > 0 &&
305 if {$pixels != 0 && $pixels < $canvasWidth} {
404 {pixels alignment} $data(colList) {
435 if {$pixels == 0} { ;# convention: dynamic width
438 set pixels $data($col-maxPixels)
442 if {$pixels != 0} {
443 incr pixels $data($col-delta)
447 $pixels} {
[all...]
H A DtablelistUtil.tcl866 # Returns the width in pixels of the string consisting of a given number of "0"
884 # greater than pixels decremented by the width of snipStr. Returns a string
888 proc tablelist::strRange {win str font pixels snipSide snipStr} {
889 if {$pixels < 0} {
899 if {$width <= $pixels} {
904 if {$pixels <= $snipWidth} {
908 incr pixels -$snipWidth
912 set idx [expr {[string length $str]*$pixels/$width - 1}]
915 if {$width < $pixels} {
920 if {$width > $pixels} {
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/quicktimetcl/quicktimetcl/
H A DUtils.c165 PixMapHandle pixels = NULL; local
190 pixels = GetGWorldPixMap( gw );
193 * Lock down the pixels so they don't move out from under us.
196 LockPixels(pixels);
199 * Copy the pixels to the gworld.
206 (GetPixBaseAddr(pixels) + i * (0x3FFF & ((*pixels)->rowBytes)));
243 UnlockPixels( pixels );
275 PixMapHandle pixels = NULL; local
314 pixels
345 MakeTkPhotoFromPixMap( Tcl_Interp *interp, PixMapHandle pixels, char *tkImage ) argument
[all...]
/macosx-10.9.5/tcl-102/tcl_ext/snack/snack/generic/
H A DjkCanvItems.h94 #define TkPutImage(colors, ncolors, display, pixels, gc, image, \
96 XPutImage( display, pixels, gc, image, \
/macosx-10.9.5/cups-372.4/cups/filter/
H A Draster.c28 * cupsRasterReadPixels() - Read raster pixels.
33 * cupsRasterWritePixels() - Write raster pixels.
68 unsigned char *pixels, /* Pixels for current row */ member in struct:_cups_raster_s
90 const unsigned char *pixels);
111 if (r->pixels)
112 free(r->pixels);
326 * 'cupsRasterReadPixels()' - Read raster pixels.
397 ptr = r->pixels;
409 ptr = r->pixels;
426 * Copy N literal pixels
1294 cups_raster_write( cups_raster_t *r, const unsigned char *pixels) argument
[all...]
/macosx-10.9.5/xnu-2422.115.4/osfmk/console/panic_ui/
H A Dqtif2kraw.c13 int EncodeImage( unsigned char * data, int pixels, unsigned char * fileArr );
75 short width; /* how many pixels wide is this data */
76 short height; /* how many pixels high is this data */
113 unsigned int i, pixels, sum, encodedSize, fg24= 0xFFFFFF, bg24=0x222222; local
222 pixels = image_header.dataSize;
225 pixels = convert8toGrey( data, image_header.dataSize );
228 pixels = convert8bitIndexto8( data, height, width, &data );
229 image_header.dataSize = pixels;
232 printf("Converted %d pixels%s...\n", pixels/dept
473 EncodeImage( unsigned char * data, int pixels, unsigned char * fileArr ) argument
[all...]
H A Dgenimage.c16 int pixels,
165 short width; /* how many pixels wide is this data */
166 short height; /* how many pixels high is this data */
208 unsigned int i, pixels, sum, encodedSize, fg24= 0xFFFFFF, bg24=0x222222; local
364 pixels = image_header.dataSize;
369 pixels = convert24toGrey( data, image_header.dataSize);
374 pixels = convert24to8bitIndex( data, height, width, &data );
375 image_header.dataSize = pixels;
381 pixels = convert8toGrey( data, image_header.dataSize );
386 pixels
862 EncodeImage( unsigned char * data, int pixels, unsigned char * fileArr ) argument
[all...]
H A Dsetupdialog.c39 unsigned int i, pixels, filePos; local
63 else if (strcmp(argv[next], "-w") == 0) // image width (pixels)
65 else if (strcmp(argv[next], "-h") == 0) // image height (pixels)
112 pixels = width * height;
114 if (!(fileArr = (unsigned char *) malloc(pixels))) {
115 printf("couldn't malloc fileArr (%d pixels)... bailing.\n", pixels);
123 for (i=0; i < pixels; i++) {

Completed in 292 milliseconds

123456