Home
last modified time | relevance | path

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

/external/skia/tools/viewer/
DViewer.cpp945 ImVec2 mousePosXY((io.MousePos.x - pos.x) / size.x, (io.MousePos.y - pos.y) / size.y); in ImGui_DragPrimary() local
947 *x = SkTPin(mousePosXY.x, 0.0f, 1.0f) * 0.8f; in ImGui_DragPrimary()
948 *y = SkTPin(1 - mousePosXY.y, 0.0f, 1.0f) * 0.9f; in ImGui_DragPrimary()