Lines Matching +full:- +full:- +full:hard
4 * Use of this source code is governed by a BSD-style license that can be
19 * 2-color | rect00 rect01 rect02
20 * 3-color even | rect10 rect11 rect12
21 * 3-color texture | rect20 rect21 rect22
22 * 5-color hard stop | rect30 rect31 rect32
23 * 4-color hard stop centered | rect40 rect41 rect42
24 * 3-color hard stop 001 | rect50 rect51 rect52
25 * 3-color hard stop 011 | rect60 rect61 rect62
26 * 4-color hard stop off-center | rect70 rect71 rect72
28 * The first three rows are cases covered by pre-hard-stop code; simple
29 * 2-color gradients, 3-color gradients with the middle color centered,
32 * The next four rows all deal with hard stop gradients. The fourth row
33 * is a generic hard stop gradient, while the three subsequent rows deal
34 * with special cases of hard stop gradients; centered hard stop gradients
35 * (with t-values 0, 0.5, 0.5, 1), and two edge cases (with t-values
36 * 0, 0, 1 and 0, 1, 1). The final row has a single off-center hard stop.
55 const int RECT_WIDTH = CELL_WIDTH - (2 * PAD_WIDTH);
56 const int RECT_HEIGHT = CELL_HEIGHT - (2 * PAD_HEIGHT);
67 canvas->drawRect(rect, paint); in shade_rect()
74 auto x1 = SkIntToScalar((cellCol+1) * CELL_WIDTH - PAD_WIDTH - X_OFFSET); in create_gradient_points()