/* * Copyright 2020 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkSamplingPriv_DEFINED #define SkSamplingPriv_DEFINED #include "include/core/SkSamplingOptions.h" class SkReadBuffer; class SkWriteBuffer; // Given a src rect in texels to be filtered, this number of surrounding texels are needed by // the kernel in x and y. static constexpr int kBicubicFilterTexelPad = …; // Private copy of SkFilterQuality, just for legacy deserialization // Matches values in SkFilterQuality enum SkLegacyFQ { … }; // Matches values in SkSamplingOptions::MediumBehavior enum SkMediumAs { … }; class SkSamplingPriv { … }; #endif