xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.
xtd::forms::control_paint Class Referencefinal

Provides methods used to paint common Windows controls and their elements. This class cannot be inherited. More...

#include <control_paint.h>

Inheritance diagram for xtd::forms::control_paint:

Static Public Member Functions

static xtd::drawing::color average (const xtd::drawing::color &color1, const xtd::drawing::color &color2, double weight, bool average_alpha)
 Returns the weighted average color between the two given colors. More...
 
static xtd::drawing::color average (const xtd::drawing::color &color1, const xtd::drawing::color &color2, double weight)
 Returns the weighted average color between the two given colors. More...
 
static xtd::drawing::color dark (const xtd::drawing::color &base_color)
 Creates a new dark color object for the control from the specified color. More...
 
static xtd::drawing::color dark (const xtd::drawing::color &base_color, double perc_of_dark_dark)
 Creates a new dark color object for the control from the specified color and darkens it by the specified percentage. More...
 
static xtd::drawing::color dark_dark (const xtd::drawing::color &base_color)
 Creates a new dark color object for the control from the specified color. More...
 
static xtd::drawing::color light (const xtd::drawing::color &base_color)
 Creates a new light color object for the control from the specified color. More...
 
static xtd::drawing::color light (const xtd::drawing::color &base_color, double perc_of_light_light)
 Creates a new light color object for the control from the specified color and lightens it by the specified percentage. More...
 
static xtd::drawing::color light_light (const xtd::drawing::color &base_color)
 Creates a new light color object for the control from the specified color. More...
 
static xtd::drawing::string_format string_format (xtd::forms::text_format_flags flags)
 

Detailed Description

Provides methods used to paint common Windows controls and their elements. This class cannot be inherited.


The documentation for this class was generated from the following file: