1 Star 0 Fork 4.9K

罗小黑 / docs

forked from OpenHarmony / docs 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
LayerInfo.md 4.23 KB
一键复制 编辑 原始数据 按行查看 历史
wenjun 提交于 2020-09-08 10:08 . add OpenHarmony 1.0 baseline

LayerInfo

Overview

Related Modules:

Display

Description:

Defines layer information.

LayerInfo must be passed to the OpenLayer function, which creates a layer based on the layer information.

Summary

Data Fields

Variable Name

Description

width

int32_t 

height

int32_t 

type

LayerType 

bpp

int32_t 

pixFormat

PixelFormat 

Details

Field Documentation

bpp

int32_t LayerInfo::bpp

Description:

Number of bits occupied by each pixel

height

int32_t LayerInfo::height

Description:

Layer height

pixFormat

[PixelFormat](Codec.md#ga60883d4958a60b91661e97027a85072a) LayerInfo::pixFormat

Description:

Pixel format of the layer

type

[LayerType](Display.md#ga56943a0946e5f15e5e58054b8e7a04a4) LayerInfo::type

Description:

Layer type, which can be a graphics layer, overlay layer, and sideband layer

width

int32_t LayerInfo::width

Description:

Layer width

1
https://gitee.com/lawguiren/docs.git
git@gitee.com:lawguiren/docs.git
lawguiren
docs
docs
master

搜索帮助