GwySelectionLine

GwySelectionLine — Arbitrary line selection

Functions

Types and Values

Object Hierarchy

    GObject
    ╰── GwySelection
        ╰── GwySelectionLine

Implemented Interfaces

GwySelectionLine implements GwySerializable.

Includes

#include <libgwydgets/gwydgets.h>

Description

GwySelectionLine represents lines with arbitrary length and angle. Selection data consist of quadruples of coordinates (x₀, y₀, x₁, y₁), where 0 and 1 denote the two end points.

Functions

gwy_selection_line_new()

GwySelection *
gwy_selection_line_new (void);

Creates a new line selection.

Returns

A new selection object.

Types and Values

struct GwySelectionLine

struct GwySelectionLine;

struct GwySelectionLineClass

struct GwySelectionLineClass {
    GwySelectionClass parent_class;
};