Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ajrcarey/pdfium-render
/ functions
Functions
3,097 in github.com/ajrcarey/pdfium-render
⨍
Functions
3,097
◇
Types & classes
3,132
↓ 2 callers
Method
family
Returns the family of this [PdfFont].
src/pdf/font.rs:231
↓ 2 callers
Method
field_values
Captures a string representation of the value of every form field on every page of the given [PdfPages] collection, returning a map of (field name, fi
src/pdf/document/form.rs:199
↓ 2 callers
Method
font
Returns the font name and raw font descriptor flags for the font applied to this character.
src/pdf/document/page/text/char.rs:152
↓ 2 callers
Method
fonts
(&self)
src/pdf/document.rs:284
↓ 2 callers
Method
form_field
(&self)
src/pdf/document/page/annotation/widget.rs:56
↓ 2 callers
Method
form_field_mut
(&mut self)
src/pdf/document/page/annotation/widget.rs:63
↓ 2 callers
Method
get
Returns a single [PdfPageImageObjectFilter] from this [PdfPageImageObjectFilters] collection.
src/pdf/document/page/object/image.rs:921
↓ 2 callers
Method
get
(&self, index: PdfPageObjectIndex)
src/pdf/document/page/object/x_object_form.rs:86
↓ 2 callers
Method
get_image_from_bitmap
( &self, bitmap: &PdfBitmap, )
src/pdf/document/page/object/image.rs:568
↓ 2 callers
Method
get_index_for_annotation
Perform a linear scan over the given annotation's page objects collection, returning the index of this object if it exists in the collection. Matching
src/pdf/document/page/object/private.rs:297
↓ 2 callers
Function
get_pdfium
Returns a Pdfium instance. The first time this function is called, it will initialize the library. All subsequent calls will return the same Pdfium in
examples/wasm.rs:147
↓ 2 callers
Function
get_pdfium_file_accessor_from_reader
This function is never used when compiling to WASM.
src/utils.rs:297
↓ 2 callers
Method
get_raw_image
(&self)
src/pdf/document/page/object/image.rs:288
↓ 2 callers
Method
get_string_value
Returns the string value associated with the given key in the annotation dictionary of the [PdfPageAnnotation] containing this [PdfFormField], if any.
src/pdf/document/page/field/private.rs:368
↓ 2 callers
Method
group_value
(&self)
src/pdf/document/page/field/checkbox.rs:61
↓ 2 callers
Method
handle
(&self)
src/pdf/document/fonts.rs:100
↓ 2 callers
Method
handle
(&self)
src/pdf/path/segment.rs:59
↓ 2 callers
Method
handle
(&self)
src/pdf/path/clip_path.rs:37
↓ 2 callers
Method
has_attachment_points_impl
(&self)
src/pdf/document/page/annotation/private.rs:376
↓ 2 callers
Method
has_descender
(&self)
src/pdf/document/page/text/char.rs:629
↓ 2 callers
Method
highlight_checkbox_form_fields
(self, color: PdfColor)
src/pdf/document/page/render_config.rs:542
↓ 2 callers
Method
highlight_text_form_fields
(self, color: PdfColor)
src/pdf/document/page/render_config.rs:570
↓ 2 callers
Method
index
(&self)
src/pdf/document/page/text/char.rs:86
↓ 2 callers
Method
index_in_group_impl
Internal implementation of `index_in_group()` function shared by checkable form field widgets such as radio buttons and checkboxes. Not exposed direct
src/pdf/document/page/field/private.rs:351
↓ 2 callers
Method
is_checked
(&self)
src/pdf/document/page/field/radio.rs:68
↓ 2 callers
Method
is_checked_impl
Internal implementation of `is_checked()` function shared by checkable form field widgets such as radio buttons and checkboxes. Not exposed directly b
src/pdf/document/page/field/private.rs:342
↓ 2 callers
Method
is_empty
(&self)
src/pdf/document/page/annotations.rs:81
↓ 2 callers
Method
is_empty
(&self)
src/pdf/document/page/text/chars.rs:90
↓ 2 callers
Method
is_inside
(&self, other: &PdfRect)
src/pdf/rect.rs:173
↓ 2 callers
Method
is_rich_text
Returns `true` if the text in this [PdfFormTextField] is a rich text string. This flag was added in PDF version 1.5.
src/pdf/document/page/field/text.rs:205
↓ 2 callers
Method
is_set
(&self)
src/pdf/document/page/field/option.rs:31
↓ 2 callers
Method
iter_all_descendants
(&self)
src/pdf/document/bookmark.rs:268
↓ 2 callers
Method
iter_impl
(&'a self)
src/pdf/document/page/object/x_object_form.rs:190
↓ 2 callers
Method
iter_siblings
(&self)
src/pdf/document/bookmark.rs:221
↓ 2 callers
Method
label
(&self)
src/pdf/document/page.rs:241
↓ 2 callers
Method
label
(&self)
src/pdf/document/page/field/option.rs:37
↓ 2 callers
Method
last
(&self)
src/pdf/document/pages.rs:202
↓ 2 callers
Method
len
Returns the size of this [PdfAttachment] in bytes.
src/pdf/document/attachment.rs:86
↓ 2 callers
Method
len
(&self)
src/pdf/document/page/text/chars.rs:75
↓ 2 callers
Method
len_impl
(&self)
src/pdf/document/page/object/x_object_form.rs:161
↓ 2 callers
Method
load_pdf_from_fetch
Attempts to open a [PdfDocument] by loading document data from the given URL. The Javascript `fetch` API is used to download data over the network. I
src/pdfium.rs:402
↓ 2 callers
Method
load_pdf_from_reader
Attempts to open a [PdfDocument] from the given reader. Pdfium will only load the portions of the document it actually needs into memory. This is mor
src/pdfium.rs:371
↓ 2 callers
Method
load_true_type_from_bytes
Attempts to load the given byte data as a TrueType font file, returning a reusable [PdfFontToken] if the font was successfully loaded. Set the `is_ci
src/pdf/document/fonts.rs:531
↓ 2 callers
Method
load_type1_from_bytes
Attempts to load the given byte data as a Type 1 font file, returning a reusable [PdfFontToken] if the font was successfully loaded. Set the `is_cid_
src/pdf/document/fonts.rs:386
↓ 2 callers
Method
loose_bounds
Returns a loose bounding box for this character, containing the entire glyph bounds. To return a tight bounding box that takes this character's speci
src/pdf/document/page/text/char.rs:545
↓ 2 callers
Method
metadata
(&self)
src/pdf/document.rs:296
↓ 2 callers
Method
move_to_page
Moves the ownership of all the [PdfPageObject] objects in this group to the given [PdfPage], consuming the group. Page content will be regenerated as
src/pdf/document/page/object/group.rs:376
↓ 2 callers
Method
multiply
(&self, other: PdfMatrix)
src/pdf/matrix.rs:218
↓ 2 callers
Method
name_impl
Internal implementation of [PdfFormFieldCommon::name()].
src/pdf/document/page/field/private.rs:188
↓ 2 callers
Method
new_font_from_bytes
( &mut self, font_data: &[u8], font_type: c_uint, is_cid_font: bool, )
src/pdf/document/fonts.rs:540
↓ 2 callers
Method
next
(&mut self)
src/pdf/font/glyphs.rs:177
↓ 2 callers
Method
orientation
(&self)
src/pdf/document/page.rs:273
↓ 2 callers
Method
origin
Returns the origin x and y positions of this character relative to its containing page.
src/pdf/document/page/text/char.rs:594
↓ 2 callers
Method
ownership
(&self)
src/pdf/document/page/object/image.rs:849
↓ 2 callers
Method
parent
(&self)
src/pdf/document/bookmark.rs:164
↓ 2 callers
Method
patch_pdfium_function_table
Patches the function table in Pdfium's WASM module, replacing the pdfium_function_index entry with the local_function_index entry. This enables Pdfium
src/bindings/wasm_bindings.rs:911
↓ 2 callers
Method
pdfium_page_handle_to_result
Returns a [PdfPage] from the given `FPDF_PAGE` handle, if possible.
src/pdf/document/pages.rs:436
↓ 2 callers
Method
points_to_pixels
Converts from the page coordinate system, measured in [PdfPoints], to the equivalent position in a bitmap coordinate system measured in [Pixels] and w
src/pdf/document/page.rs:499
↓ 2 callers
Method
regenerate_content
(&mut self)
src/pdf/document/page.rs:942
↓ 2 callers
Method
reload_in_place
Reloads the page transparently to any caller, forcing a refresh of all page data structures. This will replace this page's `FPDF_PAGE` handle. The pag
src/pdf/document/page.rs:975
↓ 2 callers
Method
remove_object_from_annotation
(&mut self)
src/pdf/document/page/object.rs:1237
↓ 2 callers
Method
render_into_bitmap_with_settings
Renders this [PdfPage] into the given [PdfBitmap] using the given [PdfRenderSettings]. The size of the buffer backing the given bitmap must be suffici
src/pdf/document/page.rs:631
↓ 2 callers
Method
rotate
Rotates a landscape [PdfPagePaperSize] into a portrait [PdfPagePaperSize] and vice versa, consuming this [PdfPagePaperSize]. Custom sizes have their
src/pdf/document/page/size.rs:452
↓ 2 callers
Method
save_to_bytes
Writes this [PdfAttachment] to a new byte buffer, returning the byte buffer.
src/pdf/document/attachment.rs:113
↓ 2 callers
Method
save_to_writer
Writes this [PdfDocument] to the given writer.
src/pdf/document.rs:325
↓ 2 callers
Method
scale_page_to_display_size
(mut self, width: Pixels, height: Pixels)
src/pdf/document/page/render_config.rs:236
↓ 2 callers
Method
set_a
(&mut self, a: PdfMatrixValue)
src/pdf/matrix.rs:92
↓ 2 callers
Method
set_checked
(&mut self)
src/pdf/document/page/field/radio.rs:87
↓ 2 callers
Method
set_d
(&mut self, d: PdfMatrixValue)
src/pdf/matrix.rs:134
↓ 2 callers
Method
set_image
(&mut self, image: &DynamicImage)
src/pdf/document/page/object/image.rs:686
↓ 2 callers
Method
set_is_read_only
(&mut self, is_read_only: bool)
src/pdf/document/page/field.rs:393
↓ 2 callers
Method
set_maximum_height
(mut self, height: Pixels)
src/pdf/document/page/render_config.rs:291
↓ 2 callers
Method
set_maximum_width
(mut self, width: Pixels)
src/pdf/document/page/render_config.rs:283
↓ 2 callers
Method
set_string_value
Sets the string value associated with the given key in the annotation dictionary of the [PdfPageAnnotation] containing this [PdfFormField].
src/pdf/document/page/field/private.rs:433
↓ 2 callers
Method
text_page_handle
(&self)
src/pdf/document/page/text/chars.rs:60
↓ 2 callers
Method
tight_bounds
Returns a precise bounding box for this character, taking the character's specific shape into account. To return a loose bounding box that contains t
src/pdf/document/page/text/char.rs:512
↓ 2 callers
Method
times_roman
(&mut self)
src/pdf/document/fonts.rs:170
↓ 2 callers
Method
to_mm
(&self)
src/pdf/points.rs:101
↓ 2 callers
Method
to_quad_points
(&self)
src/pdf/rect.rs:210
↓ 2 callers
Method
to_result
(&self, bool: FPDF_BOOL)
src/bindings.rs:193
↓ 2 callers
Method
token
(&self)
src/pdf/document/fonts.rs:113
↓ 2 callers
Function
unaligned_bgr_to_rgba
(bgr: &[u8])
src/utils.rs:49
↓ 2 callers
Method
unicode_string
(&self)
src/pdf/document/page/text/char.rs:120
↓ 2 callers
Method
unpatch_pdfium_function_table
Restores an entry in Pdfium's function table from a previously cached function, undoing a previous call to patch_pdfium_function_table().
src/bindings/wasm_bindings.rs:962
↓ 2 callers
Method
unwrap_as_trait
(&self)
src/pdf/document/page/field.rs:149
↓ 2 callers
Method
unwrap_as_trait
(&self)
src/pdf/document/page/object.rs:369
↓ 1 callers
Method
FPDFAction_GetDest
(&self, document: FPDF_DOCUMENT, action: FPDF_ACTION)
src/bindings/wasm_bindings.rs:10850
↓ 1 callers
Method
FPDFAction_GetType
(&self, action: FPDF_ACTION)
src/bindings/wasm_bindings.rs:10833
↓ 1 callers
Method
FPDFAnnot_AddFileAttachment
( &self, annot: FPDF_ANNOTATION, name: FPDF_WIDESTRING, )
src/bindings/wasm_bindings.rs:9124
↓ 1 callers
Method
FPDFAnnot_AppendAttachmentPoints
( &self, annot: FPDF_ANNOTATION, quad_points: *const FS_QUADPOINTSF, )
src/bindings/wasm_bindings.rs:7300
↓ 1 callers
Method
FPDFAnnot_CountAttachmentPoints
(&self, annot: FPDF_ANNOTATION)
src/bindings/wasm_bindings.rs:7333
↓ 1 callers
Method
FPDFAnnot_GetAttachmentPoints
( &self, annot: FPDF_ANNOTATION, quad_index: size_t, quad_points: *mut FS_QUAD
src/bindings/wasm_bindings.rs:7350
↓ 1 callers
Method
FPDFAnnot_GetFlags
(&self, annot: FPDF_ANNOTATION)
src/bindings/wasm_bindings.rs:8200
↓ 1 callers
Method
FPDFAnnot_GetFontColor
( &self, form: FPDF_FORMHANDLE, annot: FPDF_ANNOTATION, R: *mut c_uint,
src/bindings/wasm_bindings.rs:8701
↓ 1 callers
Method
FPDFAnnot_GetFontSize
( &self, form: FPDF_FORMHANDLE, annot: FPDF_ANNOTATION, value: *mut c_float,
src/bindings/wasm_bindings.rs:8597
↓ 1 callers
Method
FPDFAnnot_GetFormControlIndex
( &self, form: FPDF_FORMHANDLE, annot: FPDF_ANNOTATION, )
src/bindings/wasm_bindings.rs:8955
↓ 1 callers
Method
FPDFAnnot_GetFormFieldFlags
( &self, handle: FPDF_FORMHANDLE, annot: FPDF_ANNOTATION, )
src/bindings/wasm_bindings.rs:8238
↓ 1 callers
Method
FPDFAnnot_GetFormFieldType
( &self, form: FPDF_FORMHANDLE, annot: FPDF_ANNOTATION, )
src/bindings/wasm_bindings.rs:8394
↓ 1 callers
Method
FPDFAnnot_GetLink
(&self, annot: FPDF_ANNOTATION)
src/bindings/wasm_bindings.rs:8913
↓ 1 callers
Method
FPDFAnnot_GetNumberValue
( &self, annot: FPDF_ANNOTATION, key: &str, value: *mut c_float, )
src/bindings/wasm_bindings.rs:8016
← previous
next →
401–500 of 3,097, ranked by callers