GwySelectionRectangle
GwySelectionRectangle — Rectangle selection
|
|
Object Hierarchy
GObject
╰── GwySelection
╰── GwySelectionRectangle
Includes
#include <libgwydgets/gwydgets.h>
Description
GwySelectionRectangle represents rectangles. Selection data consist of quadruples of coordinates (x₀, y₀, x₁, y₁),
where 0 and 1 denote two opposite corners of the rectangle. It may any pair corners, as long as the two are
opposite.
Functions
gwy_selection_rectangle_new()
GwySelection *
gwy_selection_rectangle_new (void
);
Creates a new rectangle selection.
Returns
A new selection object.
Types and Values
struct GwySelectionRectangle
struct GwySelectionRectangle;
struct GwySelectionRectangleClass
struct GwySelectionRectangleClass {
GwySelectionClass parent_class;
};