Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/connorskees/pdf
/ functions
Functions
943 in github.com/connorskees/pdf
⨍
Functions
943
◇
Types & classes
448
↓ 1 callers
Method
delta_p1
(&mut self)
src/font/true_type/interpreter.rs:638
↓ 1 callers
Method
delta_p2
(&mut self)
src/font/true_type/interpreter.rs:655
↓ 1 callers
Method
delta_p3
(&mut self)
src/font/true_type/interpreter.rs:672
↓ 1 callers
Method
dict
(&mut self)
src/postscript/interpreter.rs:946
↓ 1 callers
Method
distance_from_origin
(&self)
src/geometry/point.rs:34
↓ 1 callers
Method
draw_image
( &mut self, image: &ImageXObject<'a>, resolver: &mut dyn Resolve<'a>, )
src/render/canvas.rs:420
↓ 1 callers
Method
draw_path_nop
End the path object without filling or stroking it. This operator shall be a path-painting no-op, used primarily for the side effect of changing the c
src/render/mod.rs:1473
↓ 1 callers
Method
draw_text_adjusted
Show one or more text strings, allowing individual glyph positioning. Each element of array shall be either a string or a number. If the element is a
src/render/mod.rs:1333
↓ 1 callers
Method
draw_text_unadjusted
(&mut self)
src/render/mod.rs:1341
↓ 1 callers
Method
draw_xobject
Paint the specified XObject. The operand name shall appear as a key in the XObject subdictionary of the current resource dictionary. The associated va
src/render/mod.rs:1389
↓ 1 callers
Method
dup
(&mut self)
src/postscript/interpreter.rs:831
↓ 1 callers
Method
eexec
(&mut self)
src/postscript/interpreter.rs:704
↓ 1 callers
Method
end
(&mut self)
src/postscript/interpreter.rs:814
↓ 1 callers
Method
end_char
finishes a charstring outline definition, and must be the last operator in a character's outline
src/font/cff/charstring.rs:1083
↓ 1 callers
Method
end_marked_content_sequence
End a marked-content sequence begun by a BMC or BDC operator.
src/render/mod.rs:1516
↓ 1 callers
Method
end_text
End a text object, discarding the text matrix.
src/render/mod.rs:1044
↓ 1 callers
Method
eq
(&mut self)
src/postscript/interpreter.rs:560
↓ 1 callers
Method
euclidean_distance
(&self, other: Self)
src/geometry/point.rs:30
↓ 1 callers
Method
evaluate
(&mut self, codepoint: u32, resolver: &mut dyn Resolve<'b>)
src/render/mod.rs:1556
↓ 1 callers
Method
exch
(&mut self)
src/postscript/interpreter.rs:686
↓ 1 callers
Method
exec
(&mut self)
src/postscript/interpreter.rs:404
↓ 1 callers
Method
execute
(&mut self, op: PostscriptOperator)
src/postscript/interpreter.rs:154
↓ 1 callers
Method
expect_name
( &mut self, key: &'static str, resolver: &mut dyn Resolve, )
src/objects.rs:335
↓ 1 callers
Method
expect_name_is_value
( &mut self, key: &'static str, val: &'static str, required: bool, res
src/objects.rs:197
↓ 1 callers
Method
expect_number
( &self, key: &'static [u8], error: PostScriptError, )
src/postscript/object.rs:196
↓ 1 callers
Method
expect_object
( &mut self, key: &'static str, resolver: &mut dyn Resolve<'a>, )
src/objects.rs:313
↓ 1 callers
Method
expect_string
( &mut self, key: &'static str, resolver: &mut dyn Resolve, )
src/objects.rs:284
↓ 1 callers
Function
extract_option_segment
TODO store (with lazy static) the vec of string TODO maybe optimization, reverse the order of segments
pdf_macro/src/util.rs:13
↓ 1 callers
Function
extract_type_from_option
(ty: &syn::Type)
pdf_macro/src/util.rs:3
↓ 1 callers
Function
extract_type_path
(ty: &syn::Type)
pdf_macro/src/util.rs:4
↓ 1 callers
Function
field_getter
(name: &Ident, ty: &Type, key: &LitStr, default: &Option<Expr>)
pdf_macro/src/pdf_obj.rs:11
↓ 1 callers
Method
field_width
(&self, field: XrefStreamField)
src/xref/stream/mod.rs:133
↓ 1 callers
Method
fill_outline_even_odd
(&mut self, outline: &Outline, color: u32)
src/render/canvas.rs:151
↓ 1 callers
Method
fill_path_non_zero_winding_number
(&mut self, path: &Path, color: u32)
src/render/canvas.rs:87
↓ 1 callers
Method
flex
(&mut self)
src/font/cff/charstring.rs:574
↓ 1 callers
Method
flex1
causes the two curves described by the arguments to be rendered as a straight line when the flex depth is less than 0.5 device pixels, and as curved l
src/font/cff/charstring.rs:438
↓ 1 callers
Method
font_matrix
(&self)
src/render/mod.rs:1575
↓ 1 callers
Method
for_loop
(&mut self)
src/postscript/interpreter.rs:301
↓ 1 callers
Function
gen_standard_encoding_vector
( interpreter: &mut PostscriptInterpreter, )
src/postscript/builtin.rs:178
↓ 1 callers
Function
gen_system_dict
()
src/postscript/builtin.rs:9
↓ 1 callers
Method
get_by_name
(&self, s: &PostScriptString)
src/postscript/charstring.rs:261
↓ 1 callers
Method
get_byte_range
`start` is inclusive, `end` is exclusive 0 indexed
src/lex.rs:79
↓ 1 callers
Method
get_current_dict
(&mut self)
src/postscript/interpreter.rs:1116
↓ 1 callers
Method
get_glyf_entry
(&self, char_code: u32)
src/font/true_type/table/loca.rs:7
↓ 1 callers
Method
get_integer
(&mut self, key: &str, resolver: &mut dyn Resolve)
src/objects.rs:229
↓ 1 callers
Method
get_key
(&mut self, key: &PostScriptString)
src/postscript/interpreter.rs:1131
↓ 1 callers
Function
get_names
( dict: &mut Dictionary<'a>, resolver: &mut dyn Resolve<'a>, )
src/data_structures/name_tree.rs:19
↓ 1 callers
Function
get_nums
( dict: &mut Dictionary<'a>, resolver: &mut dyn Resolve<'a>, )
src/data_structures/number_tree.rs:19
↓ 1 callers
Method
get_procedure
(&self, key: &'static [u8])
src/postscript/object.rs:238
↓ 1 callers
Method
get_range_from_cursor
(&mut self, length: usize)
src/postscript/lexer.rs:111
↓ 1 callers
Method
glyph
(&mut self, char_code: u32)
src/font/true_type/font_file.rs:98
↓ 1 callers
Method
hflex
causes the two curves described by the arguments dx1...dx6 to be rendered as a straight line when the flex depth is less than 0.5 (that is, fd is 50)
src/font/cff/charstring.rs:531
↓ 1 callers
Method
hflex1
causes the two curves described by the arguments to be rendered as a straight line when the flex depth is less than 0.5 device pixels, and as curved l
src/font/cff/charstring.rs:483
↓ 1 callers
Method
hhcurveto
appends one or more Bézier curves, as described by the dxa...dxc set of arguments, to the current point. For each curve, if there are 4 arguments, the
src/font/cff/charstring.rs:1042
↓ 1 callers
Method
hintmask
specifies which hints are active and which are not active. If any hints overlap, hintmask must be used to establish a nonoverlapping subset of hints.
src/font/cff/charstring.rs:346
↓ 1 callers
Method
hlineto
appends a horizontal line of length dx1 to the current point. With an odd number of arguments, subsequent argument pairs are interpreted as alternatin
src/font/cff/charstring.rs:670
↓ 1 callers
Method
hmoveto
moves the current point dx1 units in the horizontal direction
src/font/cff/charstring.rs:782
↓ 1 callers
Method
horizontal_stem
(&mut self, y: f32, dy: f32)
src/geometry/path_builder.rs:83
↓ 1 callers
Method
horizontal_stem3
(&mut self, y0: f32, dy0: f32, y1: f32, dy1: f32, y2: f32, dy2: f32)
src/geometry/path_builder.rs:87
↓ 1 callers
Method
hsbw
(&mut self, side_bearing_x_coord: f32, width_vector_x_coord: f32)
src/geometry/path_builder.rs:77
↓ 1 callers
Method
hstem
(&mut self)
src/font/cff/charstring.rs:259
↓ 1 callers
Method
hstemhm
(&mut self)
src/font/cff/charstring.rs:280
↓ 1 callers
Method
hvcurveto
appends one or more Bézier curves to the current point. The tangent for the first Bézier must be horizontal, and the second must be vertical (except a
src/font/cff/charstring.rs:811
↓ 1 callers
Function
ident_token_from_bytes
todo: case sensitive?
src/function/postscript_calculator/lexer.rs:83
↓ 1 callers
Method
idiv
(&mut self)
src/postscript/interpreter.rs:292
↓ 1 callers
Method
if_else
(&mut self)
src/postscript/interpreter.rs:388
↓ 1 callers
Method
if_op
(&mut self)
src/postscript/interpreter.rs:376
↓ 1 callers
Method
in_compatibility_mode
(&self)
src/content/mod.rs:79
↓ 1 callers
Method
index
(&mut self)
src/postscript/interpreter.rs:344
↓ 1 callers
Function
indices_for_outline
(num_vertices: usize, offset: u32)
src/render/wgpu/state.rs:157
↓ 1 callers
Method
init_buffers
(&mut self, to_render: &[Renderable], width: f32, height: f32)
src/render/wgpu/state.rs:216
↓ 1 callers
Method
input
(&mut self, event: &WindowEvent)
src/render/wgpu/state.rs:560
↓ 1 callers
Method
intern_string
(&mut self, str: PostScriptString)
src/postscript/interpreter.rs:1015
↓ 1 callers
Method
internal_dict
(&mut self)
src/postscript/interpreter.rs:466
↓ 1 callers
Method
into_cubic
(self)
src/geometry/quadratic_bezier.rs:29
↓ 1 callers
Method
ip
(&mut self)
src/font/true_type/interpreter.rs:690
↓ 1 callers
Method
is_empty
(&self)
src/postscript/charstring.rs:72
↓ 1 callers
Method
is_markup
(&self)
src/annotation/subtype.rs:65
↓ 1 callers
Method
is_null
(&self)
src/postscript/object.rs:31
↓ 1 callers
Method
iup
(&mut self, a: u8)
src/font/true_type/interpreter.rs:701
↓ 1 callers
Method
known
(&mut self)
src/postscript/interpreter.rs:510
↓ 1 callers
Method
leaves
(&self)
src/page.rs:36
↓ 1 callers
Method
length
(&self)
src/geometry/line.rs:26
↓ 1 callers
Method
length
(&mut self)
src/postscript/interpreter.rs:902
↓ 1 callers
Method
lex_array
(&mut self)
src/lex.rs:499
↓ 1 callers
Method
lex_false
Assumes leading 'f' has not been consumed
src/lex.rs:338
↓ 1 callers
Method
lex_gt
(&mut self)
src/lex.rs:351
↓ 1 callers
Method
lex_gt
(&mut self)
src/postscript/lexer.rs:142
↓ 1 callers
Method
lex_hex_string
todo: base 85?
src/lex.rs:422
↓ 1 callers
Method
lex_ident
(&mut self)
src/function/postscript_calculator/lexer.rs:161
↓ 1 callers
Method
lex_null
Assumes leading 'n' has not been consumed
src/lex.rs:345
↓ 1 callers
Method
lex_number
todo: scientific notation (1e2) todo: radix numbers (16#FFFE)
src/lex.rs:447
↓ 1 callers
Method
lex_number
(&mut self)
src/function/postscript_calculator/lexer.rs:194
↓ 1 callers
Method
lex_object_from_object_stream
( &mut self, byte_offset: usize, reference: Reference, )
src/lib.rs:179
↓ 1 callers
Method
lex_object_stream
(&mut self, byte_offset: usize)
src/lib.rs:151
↓ 1 callers
Method
lex_page_object
( &mut self, mut dict: Dictionary<'a>, kid_ref: Reference, pages: &mut HashMap
src/lib.rs:273
↓ 1 callers
Method
lex_page_tree
(&mut self, xref: &Xref, root_reference: Reference)
src/lib.rs:211
↓ 1 callers
Method
lex_page_tree_node
( &mut self, mut dict: Dictionary<'a>, kid_ref: Reference, page_queue: &mut Ve
src/lib.rs:356
↓ 1 callers
Method
lex_procedure
(&mut self)
src/postscript/interpreter.rs:740
↓ 1 callers
Method
lex_true
Assumes leading 't' has not been consumed
src/lex.rs:331
← previous
next →
301–400 of 943, ranked by callers