pub unsafe trait CIPDF417BarcodeGenerator: CIFilterProtocol {
Show 24 methods
// Provided methods
unsafe fn message(&self) -> Retained<NSData>
where Self: Sized + Message { ... }
unsafe fn setMessage(&self, message: &NSData)
where Self: Sized + Message { ... }
unsafe fn minWidth(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMinWidth(&self, min_width: c_float)
where Self: Sized + Message { ... }
unsafe fn maxWidth(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMaxWidth(&self, max_width: c_float)
where Self: Sized + Message { ... }
unsafe fn minHeight(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMinHeight(&self, min_height: c_float)
where Self: Sized + Message { ... }
unsafe fn maxHeight(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setMaxHeight(&self, max_height: c_float)
where Self: Sized + Message { ... }
unsafe fn dataColumns(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setDataColumns(&self, data_columns: c_float)
where Self: Sized + Message { ... }
unsafe fn rows(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setRows(&self, rows: c_float)
where Self: Sized + Message { ... }
unsafe fn preferredAspectRatio(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setPreferredAspectRatio(&self, preferred_aspect_ratio: c_float)
where Self: Sized + Message { ... }
unsafe fn compactionMode(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setCompactionMode(&self, compaction_mode: c_float)
where Self: Sized + Message { ... }
unsafe fn compactStyle(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setCompactStyle(&self, compact_style: c_float)
where Self: Sized + Message { ... }
unsafe fn correctionLevel(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setCorrectionLevel(&self, correction_level: c_float)
where Self: Sized + Message { ... }
unsafe fn alwaysSpecifyCompaction(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setAlwaysSpecifyCompaction(
&self,
always_specify_compaction: c_float,
)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the PDF417 Barcode Generator filter.
Generate a PDF417 barcode image for message data.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn setMinWidth(&self, min_width: c_float)
unsafe fn setMinWidth(&self, min_width: c_float)
Setter for minWidth.
Sourceunsafe fn setMaxWidth(&self, max_width: c_float)
unsafe fn setMaxWidth(&self, max_width: c_float)
Setter for maxWidth.
Sourceunsafe fn setMinHeight(&self, min_height: c_float)
unsafe fn setMinHeight(&self, min_height: c_float)
Setter for minHeight.
Sourceunsafe fn setMaxHeight(&self, max_height: c_float)
unsafe fn setMaxHeight(&self, max_height: c_float)
Setter for maxHeight.
Sourceunsafe fn dataColumns(&self) -> c_float
unsafe fn dataColumns(&self) -> c_float
The number of data columns in the generated barcode
Sourceunsafe fn setDataColumns(&self, data_columns: c_float)
unsafe fn setDataColumns(&self, data_columns: c_float)
Setter for dataColumns.
Sourceunsafe fn preferredAspectRatio(&self) -> c_float
unsafe fn preferredAspectRatio(&self) -> c_float
The preferred aspect ratio of the generated barcode
Sourceunsafe fn setPreferredAspectRatio(&self, preferred_aspect_ratio: c_float)
unsafe fn setPreferredAspectRatio(&self, preferred_aspect_ratio: c_float)
Setter for preferredAspectRatio.
Sourceunsafe fn compactionMode(&self) -> c_float
unsafe fn compactionMode(&self) -> c_float
The compaction mode of the generated barcode.
Sourceunsafe fn setCompactionMode(&self, compaction_mode: c_float)
unsafe fn setCompactionMode(&self, compaction_mode: c_float)
Setter for compactionMode.
Sourceunsafe fn compactStyle(&self) -> c_float
unsafe fn compactStyle(&self) -> c_float
Force a compact style Aztec code to true or false. Set to nil for automatic.
Sourceunsafe fn setCompactStyle(&self, compact_style: c_float)
unsafe fn setCompactStyle(&self, compact_style: c_float)
Setter for compactStyle.
Sourceunsafe fn correctionLevel(&self) -> c_float
unsafe fn correctionLevel(&self) -> c_float
The correction level ratio of the generated barcode
Sourceunsafe fn setCorrectionLevel(&self, correction_level: c_float)
unsafe fn setCorrectionLevel(&self, correction_level: c_float)
Setter for correctionLevel.
Sourceunsafe fn alwaysSpecifyCompaction(&self) -> c_float
unsafe fn alwaysSpecifyCompaction(&self) -> c_float
Force compaction style to true or false. Set to nil for automatic.
Sourceunsafe fn setAlwaysSpecifyCompaction(&self, always_specify_compaction: c_float)
unsafe fn setAlwaysSpecifyCompaction(&self, always_specify_compaction: c_float)
Setter for alwaysSpecifyCompaction.