Searched refs:gammaWidth (Results 1 – 2 of 2) sorted by relevance
/external/skia/tools/ |
D | colorspaceinfo.cpp | 189 const float gammaWidth = kGammaImageWidth - 2 * gap; in draw_transfer_fn() local 205 canvas->drawLine(ox + gammaWidth * tx(ti - 1), in draw_transfer_fn() 207 ox + gammaWidth * tx(ti), in draw_transfer_fn() 216 canvas->drawLine(ox + gammaWidth * (x - step), oy - gammaHeight * yPrev, in draw_transfer_fn() 217 ox + gammaWidth * x, oy - gammaHeight * y, in draw_transfer_fn() 225 canvas->drawRect({ ox, oy - gammaHeight, ox + gammaWidth, oy }, paint); in draw_transfer_fn()
|
/external/skqp/tools/ |
D | colorspaceinfo.cpp | 189 const float gammaWidth = kGammaImageWidth - 2 * gap; in draw_transfer_fn() local 205 canvas->drawLine(ox + gammaWidth * tx(ti - 1), in draw_transfer_fn() 207 ox + gammaWidth * tx(ti), in draw_transfer_fn() 216 canvas->drawLine(ox + gammaWidth * (x - step), oy - gammaHeight * yPrev, in draw_transfer_fn() 217 ox + gammaWidth * x, oy - gammaHeight * y, in draw_transfer_fn() 225 canvas->drawRect({ ox, oy - gammaHeight, ox + gammaWidth, oy }, paint); in draw_transfer_fn()
|