xtd 1.0.0
Loading...
Searching...
No Matches
system_fonts.hpp
Go to the documentation of this file.
1
4#pragma once
6#include "font.hpp"
7#include <xtd/static>
8
10namespace xtd {
12 namespace drawing {
26 public:
28
32 [[nodiscard]] static auto caption_font() -> xtd::drawing::font;
33
45 [[nodiscard]] static auto default_font() -> xtd::drawing::font;
46
50 [[nodiscard]] static auto dialog_font() -> xtd::drawing::font;
51
54 [[nodiscard]] static auto icon_title_font() -> xtd::drawing::font;
55
58 [[nodiscard]] static auto menu_font() -> xtd::drawing::font;
59
62 [[nodiscard]] static auto message_box_font() -> xtd::drawing::font;
63
66 [[nodiscard]] static auto small_caption_font() -> xtd::drawing::font;
67
70 [[nodiscard]] static auto status_font() -> xtd::drawing::font;
71
74 [[nodiscard]] static auto tool_font() -> xtd::drawing::font;
76
78
81 [[nodiscard]] static auto get_fonts() -> const xtd::array<xtd::drawing::font>&;
82
84 [[nodiscard]] static auto get_font_names() -> const xtd::array<xtd::string>&;
86 };
87 }
88}
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:64
Defines a particular format for text, including font face, size, and style attributes....
Definition font.hpp:45
Specifies the fonts used to display text in Windows display elements.
Definition system_fonts.hpp:25
static auto dialog_font() -> xtd::drawing::font
Gets a xtd::drawing::font that applications can use for dialog boxes and forms.
static auto default_font() -> xtd::drawing::font
Gets the default font that applications can use for dialog boxes and forms.
static auto icon_title_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used for icon titles.
static auto tool_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used to display text in the tool bar.
static auto menu_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used for menus.
static auto small_caption_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used to display text in the title bars of small windows,...
static auto caption_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used to display text in the title bars of windows.
static auto message_box_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used for message boxes.
static auto get_fonts() -> const xtd::array< xtd::drawing::font > &
Gets an array of system fonts.
static auto get_font_names() -> const xtd::array< xtd::string > &
Gets an array of system font names.
static auto status_font() -> xtd::drawing::font
Gets a xtd::drawing::font that is used to display text in the status bar.
Contains drawing_export_ keyword.
Contains xtd::drawing::font class.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:38
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8