21 #include <pango/pango-layout.h>
24 #include <string_view>
31 class map_formula_callable;
void get_screen_size_variables(wfl::map_formula_callable &variable)
Gets a formula object with the screen size.
color_t decode_color(const std::string &color)
Converts a color string to a color.
t_string missing_widget(const std::string &id)
Returns a default error message if a mandatory widget is omitted.
point get_mouse_position()
Returns the current mouse position.
std::string_view debug_truncate(std::string_view text)
Returns a truncated version of the text.
PangoWeight decode_text_weight(const std::string &weight)
Converts a text weight string to a PangoWeight.
font::pango_text::FONT_STYLE decode_font_style(const std::string &style)
Converts a font style string to a font style.
PangoAlignment decode_text_alignment(const std::string &alignment)
Converts a text alignment string to a text alignment.
PangoStyle decode_text_style(const std::string &style)
Converts a text style string to a PangoStyle.
std::string encode_text_alignment(const PangoAlignment alignment)
Converts a text alignment to its string representation.
The basic class for representing 8-bit RGB or RGBA colour values.