Enumeration (GI Enum)

Gsk-4.0GskSnapDirectionSince 4.24

Specifies how a coordinate should be snapped to the pixel grid.

Note that the top and left sides of rectangles need to be snapped in the opposite direction from the bottom and right sides to make the rectangle grow or shrink.

4.24

Index
CEIL: 2

Use ceil() to snap

FLOOR: 1

Use floor() to snap

NONE: 0

Don't snap the value

ROUND: 3

Use round() to snap

Variables

$gtype