ohos_drawing_sys/text_declaration/
text_declaration_ffi.rs

1// automatically generated by rust-bindgen 0.71.1
2
3#![allow(non_upper_case_globals)]
4#![allow(non_camel_case_types)]
5#![allow(non_snake_case)]
6use crate::types::*;
7
8/// Defines an <b>OH_Drawing_FontCollection</b>, which is used to load fonts.
9///
10///
11/// Available since API-level: 8
12///
13/// Version: 1.0
14#[repr(C)]
15pub struct OH_Drawing_FontCollection {
16    _unused: [u8; 0],
17}
18/// Defines an <b>OH_Drawing_Typography</b>, which is used to manage the typography layout and display.
19///
20///
21/// Available since API-level: 8
22///
23/// Version: 1.0
24#[repr(C)]
25pub struct OH_Drawing_Typography {
26    _unused: [u8; 0],
27}
28/// Defines an <b>OH_Drawing_TextStyle</b>, which is used to manage text colors and decorations.
29///
30///
31/// Available since API-level: 8
32///
33/// Version: 1.0
34#[repr(C)]
35pub struct OH_Drawing_TextStyle {
36    _unused: [u8; 0],
37}
38/// Defines an <b>OH_Drawing_TypographyStyle</b>, which is used to manage the typography style,
39/// such as the text direction.
40///
41///
42/// Available since API-level: 8
43///
44/// Version: 1.0
45#[repr(C)]
46pub struct OH_Drawing_TypographyStyle {
47    _unused: [u8; 0],
48}
49/// Defines an <b>OH_Drawing_TypographyCreate</b>, which is used to create an <b>OH_Drawing_Typography</b> object.
50///
51///
52/// Available since API-level: 8
53///
54/// Version: 1.0
55#[repr(C)]
56pub struct OH_Drawing_TypographyCreate {
57    _unused: [u8; 0],
58}
59/// Defines an <b>OH_Drawing_TextBox</b>, which is used to create an <b>OH_Drawing_TextBox</b> object.
60///
61///
62/// Available since API-level: 11
63///
64/// Version: 1.0
65#[cfg(feature = "api-11")]
66#[cfg_attr(docsrs, doc(cfg(feature = "api-11")))]
67#[repr(C)]
68pub struct OH_Drawing_TextBox {
69    _unused: [u8; 0],
70}
71/// Defines an <b>OH_Drawing_PositionAndAffinity</b>,
72/// which is used to create an <b>OH_Drawing_PositionAndAffinity</b> object.
73///
74/// Available since API-level: 11
75///
76/// Version: 1.0
77#[cfg(feature = "api-11")]
78#[cfg_attr(docsrs, doc(cfg(feature = "api-11")))]
79#[repr(C)]
80pub struct OH_Drawing_PositionAndAffinity {
81    _unused: [u8; 0],
82}
83/// Defines an <b>OH_Drawing_Range</b>, which is used to create an <b>OH_Drawing_Range</b> object.
84///
85///
86/// Available since API-level: 11
87///
88/// Version: 1.0
89#[cfg(feature = "api-11")]
90#[cfg_attr(docsrs, doc(cfg(feature = "api-11")))]
91#[repr(C)]
92pub struct OH_Drawing_Range {
93    _unused: [u8; 0],
94}
95/// Defines an <b>OH_Drawing_FontParser</b>, which is used to parse system font files.
96///
97///
98/// Available since API-level: 12
99///
100/// Version: 1.0
101#[cfg(feature = "api-12")]
102#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
103#[repr(C)]
104pub struct OH_Drawing_FontParser {
105    _unused: [u8; 0],
106}
107/// Defines an <b>OH_Drawing_TextShadow</b>, which is used to manage text shadow.
108///
109///
110/// Available since API-level: 12
111///
112/// Version: 1.0
113#[cfg(feature = "api-12")]
114#[cfg_attr(docsrs, doc(cfg(feature = "api-12")))]
115#[repr(C)]
116pub struct OH_Drawing_TextShadow {
117    _unused: [u8; 0],
118}