SYMBOL INDEX (194 symbols across 19 files) FILE: examples/pdf2image/src/main.rs type Options (line 12) | struct Options { function main (line 30) | fn main() -> Result<(), Box> { FILE: render/benches/render.rs function bench_render_page (line 7) | fn bench_render_page(c: &mut Criterion) { FILE: render/benches/view.rs function render_file (line 9) | fn render_file(path: &Path) -> Vec { function bench_file (line 22) | fn bench_file(c: &mut Criterion, name: &str) { FILE: render/examples/trace.rs function main (line 5) | fn main() { FILE: render/src/backend.rs type BlendMode (line 19) | pub enum BlendMode { type Backend (line 24) | pub trait Backend { method create_clip_path (line 27) | fn create_clip_path(&mut self, path: Outline, fill_rule: FillRule, par... method draw (line 28) | fn draw(&mut self, outline: &Outline, mode: &DrawMode, fill_rule: Fill... method set_view_box (line 29) | fn set_view_box(&mut self, r: RectF); method draw_image (line 30) | fn draw_image(&mut self, xref: Ref, im: &ImageXObject, resour... method draw_inline_image (line 31) | fn draw_inline_image(&mut self, im: &Arc, resources: &Re... method draw_glyph (line 32) | fn draw_glyph(&mut self, glyph: &Glyph, mode: &DrawMode, transform: Tr... method get_font (line 35) | fn get_font(&mut self, font_ref: &MaybeRef, resolve: &impl Re... method add_text (line 36) | fn add_text(&mut self, span: TextSpan, clip: Option); method bug_text_no_font (line 39) | fn bug_text_no_font(&mut self, data: &[u8]) {} method bug_text_invisible (line 40) | fn bug_text_invisible(&mut self, text: &str) {} method bug_postscript (line 41) | fn bug_postscript(&mut self, data: &[u8]) {} method bug_op (line 42) | fn bug_op(&mut self, op_nr: usize) {} method inspect_op (line 43) | fn inspect_op(&mut self, op: &Op) {} type FillMode (line 47) | pub struct FillMode { type DrawMode (line 52) | pub enum DrawMode { type Stroke (line 58) | pub struct Stroke { FILE: render/src/cache.rs type ImageResult (line 24) | pub struct ImageResult(pub Arc>); method size (line 26) | fn size(&self) -> usize { type Cache (line 34) | pub struct Cache { method new (line 43) | pub fn new() -> Cache { method get_font (line 51) | pub fn get_font(&mut self, pdf_font: &MaybeRef, resolve: &imp... method get_image (line 74) | pub fn get_image(&mut self, xobject_ref: Ref, im: &ImageXObje... method drop (line 83) | fn drop(&mut self) { FILE: render/src/font.rs type FontRc (line 17) | pub struct FontRc(Arc); method from (line 26) | fn from(f: Box) -> Self { method size (line 20) | fn size(&self) -> usize { type Target (line 31) | type Target = dyn font::Font + Send + Sync + 'static; method deref (line 33) | fn deref(&self) -> &Self::Target { method eq (line 39) | fn eq(&self, rhs: &Self) -> bool { method hash (line 46) | fn hash(&self, state: &mut H) { type StandardCache (line 50) | pub struct StandardCache { method new (line 65) | pub fn new() -> StandardCache { method new (line 86) | pub fn new() -> StandardCache { method require_unique_unicode (line 99) | pub fn require_unique_unicode(&mut self, r: bool) { type DirRead (line 104) | pub trait DirRead: Sized { method read_file (line 105) | fn read_file(&self, name: &str) -> Result>; method sub_dir (line 106) | fn sub_dir(&self, name: &str) -> Option; method read_file (line 110) | fn read_file(&self, name: &str) -> Result> { method sub_dir (line 113) | fn sub_dir(&self, name: &str) -> Option { method read_file (line 130) | fn read_file(&self, name: &str) -> Result> { method sub_dir (line 133) | fn sub_dir(&self, name: &str) -> Option { type EmbeddedStandardFonts (line 126) | pub struct EmbeddedStandardFonts; type Dump (line 139) | enum Dump { function load_font (line 145) | pub fn load_font(font_ref: &MaybeRef, resolve: &impl Resolve, c... FILE: render/src/fontentry.rs type FontEntry (line 13) | pub struct FontEntry { method build (line 24) | pub fn build(font: FontRc, pdf_font: MaybeRef, font_db: Optio... method size (line 324) | fn size(&self) -> usize { FILE: render/src/graphicsstate.rs type GraphicsState (line 8) | pub struct GraphicsState<'a, B: Backend> { method clone (line 34) | fn clone(&self) -> Self { function set_fill_color (line 44) | pub fn set_fill_color(&mut self, fill: Fill) { function set_fill_alpha (line 50) | pub fn set_fill_alpha(&mut self, alpha: f32) { function set_stroke_color (line 57) | pub fn set_stroke_color(&mut self, fill: Fill) { function set_stroke_alpha (line 63) | pub fn set_stroke_alpha(&mut self, alpha: f32) { function stroke (line 70) | pub fn stroke(&self) -> Stroke { FILE: render/src/image.rs type ImageData (line 12) | pub struct ImageData<'a> { function new (line 18) | pub fn new(data: impl Into>, width: u32, height: u32) ... function width (line 25) | pub fn width(&self) -> u32 { function height (line 28) | pub fn height(&self) -> u32 { function data (line 31) | pub fn data(&self) -> &[ColorU] { function into_data (line 34) | pub fn into_data(self) -> Cow<'a, [ColorU]> { function rgba_data (line 37) | pub fn rgba_data(&self) -> &[u8] { function rotate (line 45) | pub fn rotate(&self, angle: u8) -> ImageData<'_> { function safe (line 94) | pub fn safe(&self, path: &Path) { function resize_alpha (line 100) | fn resize_alpha(data: &[u8], src_width: u32, src_height: u32, dest_width... function load_image (line 109) | pub fn load_image(image: &ImageXObject, resources: &Resources, resolve: ... function rgb2rgba (line 300) | fn rgb2rgba(c: &[u8], a: u8, mode: BlendMode) -> ColorU { function rgb2rgb (line 311) | fn rgb2rgb(r: f32, g: f32, b: f32, mode: BlendMode) -> [u8; 3] { function cmyk2rgb (line 329) | fn cmyk2rgb([c, m, y, k]: [u8; 4], mode: BlendMode) -> [u8; 3] { function cmyk2color (line 348) | fn cmyk2color(cmyk: [u8; 4], a: u8, mode: BlendMode) -> ColorU { function cmyk2color_arr (line 353) | fn cmyk2color_arr(data: &[u8], alpha: impl Iterator, mode: Blen... FILE: render/src/lib.rs constant SCALE (line 46) | const SCALE: f32 = 25.4 / 72.; type BBox (line 50) | pub struct BBox(Option); method empty (line 52) | pub fn empty() -> Self { method add (line 55) | pub fn add(&mut self, r2: RectF) { method add_bbox (line 61) | pub fn add_bbox(&mut self, bb: Self) { method rect (line 66) | pub fn rect(self) -> Option { method from (line 71) | fn from(r: RectF) -> Self { function page_bounds (line 77) | pub fn page_bounds(page: &Page) -> RectF { function render_page (line 81) | pub fn render_page(backend: &mut impl Backend, resolve: &impl Resolve, p... function render_pattern (line 109) | pub fn render_pattern(backend: &mut impl Backend, pattern: &Pattern, res... type Fill (line 126) | pub enum Fill { method black (line 131) | pub fn black() -> Self { type TextSpan (line 137) | pub struct TextSpan { method parts (line 159) | pub fn parts(&self) -> impl Iterator + '_ { method rparts (line 170) | pub fn rparts(&self) -> impl Iterator + '_ { type Part (line 182) | pub struct Part<'a> { type TextChar (line 189) | pub struct TextChar { FILE: render/src/renderstate.rs type Cvt (line 27) | trait Cvt { method cvt (line 29) | fn cvt(self) -> Self::Out; type Out (line 32) | type Out = Vector2F; method cvt (line 33) | fn cvt(self) -> Self::Out { type Out (line 38) | type Out = Transform2F; method cvt (line 39) | fn cvt(self) -> Self::Out { type Out (line 45) | type Out = RectF; method cvt (line 46) | fn cvt(self) -> Self::Out { type Out (line 54) | type Out = FillRule; method cvt (line 55) | fn cvt(self) -> Self::Out { type Out (line 63) | type Out = (f32, f32, f32); method cvt (line 64) | fn cvt(self) -> Self::Out { type Out (line 70) | type Out = (f32, f32, f32, f32); method cvt (line 71) | fn cvt(self) -> Self::Out { type RenderState (line 77) | pub struct RenderState<'a, R: Resolve, B: Backend> { function new (line 89) | pub fn new(backend: &'a mut B, resolve: &'a R, resources: &'a Resources,... function draw (line 131) | fn draw(&mut self, mode: &DrawMode, fill_rule: FillRule) { function draw_op (line 137) | pub fn draw_op(&mut self, op: &'a Op, op_nr: usize) -> Result<()> { function blend_mode_fill (line 383) | fn blend_mode_fill(&self) -> BlendMode { function blend_mode_stroke (line 390) | fn blend_mode_stroke(&self) -> BlendMode { function text (line 398) | fn text(&mut self, inner: impl FnOnce(&mut B, &mut TextState, &mut Graph... function color_space (line 427) | fn color_space(&self, name: &str) -> Result<&'a ColorSpace> { function flush (line 440) | fn flush(&mut self) { function draw_form (line 446) | fn draw_form(&mut self, form: &FormXObject) -> Result<()> { function get_properties (line 479) | fn get_properties<'b>(&'b self, p: &'b Primitive) -> Result<&'b Dictiona... function convert_color (line 495) | fn convert_color<'a>(cs: &mut &'a ColorSpace, color: &Color, resources: ... function convert_color2 (line 506) | fn convert_color2<'a>(cs: &mut &'a ColorSpace, color: &Color, resources:... function gray2rgb (line 666) | fn gray2rgb(g: f32) -> Fill { function cmyk2rgb (line 670) | fn cmyk2rgb((c, m, y, k): (f32, f32, f32, f32), mode: BlendMode) -> Fill { function to_rect (line 680) | fn to_rect(o: &Outline) -> Option { FILE: render/src/scene.rs type SceneBackend (line 25) | pub struct SceneBackend<'a> { function new (line 30) | pub fn new(cache: &'a mut Cache) -> Self { function finish (line 37) | pub fn finish(self) -> Scene { function paint (line 40) | fn paint(&mut self, fill: Fill, alpha: f32) -> PaintId { type ClipPathId (line 51) | type ClipPathId = ClipPathId; method create_clip_path (line 52) | fn create_clip_path(&mut self, path: Outline, fill_rule: FillRule, paren... method set_view_box (line 58) | fn set_view_box(&mut self, view_box: RectF) { method draw (line 65) | fn draw(&mut self, outline: &Outline, mode: &DrawMode, fill_rule: FillRu... method draw_image (line 103) | fn draw_image(&mut self, xobject_ref: Ref, im: &ImageXObject, r... method draw_inline_image (line 123) | fn draw_inline_image(&mut self, _im: &Arc, _resources: &Re... method get_font (line 127) | fn get_font(&mut self, font_ref: &MaybeRef, resolve: &impl Reso... method add_text (line 130) | fn add_text(&mut self, span: TextSpan, clip: Option) {} function blend_mode (line 133) | fn blend_mode(mode: backend::BlendMode) -> pathfinder_content::effects::... FILE: render/src/textstate.rs type TextState (line 23) | pub struct TextState { method new (line 37) | pub fn new() -> TextState { method reset_matrix (line 52) | pub fn reset_matrix(&mut self) { method translate (line 55) | pub fn translate(&mut self, v: Vector2F) { method next_line (line 61) | pub fn next_line(&mut self) { method set_matrix (line 65) | pub fn set_matrix(&mut self, m: Transform2F) { method draw_text (line 69) | pub fn draw_text(&mut self, backend: &mut B, gs: &Graphics... method advance (line 162) | pub fn advance(&mut self, delta: f32) -> f32 { type Span (line 171) | pub struct Span { FILE: render/src/tracer.rs type ClipPath (line 24) | pub struct ClipPath { type ClipPathId (line 31) | pub struct ClipPathId(pub usize); type Tracer (line 33) | pub struct Tracer<'a> { type TraceCache (line 40) | pub struct TraceCache { method new (line 51) | pub fn new() -> Self { method get_font (line 57) | pub fn get_font(&self, font_ref: &MaybeRef, resolve: &impl Re... method require_unique_unicode (line 74) | pub fn require_unique_unicode(&mut self, require_unique_unicode: bool) { function font_key (line 44) | fn font_key(font_ref: &MaybeRef) -> u64 { function new (line 79) | pub fn new(cache: &'a TraceCache, clip_paths: &'a mut Vec) -> ... function finish (line 88) | pub fn finish(self) -> Vec { function view_box (line 91) | pub fn view_box(&self) -> RectF { type ClipPathId (line 96) | type ClipPathId = ClipPathId; method create_clip_path (line 98) | fn create_clip_path(&mut self, path: Outline, fill_rule: FillRule, paren... method draw (line 107) | fn draw(&mut self, outline: &Outline, mode: &DrawMode, _fill_rule: FillR... method set_view_box (line 124) | fn set_view_box(&mut self, r: RectF) { method draw_image (line 127) | fn draw_image(&mut self, xref: Ref, _im: &ImageXObject, _resour... method draw_inline_image (line 135) | fn draw_inline_image(&mut self, im: &Arc, _resources: &Res... method draw_glyph (line 144) | fn draw_glyph(&mut self, _glyph: &Glyph, _mode: &DrawMode, _transform: T... method get_font (line 145) | fn get_font(&mut self, font_ref: &MaybeRef, resolve: &impl Reso... method add_text (line 148) | fn add_text(&mut self, span: TextSpan, clip: Option) { method bug_op (line 151) | fn bug_op(&mut self, op_nr: usize) { type ImageObject (line 157) | pub struct ImageObject { type InlineImageObject (line 166) | pub struct InlineImageObject { type DrawItem (line 176) | pub enum DrawItem { type VectorPath (line 184) | pub struct VectorPath { FILE: view/src/bin/convert.rs type Opt (line 14) | struct Opt { function main (line 46) | fn main() -> Result<(), PdfError> { FILE: view/src/bin/view.rs function main (line 10) | fn main() { FILE: view/src/lib.rs type PdfView (line 17) | pub struct PdfView { function new (line 29) | pub fn new(file: PdfFile) -> Self { type Event (line 44) | type Event = Vec; method title (line 45) | fn title(&self) -> String { method init (line 51) | fn init(&mut self, ctx: &mut Context, sender: Emitter) { method scene (line 55) | fn scene(&mut self, ctx: &mut Context) -> Scene { method mouse_input (line 66) | fn mouse_input(&mut self, ctx: &mut Context, page: usize, pos: Vector2F,... method keyboard_input (line 70) | fn keyboard_input(&mut self, ctx: &mut Context, state: ModifiersState, e... function run (line 101) | pub fn run() { function show (line 109) | pub fn show(canvas: HtmlCanvasElement, context: WebGl2RenderingContext, ... FILE: wasm/index.js function show_logo (line 6) | function show_logo() { function set_scroll_factors (line 12) | function set_scroll_factors() {} function drop_handler (line 14) | function drop_handler(e) { function dragover_handler (line 19) | function dragover_handler(e) { function display (line 24) | function display(msg) { function init_view (line 30) | function init_view(data, attempt) { function show_data (line 65) | function show_data(data) { function show (line 73) | function show(file) { function open (line 82) | function open() {