Shows how to use xtd::drawing::image class with xpm image.
#include <xtd/diagnostics/process>
#include <xtd/drawing/bitmap>
#include <xtd/io/path>
#include "../resources/gammasoft.xpm"
auto main() -> int {
}
bool start()
Starts (or reuses) the process resource that is specified by the xtd::diagnostics::process::start_inf...
static bitmap from_xpm_data(const char *const *bits)
Creates an xtd::drawing::image from the specified data pointer.
static xtd::string get_temp_path() noexcept
Returns the path of the current user's temporary folder.
static xtd::string combine(const xtd::string &path1, const xtd::string &path2)
Combines two path strings.
The xtd::diagnostics namespace provides classes that allow you to interact with system processes,...
Definition assert_dialog_result.hpp:10
The xtd::drawing namespace provides access to GDI+ basic graphics functionality. More advanced functi...
Definition actions_system_images.hpp:10
The xtd::io namespace contains types that allow reading and writing to files and data streams,...
Definition binary_reader.hpp:17