Spelling: ... common (#3781)

* spelling: alignment

* spelling: awareness

* spelling: background

* spelling: bottom

* spelling: buttons

* spelling: comparison

* spelling: cortana

* spelling: exiting

* spelling: initialization

* spelling: middle

* spelling: properly

* spelling: succeeded

* spelling: unknown
This commit is contained in:
Josh Soref
2020-05-27 10:58:47 -04:00
committed by GitHub
parent ecb5d2ae1c
commit c2c163ac4e
17 changed files with 50 additions and 50 deletions

View File

@@ -24,19 +24,19 @@ D2DText& D2DText::resize(float text_size, float scale)
return *this;
}
D2DText& D2DText::set_aligment_left()
D2DText& D2DText::set_alignment_left()
{
winrt::check_hresult(format->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_LEADING));
return *this;
}
D2DText& D2DText::set_aligment_center()
D2DText& D2DText::set_alignment_center()
{
winrt::check_hresult(format->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_CENTER));
return *this;
}
D2DText& D2DText::set_aligment_right()
D2DText& D2DText::set_alignment_right()
{
winrt::check_hresult(format->SetTextAlignment(DWRITE_TEXT_ALIGNMENT_TRAILING));
return *this;