Lines Matching defs:from
323 // from SetPattern
929 // the rectangle ranges from the top-left (.0, .0)
975 // the rectangle ranges from the top-left (.0, .0)
1144 // the rectangle ranges from the top-left (.0, .0)
1170 // the rectangle ranges from the top-left (.0, .0)
1577 // by the AGG renderer and use the colors from the PatternHandler
1996 BGradient::ColorStop* from = gradient.ColorStopAt(0);
1998 if (!from)
2002 // int32 index = (int32)floorf(colorCount * from->offset + 0.5)
2004 int32 index = (int32)floorf(colorCount * from->offset / 255 + 0.5)
2012 c[0] = from->color.blue;
2013 c[1] = from->color.green;
2014 c[2] = from->color.red;
2015 c[3] = from->color.alpha;
2020 // interpolate "from" to "to"
2041 c[0] = (uint8)floorf(from->color.blue * f
2043 c[1] = (uint8)floorf(from->color.green * f
2045 c[2] = (uint8)floorf(from->color.red * f
2047 c[3] = (uint8)floorf(from->color.alpha * f
2053 // the current "to" will be the "from" in the next interpolation
2054 from = to;
2061 c[0] = from->color.blue;
2062 c[1] = from->color.green;
2063 c[2] = from->color.red;
2064 c[3] = from->color.alpha;
2076 BGradient::ColorStop* from = gradient.ColorStopAtFast(i);
2078 agg::rgba8 fromColor(from->color.red, from->color.green,
2079 from->color.blue, from->color.alpha);
2084 from->offset);
2087 float dist = to->offset - from->offset;
2091 for (int j = (int)from->offset; j <= (int)to->offset; j++) {