pub unsafe trait CIRoundedQRCodeGenerator: CIFilterProtocol {
Show 16 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 correctionLevel(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn setCorrectionLevel(&self, correction_level: &NSString)
where Self: Sized + Message { ... }
unsafe fn scale(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setScale(&self, scale: c_float)
where Self: Sized + Message { ... }
unsafe fn roundedMarkers(&self) -> NSInteger
where Self: Sized + Message { ... }
unsafe fn setRoundedMarkers(&self, rounded_markers: NSInteger)
where Self: Sized + Message { ... }
unsafe fn roundedData(&self) -> bool
where Self: Sized + Message { ... }
unsafe fn setRoundedData(&self, rounded_data: bool)
where Self: Sized + Message { ... }
unsafe fn centerSpaceSize(&self) -> c_float
where Self: Sized + Message { ... }
unsafe fn setCenterSpaceSize(&self, center_space_size: c_float)
where Self: Sized + Message { ... }
unsafe fn color0(&self) -> Retained<CIColor>
where Self: Sized + Message { ... }
unsafe fn setColor0(&self, color0: &CIColor)
where Self: Sized + Message { ... }
unsafe fn color1(&self) -> Retained<CIColor>
where Self: Sized + Message { ... }
unsafe fn setColor1(&self, color1: &CIColor)
where Self: Sized + Message { ... }
}CIFilter and CIFilterBuiltins only.Expand description
The protocol for the Rounded QR Code Generator filter.
Generate a QR Code image for message data.
See also Apple’s documentation
Provided Methods§
Sourceunsafe fn correctionLevel(&self) -> Retained<NSString>
unsafe fn correctionLevel(&self) -> Retained<NSString>
QR Code correction level L, M, Q, or H.
Sourceunsafe fn setCorrectionLevel(&self, correction_level: &NSString)
unsafe fn setCorrectionLevel(&self, correction_level: &NSString)
Setter for correctionLevel.
Sourceunsafe fn roundedMarkers(&self) -> NSInteger
unsafe fn roundedMarkers(&self) -> NSInteger
If 1, then the Finder Patterns in the QRCode should have a rounded appearance. If 2, then the Alignment Patterns will also be rounded
Sourceunsafe fn setRoundedMarkers(&self, rounded_markers: NSInteger)
unsafe fn setRoundedMarkers(&self, rounded_markers: NSInteger)
Setter for roundedMarkers.
Sourceunsafe fn roundedData(&self) -> bool
unsafe fn roundedData(&self) -> bool
If true then the data points in the QRCode should have a rounded appearance.
Sourceunsafe fn setRoundedData(&self, rounded_data: bool)
unsafe fn setRoundedData(&self, rounded_data: bool)
Setter for roundedData.
Sourceunsafe fn centerSpaceSize(&self) -> c_float
unsafe fn centerSpaceSize(&self) -> c_float
The fraction of the center space of the QRCode to fill with Color 1. If the size is 0.0 or the Correction Level is L or M, the center of the QRCode will be unaltered. The size will be limited to 0.25 if the Correction Level is Q. The size will be limited to 0.33 if the Correction Level is H.
Sourceunsafe fn setCenterSpaceSize(&self, center_space_size: c_float)
unsafe fn setCenterSpaceSize(&self, center_space_size: c_float)
Setter for centerSpaceSize.
Sourceunsafe fn color0(&self) -> Retained<CIColor>
Available on crate feature CIColor only.
unsafe fn color0(&self) -> Retained<CIColor>
CIColor only.The background color for the QRCode
Sourceunsafe fn setColor0(&self, color0: &CIColor)
Available on crate feature CIColor only.
unsafe fn setColor0(&self, color0: &CIColor)
CIColor only.Setter for color0.