Skip to main content

Crate mupdf

Crate mupdf 

Source

Re-exports§

pub use bitmap::Bitmap;
pub use buffer::Buffer;
pub use color_params::ColorParams;
pub use color_params::RenderingIntent;
pub use colorspace::Colorspace;
pub use context::Context;
pub use cookie::Cookie;
pub use destination::Destination;
pub use destination::DestinationKind;
pub use device::BlendMode;
pub use device::Device;
pub use device::DisplayListDevice;
pub use device::Function;
pub use device::NativeDevice;
pub use display_list::DisplayList;
pub use document::Document;
pub use document::MetadataName;
pub use document_writer::DocumentWriter;
pub use error::Error;
pub use file_path::FilePath;
pub use font::CjkFontOrdering;
pub use font::Font;
pub use font::SimpleFontEncoding;
pub use font::WriteMode;
pub use font_loader::set_font_loader;
pub use font_loader::AndroidFontLoader;
pub use font_loader::FontHints;
pub use font_loader::FontLoader;
pub use glyph::Glyph;
pub use image::DisplayListImage;
pub use image::Image;
pub use matrix::Matrix;
pub use outline::Outline;
pub use page::Page;
pub use path::Path;
pub use path::PathWalker;
pub use pdf::EmbeddedFileInfo;
pub use pdf::EmbeddedFileOptions;
pub use pdf::FieldFlags;
pub use pdf::FontInfo;
pub use pdf::InsertFontOptions;
pub use pdf::InsertPdfOptions;
pub use pdf::InsertPdfResult;
pub use pdf::InsertPosition;
pub use pdf::PageLabelRule;
pub use pdf::PageLabelStyle;
pub use pdf::PageRange;
pub use pdf::PageSelection;
pub use pdf::PdfWidget;
pub use pdf::PdfWidgetIter;
pub use pdf::WidgetType;
pub use pdf::ExtractedImage;
pub use pdf::ImagePlacement;
pub use pdf::InsertImageOptions;
pub use pdf::OptionalContentGroup;
pub use pdf::OptionalContentRef;
pub use pdf::PageImageInfo;
pub use pdf::PageImageSource;
pub use pixmap::ColorUsage;
pub use pixmap::ImageFormat;
pub use pixmap::Pixel;
pub use pixmap::Pixmap;
pub use pixmap::PixmapDigest;
pub use point::Point;
pub use quad::Quad;
pub use rect::IRect;
pub use rect::Rect;
pub use separations::Separations;
pub use shade::Shade;
pub use size::Size;
pub use stroke_state::LineCap;
pub use stroke_state::LineJoin;
pub use stroke_state::StrokeState;
pub use text::Text;
pub use text::TextItem;
pub use text::TextSpan;
pub use text_page::RawStructuredText;
pub use text_page::StructuredText;
pub use text_page::StructuredTextBlock;
pub use text_page::StructuredTextChar;
pub use text_page::StructuredTextLine;
pub use text_page::TextBlock;
pub use text_page::TextBlockContent;
pub use text_page::TextChar;
pub use text_page::TextCharFlags;
pub use text_page::TextExtractOptions;
pub use text_page::TextLine;
pub use text_page::TextPage;
pub use text_page::TextPageFlags;
pub use text_page::TextWord;

Modules§

array
Contains a special array::FzArray type which wraps an allocation from the fz_calloc allocation fn that mupdf uses internally. Ideally this will eventually be replaced with Box<[_], A> once the allocator api is stabilized.
bitmap
Bitmaps used for creating halftoned versions of contone buffers, and saving out
buffer
Dynamically allocated array of bytes
color
Color struct
color_params
Color params
colorspace
Colorspace
context
Context
cookie
Provide two-way communication between application and library
destination
Destination
device
Device interface
display_list
A way of packaging up a stream of graphical operations
document
Common document operation interface
document_writer
Easy creation of new documents
drawing
Vector drawing extraction
error
Error types
file_path
File paths
font
Font
font_loader
Pluggable font loading for fonts not embedded in documents
glyph
Glyph
image
Image
link
Hyperlink
matrix
Matrix operations
outline
Outline
output
Output
page
Document page
path
Path type
pdf
PDF interface
pixmap
2 dimensional array of contone pixels
point
Point type
quad
A representation for a region defined by 4 points
rect
Rectangle types
separations
Separations
shade
Shadings
shape
Shape drawing and text APIs for PDF pages
size
Size type
stroke_state
Stroke state
system_font
System font loading The extern "C" shims installed via fz_install_load_system_font_funcs.
text
Text objects
text_page
Text page

Traits§

FFIAnalogue