Skip to main content

FREInvalidateBitmapDataRect

Function FREInvalidateBitmapDataRect 

Source
pub unsafe extern "C" fn FREInvalidateBitmapDataRect(
    object: FREObject,
    x: uint32_t,
    y: uint32_t,
    width: uint32_t,
    height: uint32_t,
) -> FREResult
Expand description

BitmapData must be acquired to call this. Clients must invalidate any region they modify in order to notify AIR of the changes. Only invalidated regions are redrawn.

@return FREResult::FRE_OK FREResult::FRE_INVALID_OBJECT FREResult::FRE_WRONG_THREAD FREResult::FRE_ILLEGAL_STATE FREResult::FRE_TYPE_MISMATCH