Searched defs:pixel (Results 1 - 4 of 4) sorted by relevance
/inkscape/src/extension/internal/ |
H A D | metafile-inout.cpp | 67 /* Given "bitmap", this returns the pixel of bitmap at the point 159 pixel_t * pixel = pixel_at (bitmap, x, y); local 160 *row++ = pixel->red; // R & B channels were set correctly by DIB_to_RGB 161 *row++ = pixel->green; 162 *row++ = pixel->blue;
|
H A D | cairo-render-context.cpp | 572 alpha. This is handled here by doing a pixel by pixel conversion. 713 // The incoming pixel values already include alpha, fill-opacity, etc., 722 guint32 *pixel = reinterpret_cast<guint32 *>(row_data) + i; local 723 float lum_alpha = (((*pixel & 0x00ff0000) >> 16) * coeff_r + 724 ((*pixel & 0x0000ff00) >> 8) * coeff_g + 725 ((*pixel & 0x000000ff) ) * coeff_b ); 728 // six hexadecimal numbers of *pixel are. 729 *pixel = (guint32)(0xff000000 * lum_alpha * opacity); 1058 // Subtract 0.5 to prevent small rounding errors from increasing pattern size by one pixel [all...] |
/inkscape/src/ui/tool/ |
H A D | path-manipulator.cpp | 831 void PathManipulator::scaleHandle(Node *n, int which, int dir, bool pixel) argument 839 if (pixel) { 864 void PathManipulator::rotateHandle(Node *n, int which, int dir, bool pixel) 873 if (pixel) { 874 // Rotate by "one pixel"
|
/inkscape/src/ui/tools/ |
H A D | flood-tool.cpp | 184 * Get the pointer to a pixel in a pixel buffer. 185 * @param px The pixel buffer. 188 * @param stride The rowstride of the pixel buffer. 199 * Compare a pixel in a pixel buffer with another pixel to determine if a point should be included in the fill operation. 200 * @param check The pixel in the pixel buffer to check. 201 * @param orig The original selected pixel t 324 guint32 pixel = get_pixel(px, x, y, bci.stride); local [all...] |
Completed in 34 milliseconds