xtd 0.2.0
Loading...
Searching...
No Matches
system_images.h
Go to the documentation of this file.
1
4#pragma once
6
8namespace xtd {
10 namespace drawing {
24 public:
26
34 static xtd::drawing::image image_loading() noexcept;
39 static xtd::drawing::image image_loading(const xtd::drawing::size& size) noexcept ;
43 static xtd::drawing::image image_missing() noexcept;
48 static xtd::drawing::image image_missing(const xtd::drawing::size& size) noexcept;
49
69 static std::vector<xtd::ustring> contexts() noexcept;
463 static std::map<xtd::ustring, std::vector<xtd::ustring>> context_names() noexcept;
856 static std::vector<xtd::ustring> names() noexcept;
1251 static std::vector<xtd::ustring> names(const xtd::ustring& context) noexcept;
1255 static std::vector<xtd::drawing::size> sizes() noexcept;
1257
1259
1266 static xtd::drawing::image from_name(const xtd::ustring& name);
1272 static xtd::drawing::image from_name(const xtd::ustring& name, const xtd::drawing::size& size);
1278 static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name);
1284 static xtd::drawing::image from_name(const xtd::ustring& theme, const xtd::ustring& name, const xtd::drawing::size& size);
1286 };
1287 }
1288}
1289
An abstract base class that provides functionality for the bitmap and metafile descended classes.
Definition image.h:49
Stores an ordered pair of integers, which specify a height and width.
Definition size.h:31
Represents the base for all system_images clases (xtd::drawing::system_images).
Definition system_images_base.h:32
Each property of the xtd::drawing::system_images class is an xtd::drawing::image object for Windows s...
Definition system_images.h:23
static xtd::drawing::size default_size() noexcept
Gets system image from specified name.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define drawing_export_
Define shared library export.
Definition drawing_export.h:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::drawing::system_images_base factory.