ArkGraphics 2D explained

ArkGraphics 2D
ArkGraphics 2D
Logo Size:64px
Developer:Huawei
Programming Language:JS, NAPI C++,C, HarmonyOS Runtime/API: ArkTS, Cangjie with ArkUI
Operating System:HarmonyOS, OpenHarmony, Oniro OS
Platform:64-bit ARM, RISC-V, x86, x64, Lingxi
Genre:Software engine
License:Open Source, Apache License

ArkGraphics 2D is an open source 2D graphics stack for OpenHarmony-Oniro based and HarmonyOS operating systems. The engine layer includes two modules, such as 2D graphics library and 3D graphics engine with both OpenGL with OpenGL Shading Language and WebGL as render service backend. The 2D graphics library provides the underlying API for 2D graphics rendering, and supports the underlying capabilities of graphics rendering and text rendering for ArkUI. [1] [2]

Overview

ArkUI allows for 2D drawing, animations, event handling, Service Card widgets, and data binding, in the environment of 2D computer graphics. ArkUI automatically synchronizes between UI views and data from ArkTS on OpenHarmony 4.1 API 11 version, alongside native HarmonyOS NEXT software system development for HarmonyOS[3] [4] [5] [6] [7]

The layered description of the OpenHarmony graphics stack such as Interface layer: Provides native API capabilities for graphics, including WebGL, Native Drawing drawing capabilities for JS APIs, OpenGL instruction-level drawing capabilities support for NAPI C++, C programming languages, etc. Alongside, the Framework layer that is divided into five modules such as Render Service, Drawing, Animation, Effect, Display and Memory Management.[8]

See also

Notes and References

  1. Web site: HarmonyOS 4 announced with modernized look, new customization options and Live Windows . MobGsm . 15 February 2024.
  2. Web site: OpenAtom OpenHarmony . 2024-04-14 . docs.openharmony.cn.
  3. Web site: Parker . Victoria . HDC Technical Sub-forum: A comprehensive look at HarmonyOS 'next-generation UI Framework . Mo4Tech . January 26, 2024 . 13 February 2024.
  4. Web site: Sarkar . Amy . HarmonyOS 3.1 Beta 2 rolling out . HC Newsroom . April 25, 2023 . 13 February 2024.
  5. Web site: What is "ArkWeb" for HarmonyOS NEXT? . Substack . LivingInHarmony Blog . 15 February 2024.
  6. Web site: ArkGraphics 2D graphics library API for HarmonyOS NEXT . Substack . February 15, 2024 . LivingInHarmony Blog . 15 February 2024.
  7. Web site: 2024-04-10 . ArkGraphics 2D graphics library API for HarmonyOS NEXT - . 2024-04-14 . harmonyoshub.com . en-GB.
  8. Web site: OpenHarmony/graphic_graphic_2d . 2024-05-24 . Gitee . zh-CN.