// Copyright (c) Six Labors. // Licensed under the Six Labors Split License. using SixLabors.Fonts.Tables.AdvancedTypographic.Variations; namespace SixLabors.Fonts.Tables.General.Colr { /// /// Abstract base class for COLR v1 ClipBox subtables, which define bounding boxes for clipping paint operations. /// Format-dispatched into (static) and (variable). /// /// internal abstract class ClipBox { /// /// Gets the bounds of the clip box, optionally applying variation deltas. /// /// The COLR table used for resolving variation deltas. /// The glyph variation processor, or for non-variable fonts. /// The resolved bounding box. public abstract Bounds GetBounds(ColrTable colr, GlyphVariationProcessor? processor); } }