Pulp 1.88.0
Cross-platform audio plugin framework
Loading...
Searching...
No Matches
pulp::canvas::TextRasterTuple Struct Reference

Surface text contrast and gamma for a policy, the two values SkSurfaceProps carries. More...

#include <text_raster_policy.hpp>

Public Attributes

float contrast
float gamma

Detailed Description

Surface text contrast and gamma for a policy, the two values SkSurfaceProps carries.

chromium is the tuple measured to reproduce Chromium's antialiased glyphs; at gamma 1 the contrast value is inert, so it is recorded as 0.

Member Data Documentation

◆ contrast

float pulp::canvas::TextRasterTuple::contrast

◆ gamma

float pulp::canvas::TextRasterTuple::gamma

The documentation for this struct was generated from the following file: