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
↓ 6 callers
Method
line_to
(&mut self, p: Point)
src/geometry/path.rs:141
↓ 6 callers
Method
vertical_horizontal_curve_to
(&mut self, dy1: f32, dx2: f32, dy2: f32, dx3: f32)
src/geometry/path_builder.rs:27
↓ 6 callers
Method
vertical_line_to
(&mut self, dy: f32)
src/geometry/path_builder.rs:31
↓ 5 callers
Method
add_point
(&mut self, p: Point)
src/geometry/bounding_box.rs:22
↓ 5 callers
Method
close_path
(&mut self)
src/geometry/path.rs:93
↓ 5 callers
Method
execute_procedure
(&mut self, proc: Vec<PostScriptObject>)
src/postscript/interpreter.rs:231
↓ 5 callers
Method
get
(&mut self)
src/postscript/interpreter.rs:409
↓ 5 callers
Method
get_bool
(&self, key: &'static [u8])
src/postscript/object.rs:254
↓ 5 callers
Method
get_object
( &mut self, key: &str, resolver: &mut dyn Resolve<'a>, )
src/objects.rs:302
↓ 5 callers
Method
lex_dict_ignore_stream
(&mut self)
src/lex.rs:366
↓ 5 callers
Method
next_matches
Does not modify the cursor
src/lex.rs:109
↓ 5 callers
Method
parse_array
(&mut self)
src/icc_profile/parse.rs:102
↓ 5 callers
Method
peek
(&mut self)
src/parse_binary.rs:15
↓ 5 callers
Method
pop_delta
(&mut self)
src/font/cff/dict.rs:141
↓ 5 callers
Method
pop_number
(&mut self)
src/postscript/interpreter.rs:1079
↓ 5 callers
Method
push
(&mut self, n: f32)
src/font/cff/charstring.rs:50
↓ 5 callers
Method
push_dict_stack
(&mut self, dict: DictionaryIndex)
src/postscript/interpreter.rs:1106
↓ 4 callers
Method
arith
( &mut self, checked: impl Fn(i32, i32) -> Option<i32>, real: impl Fn(f32, f32) -> f32
src/postscript/interpreter.rs:264
↓ 4 callers
Method
close_path
Close the current subpath by appending a straight line segment from the current point to the starting point of the subpath. If the current subpath is
src/render/mod.rs:894
↓ 4 callers
Method
cmp
( &mut self, cmp_int: impl Fn(i32, i32) -> bool, cmp_str: impl Fn(&PostScriptString, &
src/postscript/interpreter.rs:239
↓ 4 callers
Method
cubic_curve_to
( &mut self, first_control_point: Point, second_control_point: Point, end: Poi
src/geometry/path.rs:201
↓ 4 callers
Method
current_transformation_matrix
(&self)
src/render/mod.rs:172
↓ 4 callers
Method
expect_dict
( &self, key: &'static [u8], error: PostScriptError, )
src/postscript/object.rs:132
↓ 4 callers
Method
expect_integer
( &self, key: &'static [u8], error: PostScriptError, )
src/postscript/object.rs:213
↓ 4 callers
Method
expect_reference
(&mut self, key: &'static str)
src/objects.rs:295
↓ 4 callers
Method
expect_tag
(&mut self, expected: IccTagSignature)
src/icc_profile/parse.rs:222
↓ 4 callers
Method
get_arr_mut
(&mut self, k: ArrayIndex)
src/postscript/interpreter.rs:1004
↓ 4 callers
Method
get_str_mut
(&mut self, k: StringIndex)
src/postscript/interpreter.rs:1026
↓ 4 callers
Method
into
(self)
src/data_structures/matrix.rs:129
↓ 4 callers
Method
into_int
(self)
src/postscript/object.rs:39
↓ 4 callers
Method
lex_object
(&mut self)
src/lex.rs:308
↓ 4 callers
Method
next_byte
(&mut self)
src/function/postscript_calculator/lexer.rs:149
↓ 4 callers
Method
or
(&mut self)
src/postscript/interpreter.rs:478
↓ 4 callers
Method
parse_index
(&mut self)
src/font/cff/parse.rs:152
↓ 4 callers
Method
pop_arr
(&mut self)
src/postscript/interpreter.rs:1065
↓ 4 callers
Method
pop_arr
(&mut self)
src/font/cff/dict.rs:137
↓ 4 callers
Method
pop_bool
(&mut self)
src/postscript/interpreter.rs:1072
↓ 4 callers
Method
pop_name
(&mut self)
src/postscript/interpreter.rs:1044
↓ 4 callers
Method
pop_procedure
(&mut self)
src/postscript/interpreter.rs:1087
↓ 4 callers
Method
pop_u32
(&mut self)
src/font/cff/dict.rs:162
↓ 4 callers
Method
set_access
(&mut self, access: Access)
src/postscript/object.rs:114
↓ 4 callers
Method
start
(&self)
src/geometry/path.rs:42
↓ 4 callers
Method
subdivide
Algorithm adapted from <https://raphlinus.github.io/graphics/curves/2019/12/23/flatten-quadbez.html>
src/geometry/quadratic_bezier.rs:47
↓ 3 callers
Method
as_bytes
(&self)
src/postscript/object.rs:328
↓ 3 callers
Method
basis
(&self, t: f32)
src/geometry/cubic_bezier.rs:35
↓ 3 callers
Method
call
(&mut self)
src/font/true_type/interpreter.rs:630
↓ 3 callers
Method
count
(&mut self)
src/postscript/interpreter.rs:519
↓ 3 callers
Method
dict
(&mut self)
src/function/mod.rs:46
↓ 3 callers
Method
draw
(&mut self, scale: &mut f32)
src/render/canvas.rs:519
↓ 3 callers
Method
encoder
(&self, label: &'static str)
src/render/wgpu/state.rs:595
↓ 3 callers
Method
execute_token
(&mut self, tok: PostScriptObject)
src/postscript/interpreter.rs:128
↓ 3 callers
Method
expect_arr
( &mut self, key: &'static str, resolver: &mut dyn Resolve<'a>, )
src/objects.rs:380
↓ 3 callers
Method
expect_array
( &self, key: &'static [u8], error: PostScriptError, )
src/postscript/object.rs:180
↓ 3 callers
Method
expect_eol
(&mut self)
src/lex.rs:160
↓ 3 callers
Method
expect_integer
( &mut self, key: &'static str, resolver: &mut dyn Resolve, )
src/objects.rs:247
↓ 3 callers
Method
fill_path_even_odd
(&mut self, path: &Path, color: u32)
src/render/canvas.rs:91
↓ 3 callers
Method
find_table_entry
(&self, tag: TableTag)
src/font/true_type/table/font_directory.rs:14
↓ 3 callers
Method
float_op
(&mut self, func: impl Fn(f32) -> f32)
src/postscript/interpreter.rs:877
↓ 3 callers
Method
get_offset
(&self, reference: Reference)
src/xref/mod.rs:27
↓ 3 callers
Method
get_ref
todo: cache somehow
src/objects.rs:71
↓ 3 callers
Method
get_unsigned_integer
( &mut self, key: &str, resolver: &mut dyn Resolve, )
src/objects.rs:236
↓ 3 callers
Method
intersects_line
(&self, other: Line)
src/geometry/line.rs:59
↓ 3 callers
Method
into_float
(self)
src/postscript/object.rs:47
↓ 3 callers
Method
is_empty
(&self)
src/objects.rs:324
↓ 3 callers
Method
is_int
(&self)
src/postscript/object.rs:35
↓ 3 callers
Method
lex_name
(&mut self)
src/lex.rs:183
↓ 3 callers
Method
lex_object
(&mut self)
src/postscript/lexer.rs:119
↓ 3 callers
Method
lex_stream
(&mut self, stream_dict: XrefStreamDict<'a>)
src/xref/parser.rs:148
↓ 3 callers
Method
modify_access
(&mut self, access: Access)
src/postscript/interpreter.rs:787
↓ 3 callers
Method
parse
(&mut self)
src/font/cff/parse.rs:21
↓ 3 callers
Method
parse_f15dot16
(&mut self)
src/icc_profile/parse.rs:117
↓ 3 callers
Method
pop
(&mut self)
src/font/cff/charstring.rs:55
↓ 3 callers
Method
pop_dict
(&mut self)
src/postscript/interpreter.rs:1058
↓ 3 callers
Method
pop_file
(&mut self)
src/postscript/interpreter.rs:1091
↓ 3 callers
Method
pop_integer
(&mut self)
src/render/mod.rs:111
↓ 3 callers
Method
read_obj_prelude
(&mut self)
src/lex.rs:544
↓ 3 callers
Method
read_obj_trailer
(&mut self)
src/lex.rs:556
↓ 3 callers
Method
stroke_path
Stroke the path.
src/render/mod.rs:843
↓ 3 callers
Method
stroking_color
(&self)
src/render/mod.rs:204
↓ 2 callers
Method
approximate_quadratic
(self)
src/geometry/cubic_bezier.rs:81
↓ 2 callers
Method
as_inner
(&self)
src/postscript/object.rs:421
↓ 2 callers
Method
assert_bool
(&mut self, obj: Object)
src/resolve.rs:92
↓ 2 callers
Function
assert_reference
(obj: Object)
src/lib.rs:96
↓ 2 callers
Method
basis
(&self, t: f32)
src/geometry/quadratic_bezier.rs:38
↓ 2 callers
Method
bytes_per_pixel
(&self)
src/filter/flate.rs:47
↓ 2 callers
Method
bytes_per_row
(&self)
src/filter/flate.rs:51
↓ 2 callers
Method
capacity
(&self)
src/postscript/object.rs:126
↓ 2 callers
Method
consume_if_next_byte_is
(&mut self, b: u8)
src/function/postscript_calculator/lexer.rs:185
↓ 2 callers
Method
cursor
(&self)
src/xref/parser.rs:31
↓ 2 callers
Function
curve_vertices
(path: &Path, width: f32, height: f32)
src/render/wgpu/state.rs:68
↓ 2 callers
Method
decode
(self)
src/filter/dct.rs:15
↓ 2 callers
Function
decode_ascii_85_digit
(digit: u8, n: &mut u32, count: &mut u8, result: &mut Vec<u8>)
src/filter/ascii.rs:31
↓ 2 callers
Function
decrypt_inner
todo: no copy
src/postscript/decode.rs:5
↓ 2 callers
Method
draw_text
(&mut self, arr: Vec<Object<'b>>)
src/render/mod.rs:1118
↓ 2 callers
Method
end
(&self)
src/geometry/path.rs:50
↓ 2 callers
Method
entries
(self)
src/objects.rs:115
↓ 2 callers
Method
evaluate_as_subroutine
(&mut self, c: &CharString)
src/postscript/charstring.rs:324
↓ 2 callers
Method
expect_procedure
( &self, key: &'static [u8], error: PostScriptError, )
src/postscript/object.rs:230
↓ 2 callers
Method
expect_stream
(self)
src/function/mod.rs:53
↓ 2 callers
Method
expect_unsigned_integer
( &mut self, key: &'static str, resolver: &mut dyn Resolve, )
src/objects.rs:258
← previous
next →
101–200 of 943, ranked by callers