CIPDF417BarcodeGenerator

Trait CIPDF417BarcodeGenerator 

Source
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§

Source

unsafe fn message(&self) -> Retained<NSData>
where Self: Sized + Message,

The message to encode in the PDF417 Barcode

Source

unsafe fn setMessage(&self, message: &NSData)
where Self: Sized + Message,

Setter for message.

Source

unsafe fn minWidth(&self) -> c_float
where Self: Sized + Message,

The minimum width of the generated barcode in pixels.

Source

unsafe fn setMinWidth(&self, min_width: c_float)
where Self: Sized + Message,

Setter for minWidth.

Source

unsafe fn maxWidth(&self) -> c_float
where Self: Sized + Message,

The maximum width of the generated barcode in pixels.

Source

unsafe fn setMaxWidth(&self, max_width: c_float)
where Self: Sized + Message,

Setter for maxWidth.

Source

unsafe fn minHeight(&self) -> c_float
where Self: Sized + Message,

The minimum height of the generated barcode in pixels.

Source

unsafe fn setMinHeight(&self, min_height: c_float)
where Self: Sized + Message,

Setter for minHeight.

Source

unsafe fn maxHeight(&self) -> c_float
where Self: Sized + Message,

The maximum height of the generated barcode in pixels.

Source

unsafe fn setMaxHeight(&self, max_height: c_float)
where Self: Sized + Message,

Setter for maxHeight.

Source

unsafe fn dataColumns(&self) -> c_float
where Self: Sized + Message,

The number of data columns in the generated barcode

Source

unsafe fn setDataColumns(&self, data_columns: c_float)
where Self: Sized + Message,

Setter for dataColumns.

Source

unsafe fn rows(&self) -> c_float
where Self: Sized + Message,

The number of rows in the generated barcode

Source

unsafe fn setRows(&self, rows: c_float)
where Self: Sized + Message,

Setter for rows.

Source

unsafe fn preferredAspectRatio(&self) -> c_float
where Self: Sized + Message,

The preferred aspect ratio of the generated barcode

Source

unsafe fn setPreferredAspectRatio(&self, preferred_aspect_ratio: c_float)
where Self: Sized + Message,

Source

unsafe fn compactionMode(&self) -> c_float
where Self: Sized + Message,

The compaction mode of the generated barcode.

Source

unsafe fn setCompactionMode(&self, compaction_mode: c_float)
where Self: Sized + Message,

Setter for compactionMode.

Source

unsafe fn compactStyle(&self) -> c_float
where Self: Sized + Message,

Force a compact style Aztec code to true or false. Set to nil for automatic.

Source

unsafe fn setCompactStyle(&self, compact_style: c_float)
where Self: Sized + Message,

Setter for compactStyle.

Source

unsafe fn correctionLevel(&self) -> c_float
where Self: Sized + Message,

The correction level ratio of the generated barcode

Source

unsafe fn setCorrectionLevel(&self, correction_level: c_float)
where Self: Sized + Message,

Setter for correctionLevel.

Source

unsafe fn alwaysSpecifyCompaction(&self) -> c_float
where Self: Sized + Message,

Force compaction style to true or false. Set to nil for automatic.

Source

unsafe fn setAlwaysSpecifyCompaction(&self, always_specify_compaction: c_float)
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn CIPDF417BarcodeGenerator

Source§

const NAME: &'static str = "CIPDF417BarcodeGenerator"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn CIPDF417BarcodeGenerator

Implementations on Foreign Types§

Source§

impl<T> CIPDF417BarcodeGenerator for ProtocolObject<T>

Implementors§