Home
last modified time | relevance | path

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

/external/skia/samplecode/
DPerlinPatch.cpp160 class PtClick : public Click { class in PerlinPatchView
163 PtClick(SkView* view, int index) : Click(view), fIndex(index) {} in PtClick() function in PerlinPatchView::PtClick
173 return new PtClick(this, -1); in onFindClickHandler()
177 return new PtClick(this, -2); in onFindClickHandler()
183 return new PtClick(this, (int)i); in onFindClickHandler()
190 PtClick* ptClick = (PtClick*)click; in onClick()
DSamplePatch.cpp327 class PtClick : public Click { class in PatchView
330 PtClick(SkView* view, int index) : Click(view), fIndex(index) {} in PtClick() function in PatchView::PtClick
342 return new PtClick(this, (int)i); in onFindClickHandler()
349 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()