Searched refs:normPt (Results 1 – 1 of 1) sorted by relevance
39 static uint8_t look_up(SkPoint normPt, const SkPixmap& pmap, SkColorChannel channel) { in look_up() argument40 SkASSERT(normPt.x() > 0 && normPt.x() < 1.0f); in look_up()41 SkASSERT(normPt.y() > 0 && normPt.y() < 1.0f); in look_up()42 int x = SkScalarFloorToInt(normPt.x() * pmap.width()); in look_up()43 int y = SkScalarFloorToInt(normPt.y() * pmap.height()); in look_up()