Home
last modified time | relevance | path

Searched refs:PtClick (Results 1 – 4 of 4) 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/
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()