Lines Matching defs:source
4 * Use of this source code is governed by a BSD-style license that can be
23 SkBitmap source;
24 if (!GetResourceAsBitmap("images/color_wheel.png", &source)) {
29 SkIRect left = SkIRect::MakeWH(source.width()/2, source.height());
30 SkIRect right = SkIRect::MakeXYWH(source.width()/2, 0,
31 source.width()/2, source.height());
33 source.extractSubset(&leftBitmap, left);
34 source.extractSubset(&rightBitmap, right);