Top | ![]() |
![]() |
![]() |
![]() |
GwySelectionQuad represents general quadrilaterals. They are usually interpreted as the results of a projective transformation of some rectangle, but it can be used in other situations when arbitrary quadrilaterals are needed. Selection data consist of octuples of coordinates (x₀, y₀, x₁, y₁, x₂, y₂, x₃, y₃), where 0, 1, 2 and 3 denote the four vertices of the quadrilateral, going along the perimeter. For convex quadrilaterals the vertices should be in the clockwise order.
GwySelection *
gwy_selection_quad_new (void
);
Creates a new quad selection.