11#include "include/core/SkSurfaceProps.h"
20inline SkSurfaceProps surface_props_for(
TextRasterPolicy policy, std::uint32_t flags = 0,
21 SkPixelGeometry geometry = kUnknown_SkPixelGeometry) {
23 return SkSurfaceProps();
25 return SkSurfaceProps(flags, geometry, tuple.contrast, tuple.gamma);
Definition affine_transform.hpp:24
constexpr TextRasterTuple kChromiumTextRaster
Definition text_raster_policy.hpp:56
constexpr TextRasterTuple text_raster_tuple(TextRasterPolicy policy)
Definition text_raster_policy.hpp:58
TextRasterPolicy
Glyph preblend a surface is created with.
Definition text_raster_policy.hpp:33
@ legacy
Definition text_raster_policy.hpp:34
@ chromium
Definition text_raster_policy.hpp:35