Lines Matching refs:K
20 static const int K = 49; variable
22 DEF_SIMPLE_GM(daa, canvas, K+350, 5*K) {
29 K*1.5f, K*0.5f, SkFont(), paint);
32 canvas->drawRect({0,0,K,K}, paint);
34 SkPoint tri1[] = {{0,0},{K,K},{0,K},{0,0}};
35 SkPoint tri2[] = {{0,0},{K,K},{K,0},{0,0}};
44 canvas->translate(0,K);
48 K*1.5f, K*0.5f, SkFont(), paint);
51 canvas->drawRect({0,0,K,K}, paint);
54 SkPath path = SkPath::Polygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false);
60 SkPath path = SkPath::Polygon({{K*0.5f,0},{K*0.5f,K},{K,K},{K,0}}, false);
66 canvas->translate(0,K);
70 K*1.5f, K*0.5f, SkFont(), paint);
73 canvas->drawRect({0,0,K,K}, paint);
76 SkPath path = SkPathBuilder().addPolygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false)
77 .addPolygon({{K*0.5f,0},{K*0.5f,K},{K,K},{K,0}}, false)
85 canvas->translate(0,K);
89 K*1.5f, K*0.5f, SkFont(), paint);
92 canvas->drawRect({0,0,K,K}, paint);
95 SkPath path = SkPathBuilder().addPolygon({{0,0},{0,K},{K*0.5f,K},{K*0.5f,0}}, false)
96 .addPolygon({{K*0.5f,0},{K,0},{K,K},{K*0.5f,K}}, false)
104 canvas->translate(0,K);
108 K*1.5f, K*0.5f, SkFont(), paint);
111 canvas->drawRect({0,0,K,K}, paint);
113 SkPath path = SkPath::Polygon({{K*0.5f,0},{0,0},{0,K},{K*0.5f,K},
114 {K*0.5f,0},{K,0},{K,K},{K*0.5f,K}},