Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Classes | Functions
SkSize.h File Reference
#include "include/core/SkScalar.h"
#include "include/private/base/SkTo.h"
#include <cstdint>

Go to the source code of this file.

Classes

struct  SkISize
 
struct  SkSize
 

Functions

static bool operator== (const SkISize &a, const SkISize &b)
 
static bool operator!= (const SkISize &a, const SkISize &b)
 
static bool operator== (const SkSize &a, const SkSize &b)
 
static bool operator!= (const SkSize &a, const SkSize &b)
 

Function Documentation

◆ operator!=() [1/2]

static bool operator!= ( const SkISize a,
const SkISize b 
)
inlinestatic

Definition at line 48 of file SkSize.h.

48{ return !(a == b); }
static bool b
struct MyStruct a[10]

◆ operator!=() [2/2]

static bool operator!= ( const SkSize a,
const SkSize b 
)
inlinestatic

Definition at line 92 of file SkSize.h.

92{ return !(a == b); }

◆ operator==() [1/2]

static bool operator== ( const SkISize a,
const SkISize b 
)
inlinestatic

Definition at line 44 of file SkSize.h.

44 {
45 return a.fWidth == b.fWidth && a.fHeight == b.fHeight;
46}

◆ operator==() [2/2]

static bool operator== ( const SkSize a,
const SkSize b 
)
inlinestatic

Definition at line 88 of file SkSize.h.

88 {
89 return a.fWidth == b.fWidth && a.fHeight == b.fHeight;
90}