API Documentation
MAIN PAGE
NAMESPACES
CLASSES
Documentation
Headers
NilkinsWinUi
Fonts
FontUtils.h
1
// FontUtils.h
3
//
5
6
namespace
nkWinUi
7
{
11
class
FontUtils
final
12
{
13
public :
14
15
// System queries
22
static
nkMemory::BufferCast<nkMemory::String>
getAvailableFontFaces
(
System
* system =
nullptr
) ;
31
static
nkMemory::BufferCast<unsigned int>
getCharactersWidth
(
nkMemory::BufferView<char>
characters,
Font
* font =
nullptr
,
System
* system =
nullptr
) ;
32
} ;
33
}
nkWinUi::FontUtils::getAvailableFontFaces
static nkMemory::BufferCast< nkMemory::String > getAvailableFontFaces(System *system=nullptr)
nkMemory::BufferView
A view over data.
Definition:
BufferView.h:18
nkWinUi::Font
Offers an interface to work with fonts.
Definition:
Font.h:14
nkWinUi::System
The main system of the component.
Definition:
System.h:18
nkWinUi::FontUtils
Offers utility features to work with fonts.
Definition:
FontUtils.h:12
nkMemory::BufferCast< nkMemory::String >
nkWinUi
Encompasses all API of component NilkinsWinUi.
Definition:
Clipboard.h:7
nkWinUi::FontUtils::getCharactersWidth
static nkMemory::BufferCast< unsigned int > getCharactersWidth(nkMemory::BufferView< char > characters, Font *font=nullptr, System *system=nullptr)
Generated by
Doxygen
1.8.18