Home
last modified time | relevance | path

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

/external/skqp/samplecode/
DPerlinPatch.cpp166 class PtClick : public Click { class in PerlinPatchView
169 PtClick(Sample* view, int index) : Click(view), fIndex(index) {} in PtClick() function in PerlinPatchView::PtClick
179 return new PtClick(this, -1); in onFindClickHandler()
183 return new PtClick(this, -2); in onFindClickHandler()
189 return new PtClick(this, (int)i); in onFindClickHandler()
196 PtClick* ptClick = (PtClick*)click; in onClick()
DSamplePatch.cpp300 class PtClick : public Click { class in PatchView
303 PtClick(Sample* view, int index) : Click(view), fIndex(index) {} in PtClick() function in PatchView::PtClick
315 return new PtClick(this, (int)i); in onFindClickHandler()
322 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()
/external/skia/samplecode/
DSamplePatch.cpp289 class PtClick : public Click { class
292 PtClick(int index) : fIndex(index) {} in PtClick() function in __anon76c76b3e0111::PatchView::PtClick
304 return new PtClick((int)i); in onFindClickHandler()
311 fPts[((PtClick*)click)->fIndex].set(click->fCurr.fX - DX, click->fCurr.fY - DY); in onClick()