2#ifndef _aspose_drawing_color_translator_h_
3#define _aspose_drawing_color_translator_h_
5#include "system/string.h"
6#include "drawing/color.h"
9#define WIN32_RED_SHIFT 0
11#define WIN32_GREEN_SHIFT 8
13#define WIN32_BLUE_SHIFT 16
15namespace System {
namespace Drawing {
Represents a color. This type should be allocated on stack and passed to functions by value or by ref...
Definition: color.h:24
Performs color translations. Objects of this class should only be allocated using System::MakeObject(...
Definition: color_translator.h:22
static String ToHtml(const Color &color)
Converts the specified Color object to the string representation of equivalent HTML color.
static Color FromWin32(int win32_color)
Converts the specified Windows color to the equvivalent Color object.
static Color FromHtml(const System::String &name)
Converts the specified HTML color representation to the equvivalent Color object.
String class used across the library. Is a substitute for C# System.String when translating code....
Definition: string.h:122
Definition: db_command.h:9