Home | History | Annotate | Download | only in samplecode

Lines Matching full:draw

23     // You might draw something here, but it's not necessary.
80 class Draw : public SkRefCnt {
82 Draw() : fFlags(0) {}
99 void draw(SkCanvas* canvas) {
154 class RDraw : public Draw {
231 virtual Draw* create(const SkPoint&, const SkPoint&) = 0;
239 virtual Draw* create(const SkPoint& p0, const SkPoint& p1) {
252 Draw* fDraw;
255 SkTDArray<Draw*> fList;
268 Draw* setDraw(Draw* d) {
277 Draw* hitTestList(SkScalar x, SkScalar y) const {
278 Draw** first = fList.begin();
279 for (Draw** iter = fList.end(); iter > first;) {
292 SampleCode::TitleR(evt, "Draw");
308 for (Draw** iter = fList.begin(); iter < fList.end(); iter++) {
309 (*iter)->draw(canvas);
312 fDraw->draw(canvas);
317 for (Draw** iter = fList.begin(); iter < fList.end(); iter++) {
322 Draw* d = this->hitTestList(x, y);
354 for (Draw** iter = fList.begin(); iter < fList.end(); iter++) {