/* * Copyright 2019 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkScalingCodec_DEFINED #define SkScalingCodec_DEFINED #include "include/codec/SkCodec.h" #include "include/codec/SkEncodedOrigin.h" #include "include/core/SkScalar.h" #include "include/core/SkSize.h" #include "include/core/SkStream.h" #include "include/private/SkEncodedInfo.h" #include <algorithm> #include <memory> #include <utility> // Helper class for an SkCodec that supports arbitrary downscaling. class SkScalingCodec : public SkCodec { … }; #endif // SkScalingCodec_DEFINED