/* * Copyright 2006 The Android Open Source Project * * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ #ifndef SkPoint_DEFINED #define SkPoint_DEFINED #include "include/private/base/SkAPI.h" #include "include/private/base/SkFloatingPoint.h" #include "include/private/base/SkSafe32.h" #include <cmath> #include <cstdint> struct SkIPoint; /** SkIVector provides an alternative name for SkIPoint. SkIVector and SkIPoint can be used interchangeably for all purposes. */ SkIVector; /** \struct SkIPoint SkIPoint holds two 32-bit integer coordinates. */ struct SkIPoint { … }; struct SkPoint; /** SkVector provides an alternative name for SkPoint. SkVector and SkPoint can be used interchangeably for all purposes. */ SkVector; /** \struct SkPoint SkPoint holds two 32-bit floating point coordinates. */ struct SK_API SkPoint { … }; #endif