「App:Library:LVGL:docs:Others:Snapshot」の版間の差分

提供: robot-jp wiki
ナビゲーションに移動検索に移動
9行目: 9行目:
 
|}
 
|}
  
 +
 +
 +
= Snapshot =
 +
Snapshot provides APIs to take snapshot image for LVGL object together with its children. The image will look exactly like the object.
 +
 +
== Usage ==
 +
Simply call API <code>lv_snapshot_take</code> to generate the image descriptor which can be set as image object src using <code>lv_img_set_src</code>.
 +
 +
Note, only below color formats are supported for now:
 +
 +
* LV_IMG_CF_TRUE_COLOR_ALPHA
 +
* LV_IMG_CF_ALPHA_1BIT
 +
* LV_IMG_CF_ALPHA_2BIT
 +
* LV_IMG_CF_ALPHA_4BIT
 +
* LV_IMG_CF_ALPHA_8BIT
  
  

2022年6月22日 (水) 21:15時点における版

https://docs.lvgl.io/8.2/others/snapshot.html

英文 自動翻訳


Snapshot

Snapshot provides APIs to take snapshot image for LVGL object together with its children. The image will look exactly like the object.

Usage

Simply call API lv_snapshot_take to generate the image descriptor which can be set as image object src using lv_img_set_src.

Note, only below color formats are supported for now:

  • LV_IMG_CF_TRUE_COLOR_ALPHA
  • LV_IMG_CF_ALPHA_1BIT
  • LV_IMG_CF_ALPHA_2BIT
  • LV_IMG_CF_ALPHA_4BIT
  • LV_IMG_CF_ALPHA_8BIT





戻る : Previous