xtd 1.0.0
Loading...
Searching...
No Matches
text_renderer.hpp
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/string>
11#include <memory>
12#include <vector>
13
15namespace xtd {
17 namespace forms {
34 public:
36
51
52 static auto draw_shadow_text_and_links(xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const xtd::string& text, const xtd::forms::style_sheets::itext_model& data, const xtd::forms::style_sheets::ibox_model& box) -> void;
53 static auto draw_text_and_links(xtd::drawing::graphics& graphics, const xtd::drawing::rectangle& bounds, const xtd::string& text, const xtd::forms::style_sheets::itext_model& data) -> void;
55 };
56 }
57}
Defines an object used to draw lines and curves. This class cannot be inherited.
Definition graphics.hpp:67
The box model allows you to specify the margin, borders, padding, background color,...
Definition ibox_model.hpp:45
The text model allows you to specify the alignment, color, decoration, transformation,...
Definition itext_model.hpp:40
Provides methods used to render a text with style sheets.
Definition text_renderer.hpp:33
static auto draw_shadow_text(xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, const xtd::string &text, const xtd::forms::style_sheets::itext_model &data, const xtd::forms::style_sheets::ibox_model &box) -> void
Draws shadow text.
static auto draw_text(xtd::drawing::graphics &graphics, const xtd::drawing::rectangle &bounds, const xtd::string &text, const xtd::forms::style_sheets::itext_model &data) -> void
Draws text.
#define static_
This keyword is use to represent a static object. A static object can't be instantiated (constructors...
Definition static.hpp:38
#define forms_export_
Define shared library export.
Definition forms_export.hpp:13
xtd::basic_string< char > string
Represents text as a sequence of UTF-8 code units.
Definition __string_definitions.hpp:43
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 texts.hpp:219
Contains classes that represent ASCII and Unicode character encodings; abstract base classes for conv...
Definition basic_string_builder.hpp:13
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition abstract_object.hpp:8
constexpr auto data() const noexcept -> const_pointer
Gets direct access to the underlying contiguous storage.
Definition read_only_span.hpp:197
Represents a boxed object.
Definition box.hpp:55
Stores a set of four integers that represent the location and size of a rectangle.
Definition rectangle.hpp:44