pub unsafe trait CICode128BarcodeGenerator: CIFilterProtocol {
// Provided methods
unsafe fn message(&self) -> Retained<NSData>
where Self: Sized + Message { ... }
unsafe fn setMessage(&self, message: &NSData)
where Self: Sized + Message { ... }
unsafe fn quietSpace(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setQuietSpace(&self, quiet_space: c_float)
where Self: Sized + Message { ... }
unsafe fn barcodeHeight(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setBarcodeHeight(&self, barcode_height: c_float)
where Self: Sized + Message { ... }
}Available on crate features
CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Code 128 Barcode Generator filter.
Generate a Code 128 barcode image for message data.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn quietSpace(&self) -> c_float
unsafe fn quietSpace(&self) -> c_float
The number of empty white pixels that should surround the barcode.
Sourceunsafe fn setQuietSpace(&self, quiet_space: c_float)
unsafe fn setQuietSpace(&self, quiet_space: c_float)
Setter for quietSpace.
Sourceunsafe fn barcodeHeight(&self) -> c_float
unsafe fn barcodeHeight(&self) -> c_float
The height of the generated barcode in pixels.
Sourceunsafe fn setBarcodeHeight(&self, barcode_height: c_float)
unsafe fn setBarcodeHeight(&self, barcode_height: c_float)
Setter for barcodeHeight.