Expand description
2D graphics foundation types for rpdfium — a faithful Rust port of PDFium.
Provides type definitions used across the rendering pipeline: path operations, color spaces, blend modes, clipping, bitmaps, and text rendering modes.
This crate contains only type definitions for Phase 1. The actual
rendering implementation (tiny-skia integration) is in rpdfium-render
(Phase 2).
Re-exports§
pub use cfx_color::BlendMode;pub use cfx_color::Color;pub use cfx_color::ColorSpaceFamily;pub use cfx_dibitmap::Bitmap;pub use cfx_dibitmap::BitmapFormat;pub use cfx_path::DashPattern;pub use cfx_path::FillRule;pub use cfx_path::LineCapStyle;pub use cfx_path::LineJoinStyle;pub use cfx_path::PathOp;pub use cfx_path::PathStyle;pub use cfx_path::bounding_box;pub use cfx_path::bounding_box_for_stroke_path;pub use cfx_path::get_bounding_box;pub use cfx_path::get_bounding_box_for_stroke_path;pub use cfx_path::get_rect;pub use cfx_path::is_rect;pub use cfx_path::rect_if_axis_aligned;pub use cfx_textrenderoptions::TextRenderingMode;pub use clip::ClipPath;
Modules§
- cfx_
color - Color spaces, color values, and blend modes.
- cfx_
dibitmap - Bitmap image buffer for rendering output.
- cfx_
path - Path construction operations and styling.
- cfx_
textrenderoptions - Text rendering mode.
- clip
- Clipping path representation.
Structs§
- Image
Ref - Reference to an image object for deferred decoding.