xtd 0.2.0
text_renderer.h
Go to the documentation of this file.
1 #pragma once
7 #include <xtd/drawing/graphics>
8 #include <xtd/drawing/rectangle>
9 #include <xtd/static>
10 #include <xtd/ustring>
11 #include <memory>
12 #include <vector>
13 
15 namespace xtd {
17  namespace forms {
31  class forms_export_ text_renderer static_ {
32  public:
39  static void draw_shadow_text(xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const xtd::ustring& text, const xtd::forms::style_sheets::itext_model& data, const xtd::forms::style_sheets::ibox_model& box);
45  static void draw_text(xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const xtd::ustring& text, const xtd::forms::style_sheets::itext_model& data);
46 
47  static void draw_shadow_text_and_links(xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const xtd::ustring& text, const xtd::forms::style_sheets::itext_model& data, const xtd::forms::style_sheets::ibox_model& box);
48  static void draw_text_and_links(xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const xtd::ustring& text, const xtd::forms::style_sheets::itext_model& data);
49  };
50  }
51 }
#define static_
This keyword is use to represent a static object. A static object can&#39;t be instantiated (constructors...
Definition: static.h:37
Represents a boxed object.
Definition: box.h:47
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more.
Definition: system_report.h:17
Contains xtd::forms::style_sheets::ibox_model class.
Provides methods used to render a text with style sheets.
Definition: text_renderer.h:31
Represents text as a sequence of UTF-8 code units.
Definition: ustring.h:46
The box model allows you to specify the margin, borders, padding, background color, width and height of a box.
Definition: ibox_model.h:43
Stores a set of four integers that represent the location and size of a rectangle.
Definition: rectangle.h:44
Contains xtd::forms::style_sheets::itext_model class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition: about_box.h:13
The text model allows you to specify the alignment, color, decoration, transformation, and font of a text.
Definition: itext_model.h:38
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition: graphics.h:70
The xtd::forms::status_bar_panel displays text in the standard font.