ArkGraphics 2D

From Wikipedia, the free encyclopedia

ArkGraphics 2D
Developer(s)Huawei
Initial releaseMarch 30, 2024; 55 days ago (2024-03-30)
Written inJS, NAPI C++,C, HarmonyOS Runtime/API: ArkTS, Cangjie with ArkUI
Operating systemHarmonyOS, OpenHarmony, Oniro OS
Platform64-bit ARM, RISC-V, x86, x64, Lingxi
TypeSoftware engine
LicenseOpen 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[edit]

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[edit]

References[edit]

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