xtd 1.0.0
Loading...
Searching...
No Matches
system_images.hpp
Go to the documentation of this file.
1
4#pragma once
6
8namespace xtd {
10 namespace drawing {
24 public:
26
30 [[nodiscard]] static auto default_size() noexcept -> xtd::drawing::size;
34 [[nodiscard]] static auto image_loading() noexcept -> xtd::drawing::image;
39 [[nodiscard]] static auto image_loading(const xtd::drawing::size& size) noexcept -> xtd::drawing::image;
43 [[nodiscard]] static auto image_missing() noexcept -> xtd::drawing::image;
48 [[nodiscard]] static auto image_missing(const xtd::drawing::size& size) noexcept -> xtd::drawing::image;
49
69 [[nodiscard]] static auto contexts() noexcept -> xtd::array<xtd::string>;
463 [[nodiscard]] static auto context_names() noexcept -> std::map<xtd::string, xtd::array<xtd::string>>;
856 [[nodiscard]] static auto names() noexcept -> xtd::array<xtd::string>;
1251 [[nodiscard]] static auto names(const xtd::string& context) noexcept -> xtd::array<xtd::string>;
1255 [[nodiscard]] static auto sizes() noexcept -> xtd::array<xtd::drawing::size>;
1257
1259
1266 [[nodiscard]] static auto from_name(const xtd::string& name) -> xtd::drawing::image;
1272 [[nodiscard]] static auto from_name(const xtd::string& name, const xtd::drawing::size& size) -> xtd::drawing::image;
1278 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name) -> xtd::drawing::image;
1284 [[nodiscard]] static auto from_name(const xtd::string& theme, const xtd::string& name, const xtd::drawing::size& size) -> xtd::drawing::image;
1286 };
1287 }
1288}
1289
1290#include "../literals/system_images.hpp"
Provides methods for creating, manipulating, searching, and sorting arrays, thereby serving as the ba...
Definition array.hpp:64
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.hpp:49
Represents the base for all system_images clases (xtd::drawing::system_images).
Definition system_images_base.hpp:32
Each property of the xtd::drawing::system_images class is an xtd::drawing::image object for Windows s...
Definition system_images.hpp:23
static auto image_missing() noexcept -> xtd::drawing::image
Gets the image missing.
static auto default_size() noexcept -> xtd::drawing::size
Gets system image from specified name.
static auto from_name(const xtd::string &name) -> xtd::drawing::image
Gets system image from specified name.
static auto image_loading() noexcept -> xtd::drawing::image
Gets the image loading.
static auto names() noexcept -> xtd::array< xtd::string >
Gets the image names.
static auto sizes() noexcept -> xtd::array< xtd::drawing::size >
Gets standard sizes for image.
static auto contexts() noexcept -> xtd::array< xtd::string >
Gets the image contexts.
static auto context_names() noexcept -> std::map< xtd::string, xtd::array< xtd::string > >
Gets the image context names.
#define drawing_export_
Define shared library export.
Definition drawing_export.hpp:13
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
Stores an ordered pair of integers, which specify a height and width.
Definition size.hpp:32
Contains xtd::drawing::system_images_base factory.