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
↓ 2 callers
Method
fill_path
(&mut self, fill_rule: FillRule)
src/render/mod.rs:950
↓ 2 callers
Function
fuzzy_eq
(a: f32, b: f32)
src/render/canvas.rs:19
↓ 2 callers
Method
get_byte_range
(&mut self, len: usize)
src/icc_profile/parse.rs:96
↓ 2 callers
Method
get_color_space
(&mut self, pos: ColorSpacePosition)
src/render/mod.rs:422
↓ 2 callers
Function
get_filters
(obj: Object<'a>, resolver: &mut dyn Resolve<'a>)
src/stream.rs:112
↓ 2 callers
Method
get_name
(&mut self, key: &str, resolver: &mut dyn Resolve)
src/objects.rs:328
↓ 2 callers
Method
height
(&self)
src/geometry/bounding_box.rs:53
↓ 2 callers
Function
ident_token_from_bytes
(bytes: &[u8])
src/postscript/lexer.rs:10
↓ 2 callers
Method
intersects_line_even_odd
(&self, line: Line)
src/geometry/path.rs:162
↓ 2 callers
Method
into_obj
(self)
src/function/mod.rs:60
↓ 2 callers
Method
lex_dict
TODO: move to Lex trait proper and restrain to where Self: Sized + Resolve
src/lib.rs:119
↓ 2 callers
Method
lex_number
(&mut self)
src/postscript/lexer.rs:184
↓ 2 callers
Method
lex_operator
(&mut self)
src/postscript/lexer.rs:146
↓ 2 callers
Method
lex_string
(&mut self)
src/lex.rs:222
↓ 2 callers
Method
lex_trailer
(&mut self, offset: usize, is_previous: bool)
src/lib.rs:168
↓ 2 callers
Method
merge
(&mut self, other: Self)
src/geometry/bounding_box.rs:34
↓ 2 callers
Method
merge_with_previous
(&mut self, previous: Xref)
src/xref/mod.rs:57
↓ 2 callers
Method
midpoint
(self, other: Self)
src/geometry/point.rs:22
↓ 2 callers
Method
move_to
Begin a new subpath by moving the current point to coordinates (x, y), omitting any connecting line segment. If the previous path construction operato
src/render/mod.rs:926
↓ 2 callers
Method
name_is
If self is an instance of `Object::Name`, returns whether or not the names are equivalent. Otherwise, returns false
src/objects.rs:44
↓ 2 callers
Method
next
(&mut self)
src/postscript/lexer.rs:246
↓ 2 callers
Method
next_is_ascii_digit
(&mut self)
src/lex.rs:104
↓ 2 callers
Method
objects_equal
(&self, a: PostScriptObject, b: PostScriptObject)
src/postscript/interpreter.rs:527
↓ 2 callers
Method
original_position
(&self, zone: Zone, idx: u32)
src/font/true_type/interpreter.rs:310
↓ 2 callers
Method
parse_glyph
(&mut self)
src/font/true_type/parse.rs:264
↓ 2 callers
Method
parse_i32
(&mut self)
src/icc_profile/parse.rs:61
↓ 2 callers
Method
parse_number
(&mut self, b0: u8)
src/font/cff/dict.rs:171
↓ 2 callers
Function
parse_rgba
(color: u32)
src/render/canvas.rs:41
↓ 2 callers
Method
parse_xref_at_offset
(&mut self, offset: usize)
src/xref/parser.rs:169
↓ 2 callers
Method
parse_xyz_number
(&mut self)
src/icc_profile/parse.rs:143
↓ 2 callers
Method
peek_byte_offset
(&self, offset: usize)
src/lex.rs:41
↓ 2 callers
Method
pop_arr
(&mut self)
src/render/mod.rs:129
↓ 2 callers
Method
pop_dict_stack
(&mut self)
src/postscript/interpreter.rs:1110
↓ 2 callers
Method
pop_string
(&mut self)
src/postscript/interpreter.rs:1051
↓ 2 callers
Method
push_arr
(&mut self, arr: Vec<PostScriptObject>)
src/postscript/interpreter.rs:990
↓ 2 callers
Method
push_str
(&mut self, str: PostScriptString)
src/postscript/interpreter.rs:1008
↓ 2 callers
Method
read_long_date_time
(&mut self)
src/font/true_type/parse.rs:108
↓ 2 callers
Method
refresh
(&mut self)
src/render/canvas.rs:541
↓ 2 callers
Method
relative_line_to
(&mut self, dx: f32, dy: f32)
src/geometry/path_builder.rs:19
↓ 2 callers
Method
render_content_stream
(&mut self)
src/render/mod.rs:216
↓ 2 callers
Method
resize
(&mut self, mut new_size: winit::dpi::PhysicalSize<u32>)
src/render/wgpu/state.rs:545
↓ 2 callers
Method
restore_graphics_state
(&mut self)
src/render/mod.rs:1356
↓ 2 callers
Method
save_graphics_state
Save the current graphics state on the graphics state stack
src/render/mod.rs:1350
↓ 2 callers
Function
scale_to_fit
(width: f32, height: f32)
src/render/mod.rs:77
↓ 2 callers
Method
slope
(&self)
src/geometry/line.rs:18
↓ 2 callers
Function
solve_quadratic_formula
(a: f32, b: f32, c: f32)
src/geometry/cubic_bezier.rs:5
↓ 2 callers
Method
stroke_and_fill
(&mut self, fill_rule: FillRule)
src/render/mod.rs:318
↓ 2 callers
Method
stroke_path
(&mut self, path: &Path, color: u32)
src/render/canvas.rs:183
↓ 2 callers
Method
vstem
(&mut self)
src/font/cff/charstring.rs:401
↓ 2 callers
Method
width
(&self)
src/geometry/bounding_box.rs:49
↓ 2 callers
Method
window
(&self)
src/render/wgpu/state.rs:541
↓ 2 callers
Method
write
(&mut self, bytes: &[u8])
src/postscript/object.rs:298
↓ 2 callers
Method
zone
(&self, zone: Zone)
src/font/true_type/interpreter.rs:317
↓ 1 callers
Method
access
(&self)
src/postscript/object.rs:413
↓ 1 callers
Method
alignrp
(&mut self)
src/font/true_type/interpreter.rs:619
↓ 1 callers
Method
and
(&mut self)
src/postscript/interpreter.rs:494
↓ 1 callers
Function
apply_opacity
(color: u32, opacity: f32, background: u32)
src/render/canvas.rs:49
↓ 1 callers
Method
array
(&mut self)
src/postscript/interpreter.rs:368
↓ 1 callers
Method
array_end
(&mut self)
src/postscript/interpreter.rs:766
↓ 1 callers
Method
array_start
(&mut self)
src/postscript/interpreter.rs:781
↓ 1 callers
Method
as_matrix
(&self)
src/postscript/object.rs:429
↓ 1 callers
Method
as_path
(&self)
src/data_structures/rectangle.rs:46
↓ 1 callers
Method
assert_dict_or_null
(&mut self, obj: Object<'a>)
src/resolve.rs:126
↓ 1 callers
Method
assert_number_or_null
(&mut self, obj: Object)
src/resolve.rs:137
↓ 1 callers
Method
begin
(&mut self)
src/postscript/interpreter.rs:840
↓ 1 callers
Method
begin_marked_content_sequence
Begin a marked-content sequence terminated by a balancing EMC operator. tag shall be a name object indicating the role or significance of the sequence
src/render/mod.rs:1486
↓ 1 callers
Method
begin_marked_content_sequence_with_property_list
Begin a marked-content sequence with an associated property list, terminated by a balancing EMC operator. tag shall be a name object indicating the ro
src/render/mod.rs:1503
↓ 1 callers
Method
begin_text
Begin a text object, initializing the text matrix, Tm, and the text line matrix, Tlm, to the identity matrix. Text objects shall not be nested; a seco
src/render/mod.rs:1037
↓ 1 callers
Method
bind
(&mut self)
src/postscript/interpreter.rs:607
↓ 1 callers
Method
bits_per_pixel
(&self)
src/filter/flate.rs:43
↓ 1 callers
Method
call_other_subroutine
( &mut self, other_subr_number: usize, args: Vec<f32>, )
src/postscript/charstring.rs:548
↓ 1 callers
Method
call_subroutine
(&mut self, subr_number: usize)
src/postscript/charstring.rs:535
↓ 1 callers
Method
callgsubr
operates in the same manner as callsubr except that it calls a global subroutine
src/font/cff/charstring.rs:1033
↓ 1 callers
Method
callsubr
calls a charstring subroutine with index subr# (actually the subr number plus the subroutine bias number) in the Subrs array. Each element of the Subr
src/font/cff/charstring.rs:1027
↓ 1 callers
Method
clip
todo: implement clipping maybe see: https://davis.wpi.edu/~matt/courses/clipping/ https://en.wikipedia.org/wiki/Sutherland%E2%80%93Hodgman_algorithm h
src/geometry/path.rs:91
↓ 1 callers
Method
close_and_stroke_path
Close and stroke the path. This operator shall have the same effect as the sequence `h S`.
src/render/mod.rs:865
↓ 1 callers
Method
close_file
closes file, breaking the association between the file object and the underlying file For an output file, closefile first performs a flushfile operat
src/postscript/interpreter.rs:977
↓ 1 callers
Method
close_path
(&mut self)
src/geometry/path_builder.rs:35
↓ 1 callers
Method
cmp
(&self, other: &Self)
src/postscript/object.rs:352
↓ 1 callers
Method
cntrmask
specifies the counter spaces to be controlled, and their relative priority. The mask bits in the bytes, following the operator, reference the stem hin
src/font/cff/charstring.rs:369
↓ 1 callers
Method
compute_encryption_key
(&self, password: &[u8])
src/encryption.rs:255
↓ 1 callers
Method
contains
(&self, key: &Name)
src/postscript/object.rs:110
↓ 1 callers
Method
copy
(&mut self)
src/postscript/interpreter.rs:916
↓ 1 callers
Method
create_rectangle
Append a rectangle to the current path as a complete subpath, with lower-left corner (x, y) and dimensions width and height in user space. The operat
src/render/mod.rs:1433
↓ 1 callers
Method
current_dict
(&mut self)
src/postscript/interpreter.rs:731
↓ 1 callers
Method
current_file
(&mut self)
src/postscript/interpreter.rs:724
↓ 1 callers
Method
cursor_mut
(&mut self)
src/postscript/lexer.rs:239
↓ 1 callers
Method
cursor_mut
(&mut self)
src/xref/parser.rs:35
↓ 1 callers
Method
curve_to
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x2, y2) as t
src/render/mod.rs:659
↓ 1 callers
Method
curve_to_final_replicated
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using (x1, y1) and (x3, y3) as t
src/render/mod.rs:641
↓ 1 callers
Method
curve_to_initial_replicated
Append a cubic Bézier curve to the current path. The curve shall extend from the current point to the point (x3, y3), using the current point and (x2,
src/render/mod.rs:623
↓ 1 callers
Method
cvt_entry
(&self, n: usize)
src/font/true_type/font_file.rs:157
↓ 1 callers
Method
cvx
(&mut self)
src/postscript/interpreter.rs:851
↓ 1 callers
Function
decode_ascii_85
(mut stream: &[u8])
src/filter/ascii.rs:47
↓ 1 callers
Function
decode_ascii_hex
(stream: &[u8])
src/filter/ascii.rs:1
↓ 1 callers
Function
decrypt
(cipher: &[u8])
src/postscript/decode.rs:16
↓ 1 callers
Function
decrypt_charstring
(cipher: &[u8])
src/postscript/decode.rs:20
↓ 1 callers
Method
decrypt_stream
(&self, mut stream: Vec<u8>, reference: Reference)
src/encryption.rs:299
↓ 1 callers
Method
def
(&mut self)
src/postscript/interpreter.rs:820
↓ 1 callers
Method
define_font
(&mut self)
src/postscript/interpreter.rs:329
← previous
next →
201–300 of 943, ranked by callers