# OpenHarmony XComponent bindings
Low-level bindings to the native XComponent API on OpenHarmony, used to draw to a surface with OpenGL or Vulkan
from native (Rust) code.
A higher level binding is provided by the [xcomponent](https://docs.rs/xcomponent/) crate.
C API reference: https://gitcode.com/openharmony/docs/blob/master/en/application-dev/reference/apis-arkui/capi-native-interface-xcomponent-h.md
[English Documentation](https://docs.openharmony.cn/pages/v5.0/en/application-dev/ui/napi-xcomponent-guidelines.md)
[Chinese Documentation](https://docs.openharmony.cn/pages/v5.0/zh-cn/application-dev/ui/napi-xcomponent-guidelines.md)
## License
Licensed under the Apache-2.0 license, matching the license of OpenHarmony.