Lines Matching refs:paint
41 SkPaint paint;
42 paint.setColor(SK_ColorBLACK); // This is a solid black color for our text
43 paint.setTextSize(SkIntToScalar(30)); // Sets the text size to 30 pixels
44 paint.setAntiAlias(true); // We turn on anti-aliasing so that the text to looks good.
48 SkScalar fontHeight = paint.getFontSpacing();
51 paint); // SkPaint to tell how to draw the text
54 paint.setAntiAlias(false); // Turning off anti-aliasing speeds up the line drawing
55 paint.setColor(0xFF0000FF); // This is a solid blue color for our lines
56 paint.setStrokeWidth(SkIntToScalar(2)); // This makes the lines have a thickness of 2 pixels
65 paint); // SkPapint to tell how to draw the line