Added methods to font object to get if font has underline and strikeout.
This commit is contained in:
parent
cf99551924
commit
eeaaf07f4c
@ -156,6 +156,18 @@ namespace paint
|
|||||||
return (impl_->font_ptr->italic);
|
return (impl_->font_ptr->italic);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool font::underline() const
|
||||||
|
{
|
||||||
|
if(empty()) return false;
|
||||||
|
return (impl_->font_ptr->underline);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool font::strikeout() const
|
||||||
|
{
|
||||||
|
if(empty()) return false;
|
||||||
|
return (impl_->font_ptr->strikeout);
|
||||||
|
}
|
||||||
|
|
||||||
native_font_type font::handle() const
|
native_font_type font::handle() const
|
||||||
{
|
{
|
||||||
if(empty()) return nullptr;
|
if(empty()) return nullptr;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user