pub struct QPixelFormat { /* private fields */ }Expand description
C++ class: QPixelFormat.
Implementations§
Source§impl QPixelFormat
impl QPixelFormat
Sourcepub unsafe fn alpha_position(&self) -> AlphaPosition
pub unsafe fn alpha_position(&self) -> AlphaPosition
Calls C++ function: QPixelFormat::AlphaPosition QPixelFormat::alphaPosition() const.
Sourcepub unsafe fn alpha_size(&self) -> c_uchar
pub unsafe fn alpha_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::alphaSize() const.
Sourcepub unsafe fn alpha_usage(&self) -> AlphaUsage
pub unsafe fn alpha_usage(&self) -> AlphaUsage
Calls C++ function: QPixelFormat::AlphaUsage QPixelFormat::alphaUsage() const.
Sourcepub unsafe fn bits_per_pixel(&self) -> c_uchar
pub unsafe fn bits_per_pixel(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::bitsPerPixel() const.
Sourcepub unsafe fn black_size(&self) -> c_uchar
pub unsafe fn black_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::blackSize() const.
Sourcepub unsafe fn blue_size(&self) -> c_uchar
pub unsafe fn blue_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::blueSize() const.
Sourcepub unsafe fn brightness_size(&self) -> c_uchar
pub unsafe fn brightness_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::brightnessSize() const.
Sourcepub unsafe fn byte_order(&self) -> ByteOrder
pub unsafe fn byte_order(&self) -> ByteOrder
Calls C++ function: QPixelFormat::ByteOrder QPixelFormat::byteOrder() const.
Sourcepub unsafe fn channel_count(&self) -> c_uchar
pub unsafe fn channel_count(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::channelCount() const.
Sourcepub unsafe fn color_model(&self) -> ColorModel
pub unsafe fn color_model(&self) -> ColorModel
Calls C++ function: QPixelFormat::ColorModel QPixelFormat::colorModel() const.
Sourcepub unsafe fn copy_from(
&self,
other: impl CastInto<Ref<QPixelFormat>>,
) -> Ref<QPixelFormat>
pub unsafe fn copy_from( &self, other: impl CastInto<Ref<QPixelFormat>>, ) -> Ref<QPixelFormat>
Calls C++ function: QPixelFormat& QPixelFormat::operator=(const QPixelFormat& other).
Sourcepub unsafe fn cyan_size(&self) -> c_uchar
pub unsafe fn cyan_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::cyanSize() const.
Sourcepub unsafe fn green_size(&self) -> c_uchar
pub unsafe fn green_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::greenSize() const.
Sourcepub unsafe fn hue_size(&self) -> c_uchar
pub unsafe fn hue_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::hueSize() const.
Sourcepub unsafe fn lightness_size(&self) -> c_uchar
pub unsafe fn lightness_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::lightnessSize() const.
Sourcepub unsafe fn magenta_size(&self) -> c_uchar
pub unsafe fn magenta_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::magentaSize() const.
Sourcepub unsafe fn new_0a() -> CppBox<QPixelFormat>
pub unsafe fn new_0a() -> CppBox<QPixelFormat>
Calls C++ function: [constructor] void QPixelFormat::QPixelFormat().
Sourcepub unsafe fn new_13a(
color_model: ColorModel,
first_size: c_uchar,
second_size: c_uchar,
third_size: c_uchar,
fourth_size: c_uchar,
fifth_size: c_uchar,
alpha_size: c_uchar,
alpha_usage: AlphaUsage,
alpha_position: AlphaPosition,
premultiplied: AlphaPremultiplied,
type_interpretation: TypeInterpretation,
byte_order: ByteOrder,
sub_enum: c_uchar,
) -> CppBox<QPixelFormat>
pub unsafe fn new_13a( color_model: ColorModel, first_size: c_uchar, second_size: c_uchar, third_size: c_uchar, fourth_size: c_uchar, fifth_size: c_uchar, alpha_size: c_uchar, alpha_usage: AlphaUsage, alpha_position: AlphaPosition, premultiplied: AlphaPremultiplied, type_interpretation: TypeInterpretation, byte_order: ByteOrder, sub_enum: c_uchar, ) -> CppBox<QPixelFormat>
Calls C++ function: [constructor] void QPixelFormat::QPixelFormat(QPixelFormat::ColorModel colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder = …, unsigned char subEnum = …).
Sourcepub unsafe fn new_12a(
color_model: ColorModel,
first_size: c_uchar,
second_size: c_uchar,
third_size: c_uchar,
fourth_size: c_uchar,
fifth_size: c_uchar,
alpha_size: c_uchar,
alpha_usage: AlphaUsage,
alpha_position: AlphaPosition,
premultiplied: AlphaPremultiplied,
type_interpretation: TypeInterpretation,
byte_order: ByteOrder,
) -> CppBox<QPixelFormat>
pub unsafe fn new_12a( color_model: ColorModel, first_size: c_uchar, second_size: c_uchar, third_size: c_uchar, fourth_size: c_uchar, fifth_size: c_uchar, alpha_size: c_uchar, alpha_usage: AlphaUsage, alpha_position: AlphaPosition, premultiplied: AlphaPremultiplied, type_interpretation: TypeInterpretation, byte_order: ByteOrder, ) -> CppBox<QPixelFormat>
Calls C++ function: [constructor] void QPixelFormat::QPixelFormat(QPixelFormat::ColorModel colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation, QPixelFormat::ByteOrder byteOrder = …).
Sourcepub unsafe fn new_11a(
color_model: ColorModel,
first_size: c_uchar,
second_size: c_uchar,
third_size: c_uchar,
fourth_size: c_uchar,
fifth_size: c_uchar,
alpha_size: c_uchar,
alpha_usage: AlphaUsage,
alpha_position: AlphaPosition,
premultiplied: AlphaPremultiplied,
type_interpretation: TypeInterpretation,
) -> CppBox<QPixelFormat>
pub unsafe fn new_11a( color_model: ColorModel, first_size: c_uchar, second_size: c_uchar, third_size: c_uchar, fourth_size: c_uchar, fifth_size: c_uchar, alpha_size: c_uchar, alpha_usage: AlphaUsage, alpha_position: AlphaPosition, premultiplied: AlphaPremultiplied, type_interpretation: TypeInterpretation, ) -> CppBox<QPixelFormat>
Calls C++ function: [constructor] void QPixelFormat::QPixelFormat(QPixelFormat::ColorModel colorModel, unsigned char firstSize, unsigned char secondSize, unsigned char thirdSize, unsigned char fourthSize, unsigned char fifthSize, unsigned char alphaSize, QPixelFormat::AlphaUsage alphaUsage, QPixelFormat::AlphaPosition alphaPosition, QPixelFormat::AlphaPremultiplied premultiplied, QPixelFormat::TypeInterpretation typeInterpretation).
Sourcepub unsafe fn new_copy(
other: impl CastInto<Ref<QPixelFormat>>,
) -> CppBox<QPixelFormat>
pub unsafe fn new_copy( other: impl CastInto<Ref<QPixelFormat>>, ) -> CppBox<QPixelFormat>
Calls C++ function: [constructor] void QPixelFormat::QPixelFormat(const QPixelFormat& other).
Sourcepub unsafe fn premultiplied(&self) -> AlphaPremultiplied
pub unsafe fn premultiplied(&self) -> AlphaPremultiplied
Calls C++ function: QPixelFormat::AlphaPremultiplied QPixelFormat::premultiplied() const.
Sourcepub unsafe fn red_size(&self) -> c_uchar
pub unsafe fn red_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::redSize() const.
Sourcepub unsafe fn saturation_size(&self) -> c_uchar
pub unsafe fn saturation_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::saturationSize() const.
Sourcepub unsafe fn sub_enum(&self) -> c_uchar
pub unsafe fn sub_enum(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::subEnum() const.
Sourcepub unsafe fn type_interpretation(&self) -> TypeInterpretation
pub unsafe fn type_interpretation(&self) -> TypeInterpretation
Calls C++ function: QPixelFormat::TypeInterpretation QPixelFormat::typeInterpretation() const.
Sourcepub unsafe fn yellow_size(&self) -> c_uchar
pub unsafe fn yellow_size(&self) -> c_uchar
Calls C++ function: unsigned char QPixelFormat::yellowSize() const.
Sourcepub unsafe fn yuv_layout(&self) -> YUVLayout
pub unsafe fn yuv_layout(&self) -> YUVLayout
Calls C++ function: QPixelFormat::YUVLayout QPixelFormat::yuvLayout() const.