#[repr(C)]pub struct FREBitmapData2 {
pub width: uint32_t,
pub height: uint32_t,
pub hasAlpha: FREBoolean,
pub isPremultiplied: FREBoolean,
pub lineStride32: uint32_t,
pub isInvertedY: FREBoolean,
pub bits32: *mut uint32_t,
}Fields§
§width: uint32_twidth of the BitmapData bitmap
height: uint32_theight of the BitmapData bitmap
hasAlpha: FREBooleanif non-zero, pixel format is ARGB32, otherwise pixel format is _RGB32, host endianness
isPremultiplied: FREBooleanpixel color values are premultiplied with alpha if non-zero, un-multiplied if zero
lineStride32: uint32_tline stride in number of 32 bit values, typically the same as width
isInvertedY: FREBooleanif non-zero, last row of pixels starts at bits32, otherwise, first row of pixels starts at bits32.
bits32: *mut uint32_tpointer to the first 32-bit pixel of the bitmap data
Trait Implementations§
Source§impl Debug for FREBitmapData2
impl Debug for FREBitmapData2
Source§impl Default for FREBitmapData2
impl Default for FREBitmapData2
Source§fn default() -> FREBitmapData2
fn default() -> FREBitmapData2
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FREBitmapData2
impl RefUnwindSafe for FREBitmapData2
impl !Send for FREBitmapData2
impl !Sync for FREBitmapData2
impl Unpin for FREBitmapData2
impl UnsafeUnpin for FREBitmapData2
impl UnwindSafe for FREBitmapData2
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more