Skip to main content

Crate graphitepdf

Crate graphitepdf 

Source

Re-exports§

pub use crate::layout as layout_crate;
pub use crate::render as render_crate;
pub use crate::renderer as renderer_crate;
pub use crate::textkit as textkit_crate;
pub use graphitepdf_errors as errors;
pub use graphitepdf_font as font;
pub use graphitepdf_image as image;
pub use graphitepdf_kit as kit;
pub use graphitepdf_math as math;
pub use graphitepdf_primitives as primitives;
pub use graphitepdf_stylesheet as stylesheet;
pub use graphitepdf_svg as svg;

Modules§

document
error
layout
render
renderer
style
textkit

Structs§

Bounds
Canvas
Canvas for building vector graphics paths.
Color
CoreLayoutDocument
CoreLayoutEngine
CoreLayoutNode
CoreLayoutPage
CoreRenderDocument
CoreRenderEngine
CoreRenderPage
DataImageSource
DataUriImageSource
Document
DocumentBuilder
EdgeInsets
FontDescriptor
FontVariantWeight
ImageNode
LocalImageSource
MathOptions
MathRender
MathSvgNode
Metadata
Node
NoopRenderBackend
Page
PageMargins
Page margins in points.
PageSize
Page size in points (1 point = 1/72 inch).
Point
Pt
RemoteImageSource
Renderer
ResolveImageOptions
Size
Style
Stylesheet
StylesheetContainer
SvgNode
SvgRenderOptions
TextBlock
TextBuilder
Builder for constructing text content.
TextNode
TextSpan

Enums§

AlignItems
AssetImageSource
CoreLayoutContent
FlexDirection
FontSource
FontStyle
FontWeight
Font weight options.
GraphitePdfError
ImageFormat
ImageSource
JustifyContent
LineCap
Line cap style.
LineJoin
Line join style.
MathDimension
MathSvgNodeKind
NodeKind
Object
PDF object types as specified in PDF 1.7 specification.
RemoteCredentials
RemoteMethod
RenderCommand
StandardFont
StyleValue
SvgNodeKind
TextAlignment
Text alignment options.
TextRenderingMode
Text rendering mode.

Traits§

RenderBackend
ToPdfPageContent

Functions§

parse_svg
render_math
render_math_to_page_content
render_math_to_page_content_with_options
render_math_with_options
render_svg_node_to_page_content
render_svg_node_to_page_content_with_options
resolve_image
resolve_image_with_options
try_parse_svg

Type Aliases§

ImageAsset
PdfMetadata
Result
StylesheetExpandedStyle
StylesheetMap
StylesheetSafeStyle
SvgProps