Home | History | Annotate | Download | only in gm

Lines Matching defs:source

4  * Use of this source code is governed by a BSD-style license that can be
16 SkBitmap source;
17 if (!GetResourceAsBitmap("images/color_wheel.png", &source)) {
20 SkIRect left = SkIRect::MakeWH(source.width()/2, source.height());
21 SkIRect right = SkIRect::MakeXYWH(source.width()/2, 0,
22 source.width()/2, source.height());
24 source.extractSubset(&leftBitmap, left);
25 source.extractSubset(&rightBitmap, right);