Home
last modified time | relevance | path

Searched refs:PtClick (Results 1 – 2 of 2) sorted by relevance

/external/skia/samplecode/
DPerlinPatch.cpp167 class PtClick : public Click { class in PerlinPatchView
170 PtClick(SkView* view, int index) : Click(view), fIndex(index) {} in PtClick() function in PerlinPatchView::PtClick
180 return new PtClick(this, -1); in onFindClickHandler()
184 return new PtClick(this, -2); in onFindClickHandler()
190 return new PtClick(this, (int)i); in onFindClickHandler()
197 PtClick* ptClick = (PtClick*)click; in onClick()
DSamplePatch.cpp302 class PtClick : public Click { class in PatchView
305 PtClick(SkView* view, int index) : Click(view), fIndex(index) {} in PtClick() function in PatchView::PtClick
317 return new PtClick(this, (int)i); in onFindClickHandler()
324 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()