Home
last modified time | relevance | path

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

/external/skia/samplecode/
DSampleQuadStroker.cpp764 static SkScalar MapScreenYtoValue(int y, const SkRect& control, SkScalar min, in MapScreenYtoValue() function in QuadStrokerView
776 fWeight = MapScreenYtoValue(click->fICurr.fY, fWeightControl, 0, 5); in onClick()
778 fRadius = MapScreenYtoValue(click->fICurr.fY, fRadiusControl, 0, 500); in onClick()
782 gDebugStrokerError = SkTMax(FLT_EPSILON, MapScreenYtoValue(click->fICurr.fY, in onClick()
788 fWidth = SkTMax(FLT_EPSILON, MapScreenYtoValue(click->fICurr.fY, fWidthControl, in onClick()