Crate gerber_viewer

Source

Re-exports§

pub use gerber_parser;
pub use gerber_types;

Modules§

deduplicate

Structs§

BoundingBox
DisplayInfo
Struct to hold display information including DPI values
GerberImageTransform
This is to support the deprecated MI, SF, OF, IR and AS commands.
GerberLayer
FUTURE if the rendering is always real-time, then caching the points at the time the primitives are created would have a performance benefit. e.g. GerberArcPrimitive::generate_points and similar methods.
GerberPolygon
GerberRenderer
GerberTransform
Gerber-specific transform. Transform order: -Origin, Mirroring, Rotation, *Scale, +Origin, +Offset
Mirroring
PolygonGeometry
PolygonMesh
RenderConfiguration
UiState
ViewState

Enums§

AxisAssignment

Traits§

AddVec2
FromTuple2
FromVec2
Invert
Matrix3Point2Ext
Extension trait for transforming Point2 using a Matrix3
Matrix3Pos2Ext
Extension trait for transforming egui’s Pos2 using a Matrix3
Matrix3ScalingExt
Extension trait that adds methods to extract scaling factors from a transformation matrix
Matrix3TransformExt
Extension trait for checking properties of a Matrix3 transformation
ToPos2
ToPosition
ToVector

Functions§

draw_arrow
draw_crosshair
draw_marker
draw_outline
generate_pastel_color
hsv_to_rgb
is_convex
tessellate_polygon