#include <kate.h>
Data Fields | |
kate_float | halign |
kate_float | valign |
kate_color | text_color |
kate_color | background_color |
kate_color | draw_color |
kate_space_metric | font_metric |
kate_float | font_width |
kate_float | font_height |
kate_space_metric | margin_metric |
kate_float | left_margin |
kate_float | top_margin |
kate_float | right_margin |
kate_float | bottom_margin |
uint32_t | bold:1 |
uint32_t | italics:1 |
uint32_t | underline:1 |
uint32_t | strike:1 |
kate_float kate_style::halign |
horizontal alignment, -1 for left, +1 for right, other values inter/extrapolate
kate_float kate_style::valign |
horizontal alignment, -1 for top, +1 for bottom, other values inter/extrapolate
RGBA color of the text
background RGBA color of the whole region, regardless of what extent any text has
RGBA color for drawn shapes
whether font size are in pixels or percentage
kate_float kate_style::font_width |
horizontal size of the glyphs
kate_float kate_style::font_height |
vertical size of the glyphs
how to interpret margin values
kate_float kate_style::left_margin |
size of left margin
kate_float kate_style::top_margin |
size of top margin
kate_float kate_style::right_margin |
size of right margin
kate_float kate_style::bottom_margin |
size of bottom margin
uint32_t kate_style::bold |
display text in bold
uint32_t kate_style::italics |
display text in italics
uint32_t kate_style::underline |
display underlined text
uint32_t kate_style::strike |
display striked text