xtd 0.2.0
Loading...
Searching...
No Matches
text_renderer.h
Go to the documentation of this file.
1
4#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
15namespace xtd {
17 namespace forms {
32 public:
34
49
50 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);
51 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);
53 };
54 }
55}
Represents a boxed object.
Definition box.h:47
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.h:70
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.h:44
The box model allows you to specify the margin, borders, padding, background color,...
Definition ibox_model.h:43
The text model allows you to specify the alignment, color, decoration, transformation,...
Definition itext_model.h:38
Provides methods used to render a text with style sheets.
Definition text_renderer.h:31
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)
Draws text.
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)
Draws shadow text.
Represents text as a sequence of UTF-8 code units.
Definition ustring.h:47
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.h:37
#define forms_export_
Define shared library export.
Definition forms_export.h:13
Contains xtd::forms::style_sheets::ibox_model class.
Contains xtd::forms::style_sheets::itext_model class.
The xtd::forms namespace contains classes for creating Windows-based applications that take full adva...
Definition xtd_about_box.h:12
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10