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

Go to the source code of this file.

Classes

struct  pulp::view::TextRun
 One piece of painted text, resolved to screen space. More...
struct  pulp::view::AppearanceCoverage
 N of M evaluated, K skipped and why. Printed on every run. More...
struct  pulp::view::AppearanceFinding
struct  pulp::view::AppearanceReport
struct  pulp::view::AppearanceOptions

Namespaces

namespace  pulp
namespace  pulp::view
 Hover-cursor tracking for platform window hosts.

Enumerations

enum class  pulp::view::AppearanceDefectKind { pulp::view::text_overlap , pulp::view::painted_wider_than_box , pulp::view::canvas_text_overlap , pulp::view::container_paints_no_text }
 Visual-appearance defect detection over a laid-out View tree. More...
enum class  pulp::view::TextRunSkip {
  pulp::view::none , pulp::view::invisible , pulp::view::empty_text , pulp::view::clipped_away ,
  pulp::view::unmeasurable , pulp::view::degenerate_box
}
 Why a piece of text was not evaluated. More...

Functions

const char * pulp::view::to_string (AppearanceDefectKind kind)
AppearanceReport pulp::view::detect_appearance_defects (const View &root, const AppearanceOptions &options={})
 Walk root (already laid out) and report painted-text defects.