Flutter Engine
The Flutter Engine
third_party
skia
src
pdf
SkBitmapKey.h
Go to the documentation of this file.
1
/*
2
* Copyright 2016 Google Inc.
3
*
4
* Use of this source code is governed by a BSD-style license that can be
5
* found in the LICENSE file.
6
*/
7
#ifndef SkBitmapKey_DEFINED
8
#define SkBitmapKey_DEFINED
9
10
#include "
include/core/SkRect.h
"
11
12
#include <cstdint>
13
14
struct
SkBitmapKey
{
15
SkIRect
fSubset
;
16
uint32_t
fID
;
17
bool
operator==
(
const
SkBitmapKey
& rhs)
const
{
18
return
fID
== rhs.
fID
&&
fSubset
== rhs.
fSubset
;
19
}
20
bool
operator!=
(
const
SkBitmapKey
& rhs)
const
{
return
!(*
this
== rhs); }
21
};
22
23
24
#endif
// SkBitmapKey_DEFINED
SkRect.h
SkBitmapKey
Definition:
SkBitmapKey.h:14
SkBitmapKey::operator==
bool operator==(const SkBitmapKey &rhs) const
Definition:
SkBitmapKey.h:17
SkBitmapKey::operator!=
bool operator!=(const SkBitmapKey &rhs) const
Definition:
SkBitmapKey.h:20
SkBitmapKey::fID
uint32_t fID
Definition:
SkBitmapKey.h:16
SkBitmapKey::fSubset
SkIRect fSubset
Definition:
SkBitmapKey.h:15
SkIRect
Definition:
SkRect.h:32
Generated on Sun Jun 23 2024 21:56:30 for Flutter Engine by
1.9.4