Lines Matching defs:color

342 	// adopt the color *after* the pattern is set
343 // to set the renderers to the correct color
388 Painter::SetHighColor(const rgb_color& color)
390 if (fPatternHandler.HighColor() == color)
392 fPatternHandler.SetHighColor(color);
394 _SetRendererColor(color);
400 Painter::SetLowColor(const rgb_color& color)
402 fPatternHandler.SetLowColor(color);
404 _SetRendererColor(color);
469 // update renderer color if necessary
537 fPixelFormat.blend_pixel(dotX, dotY, fRenderer.color(),
584 pixel32 color;
585 color.data8[0] = c.blue;
586 color.data8[1] = c.green;
587 color.data8[2] = c.red;
588 color.data8[3] = 255;
598 *(uint32*)handle = color.data32;
616 pixel32 color;
617 color.data8[0] = c.blue;
618 color.data8[1] = c.green;
619 color.data8[2] = c.red;
620 color.data8[3] = 255;
630 *handle++ = color.data32;
1004 // get a 32 bit pixel ready with the color
1005 pixel32 color;
1006 color.data8[0] = c.blue;
1007 color.data8[1] = c.green;
1008 color.data8[2] = c.red;
1009 color.data8[3] = c.alpha;
1022 // *handle++ = color.data32;
1024 gfxset32(offset + y1 * bpr, color.data32, (x2 - x1 + 1) * 4);
1039 // Make sure the color array is no larger than the screen height.
1094 // get a 32 bit pixel ready with the color
1095 pixel32 color;
1096 color.data8[0] = c.blue;
1097 color.data8[1] = c.green;
1098 color.data8[2] = c.red;
1099 color.data8[3] = c.alpha;
1104 // *handle++ = color.data32;
1106 gfxset32(dst, color.data32, bytes);
1575 // The AGG renderers have their own color setting, however
1576 // almost all drawing mode classes ignore the color given
1579 // the color in the renderer and special versions of drawing modes
1593 Painter::_SetRendererColor(const rgb_color& color) const
1595 fRenderer.color(agg::rgba(color.red / 255.0, color.green / 255.0,
1596 color.blue / 255.0, color.alpha / 255.0));
1597 fSubpixRenderer.color(agg::rgba(color.red / 255.0, color.green / 255.0,
1598 color.blue / 255.0, color.alpha / 255.0));
1600 // fRendererBin.color(agg::rgba(color.red / 255.0, color.green / 255.0,
1601 // color.blue / 255.0, color.alpha / 255.0));
2012 c[0] = from->color.blue;
2013 c[1] = from->color.green;
2014 c[2] = from->color.red;
2015 c[3] = from->color.alpha;
2041 c[0] = (uint8)floorf(from->color.blue * f
2042 + to->color.blue * t + 0.5);
2043 c[1] = (uint8)floorf(from->color.green * f
2044 + to->color.green * t + 0.5);
2045 c[2] = (uint8)floorf(from->color.red * f
2046 + to->color.red * t + 0.5);
2047 c[3] = (uint8)floorf(from->color.alpha * f
2048 + to->color.alpha * t + 0.5);
2061 c[0] = from->color.blue;
2062 c[1] = from->color.green;
2063 c[2] = from->color.red;
2064 c[3] = from->color.alpha;
2078 agg::rgba8 fromColor(from->color.red, from->color.green,
2079 from->color.blue, from->color.alpha);
2080 agg::rgba8 toColor(to->color.red, to->color.green,
2081 to->color.blue, to->color.alpha);