Home
last modified time | relevance | path

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

/external/skqp/tools/viewer/
DViewer.cpp1360 ImVec2 mousePosXY((io.MousePos.x - pos.x) / size.x, (io.MousePos.y - pos.y) / size.y); in ImGui_DragPrimary() local
1362 *x = SkTPin(mousePosXY.x, 0.0f, 1.0f) * 0.8f; in ImGui_DragPrimary()
1363 *y = SkTPin(1 - mousePosXY.y, 0.0f, 1.0f) * 0.9f; in ImGui_DragPrimary()
1419 ImVec2 mousePosXY((io.MousePos.x - pos.x) / size.x, (io.MousePos.y - pos.y) / size.y); in ImGui_DragPoint() local
1421 p->fX = SkTPin(mousePosXY.x, 0.0f, 1.0f); in ImGui_DragPoint()
1422 p->fY = SkTPin(mousePosXY.y, 0.0f, 1.0f); in ImGui_DragPoint()