harmony 鸿蒙VGUFuncs

  • 2022-10-28
  • 浏览 (421)

VGUFuncs

概述

定义2D硬件加速驱动函数。

相关模块:

Display

汇总

Public 属性

名称 描述
(* InitVgu )(void) VGUResult
初始化硬件加速。
(* DeinitVgu )(void) VGUResult
去初始化硬件加速。
(* QueryCapability )(uint32_t cap) int32_t
查询硬件能力集。
(* RenderFill )(VGUSurface *target, const VGUPath *path, const VGUMatrix3 *matrix, const VGUFillAttr *attr, const VGUPaintStyle *style) VGUResult
使用指定的渲染对象来填充路径。
(* RenderStroke )(VGUSurface *target, const VGUPath *path, const VGUMatrix3 *matrix, const VGUStrokeAttr *attr, const VGUPaintStyle *style) VGUResult
使用指定的渲染对象来描边路径。
(* RenderBlur )(VGUSurface *target, uint16_t blur) VGUResult
对目标表面进行模糊处理。
(* RenderBlit )(VGUSurface *target, const VGUImage *src, uint32_t color) VGUResult
对图像进行搬移操作。
(* RenderBlitN )(VGUSurface *target, const VGUImage *src, uint16_t count, uint32_t color) VGUResult
对多个源图像进行叠加操作。
(* RenderClearRect )(VGUSurface *target, const VGURect *rect, uint32_t color, uint8_t opacity) VGUResult
对指定矩形进行颜色清除操作。
(* RenderCancel )() VGUResult
取消硬件加速渲染。
(* RenderSync )(int32_t timeOut) VGUResult
同步硬件加速模块绘制或搬移操作。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙HDI 参数参考

harmony 鸿蒙ActRecognitionEvent

harmony 鸿蒙Activation

harmony 鸿蒙ActivityRecognitionTypes.idl

harmony 鸿蒙AddFusion

harmony 鸿蒙Alignment

harmony 鸿蒙AllocInfo

harmony 鸿蒙ApduSimIORequestInfo

harmony 鸿蒙ArgMaxFusion

harmony 鸿蒙Audio

0  赞