Skip to main content

Crate vector_editor_core

Crate vector_editor_core 

Source
Expand description

Core structures for editing point-based structures.

This crate provides the fundamental building blocks for creating vector graphics editors. It defines the core data structures such as PointObject and Layer, and provides traits for configuring selection settings and behaviors.

§Features

  • PointObject: A generic struct representing a collection of points with associated options.
  • Layer: A struct representing a layer of PointObjects.
  • SelectSettings: A trait for configuring selection settings for point objects.
  • Selectable: A trait for selecting points within a PointObject.
  • LayerEditor: Render-agnostic interaction state for editing a layer.

Structs§

Layer
A struct representing a layer of point objects.
LayerEditor
Editing state for a single layer.
PointIndex
Identifies a single point: the object within a layer and the point within it.
PointObject
A struct representing a point object with associated points and options.

Traits§

SelectSettings
A trait for configuring selection settings for point objects.