Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
attributed_string.hpp File Reference
#include <pulp/canvas/canvas.hpp>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  pulp::canvas::TextSpan
 A span of text with consistent styling. More...
class  pulp::canvas::AttributedString
 Attributed string — a sequence of styled text spans. More...
struct  pulp::canvas::TextLayoutLine
 Multi-line text layout result. More...
struct  pulp::canvas::TextLayout

Namespaces

namespace  pulp
namespace  pulp::canvas

Enumerations

enum class  pulp::canvas::TextDecoration { pulp::canvas::none , pulp::canvas::underline , pulp::canvas::strikethrough , pulp::canvas::overline }
 Text decoration style. More...

Functions

TextLayout pulp::canvas::layout_attributed_string (const AttributedString &text, float max_width, float line_height=0)
 Lay out an attributed string within a given width.