pub unsafe extern "C" fn OH_NativeXComponent_GetXComponentOffset(
    component: *mut OH_NativeXComponent,
    window: *const c_void,
    x: *mut f64,
    y: *mut f64,
) -> i32
Available on crate feature xcomponent only.
Expand description

@brief Obtains the offset of the surface held by the ArkUI XComponent.

@param component Indicates the pointer to this OH_NativeXComponent instance. @param window Indicates the native window handler. @param x Indicates the pointer to the x coordinate of the current surface. @param y Indicates the pointer to the y coordinate of the current surface. @return Returns the status code of the execution. @since 8 @version 1.0