blob: d06ef9c3da5a06a9b1245bb419d4bf3dd99085a4 [file] [log] [blame]
#include "SkCanvas.h"
#include "SkData.h"
#include "SkForceLinking.h"
#include "SkGraphics.h"
#include "SkImageEncoder.h"
#include "SkImageInfo.h"
#include "SkStream.h"
#include "SkSurface.h"
void draw(SkCanvas* canvas) {
#line 1
SkPaint p;
#line 2
p.setColor(SK_ColorRED);
#line 3
p.setAntiAlias(true);
#line 4
p.setStyle(SkPaint::kStroke_Style);
#line 5
p.setStrokeWidth(10);
#line 6
#line 7
canvas->drawLine(20, 20, 100, 100, p);
#line 8
}