#[repr(C)]pub struct OH_Drawing_FontDescriptor {
pub path: *mut c_char,
pub postScriptName: *mut c_char,
pub fullName: *mut c_char,
pub fontFamily: *mut c_char,
pub fontSubfamily: *mut c_char,
pub weight: c_int,
pub width: c_int,
pub italic: c_int,
pub monoSpace: bool,
pub symbolic: bool,
}Expand description
@brief This struct describes the detailed information about a system font.
@since 12 @version 1.0
Fields§
§path: *mut c_charFile path of the system font.
postScriptName: *mut c_charPostScript name that uniquely identifies the system font.
fullName: *mut c_charFull name of the system font.
fontFamily: *mut c_charFamily of the system font.
fontSubfamily: *mut c_charSubfamily of the system font.
weight: c_intWeight of the system font.
width: c_intWidth of the system font.
italic: c_intSlope of the system font.
monoSpace: boolWhether the system font is monospace. The value true means the font is monospace, and false means the opposite.
symbolic: boolWhether the system font supports symbols. true means yes; false otherwise.
Trait Implementations§
Source§impl Clone for OH_Drawing_FontDescriptor
impl Clone for OH_Drawing_FontDescriptor
impl Copy for OH_Drawing_FontDescriptor
Auto Trait Implementations§
impl !Send for OH_Drawing_FontDescriptor
impl !Sync for OH_Drawing_FontDescriptor
impl Forget for OH_Drawing_FontDescriptor
impl Freeze for OH_Drawing_FontDescriptor
impl Move for OH_Drawing_FontDescriptor
impl RefUnwindSafe for OH_Drawing_FontDescriptor
impl Unpin for OH_Drawing_FontDescriptor
impl UnsafeUnpin for OH_Drawing_FontDescriptor
impl UnwindSafe for OH_Drawing_FontDescriptor
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more