/* * Copyright 2011 Google Inc. * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkSize_DEFINED #define SkSize_DEFINED #include "include/core/SkScalar.h" #include "include/private/base/SkTo.h" #include <cstdint> struct SkISize { … }; static inline bool operator==(const SkISize& a, const SkISize& b) { … } static inline bool operator!=(const SkISize& a, const SkISize& b) { … } /////////////////////////////////////////////////////////////////////////////// struct SkSize { … }; static inline bool operator==(const SkSize& a, const SkSize& b) { … } static inline bool operator!=(const SkSize& a, const SkSize& b) { … } #endif