Skip to main content

fop_types/
lib.rs

1//! Core types for Apache FOP Rust implementation
2//!
3//! This crate provides foundational types used throughout the FOP system:
4//! - Length: Dimensional measurements with various units
5//! - Color: RGBA color values
6//! - Geometry: Points, rectangles, and sizes
7//! - Errors: Base error types
8
9pub mod color;
10pub mod error;
11pub mod expression;
12pub mod font_metrics;
13pub mod geometry;
14pub mod gradient;
15pub mod length;
16pub mod percentage;
17
18pub use color::Color;
19pub use error::{FopError, Location, Result};
20pub use expression::{EvalContext, Expression};
21pub use font_metrics::{FontMetrics, FontRegistry};
22pub use geometry::{Point, Rect, Size};
23pub use gradient::{ColorStop, Gradient};
24pub use length::{FontContext, Length, LengthUnit};
25pub use percentage::Percentage;