swipecardprobe

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 24, 2026 License: BSD-3-Clause Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command swipecardprobe shows a SwipeArea in card mode (#989) on a real painter: drag the card left or right, or up or down, and release.

-auto drags the card by -dx, -dy without a finger, saves a capture to -shot and exits, to check the painters draw the card where the software painter does (the centre moved by the drag, tilted clockwise when dragged right):

go run ./hack/swipecardprobe -auto -dx 150 -shot /tmp/webgpu.png
go run -tags gl ./hack/swipecardprobe -auto -dx 150 -shot /tmp/gl.png

-composite puts a label below a coloured block instead of one rectangle, to see how a card made of several objects tilts (#997). With -auto it also paints the window with the software painter, the reference for where each object goes, and prints how far the label's glyphs are from where it draws them:

go run ./hack/swipecardprobe -auto -composite -dx 150
go run -tags gl ./hack/swipecardprobe -auto -composite -dx 150

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL