pub const GET_STRIDE: u32 = 7; // 7u32👎Deprecated since 16:
Use instead: Use OH_NativeWindow_GetBufferHandleFromNative to get a BufferHandleand from a buffer and then retrieve the stride from the BufferHandle
Available on crate feature
native_window only.Expand description
get native window buffer stride, variable parameter in function is [out] int32_t *stride.
Deprecated since 16
Use instead: Use [OH_NativeWindow_GetBufferHandleFromNative] to get a [BufferHandleand] from a buffer
and then retrieve the stride from the [BufferHandle].