Flutter Engine
The Flutter Engine
|
#include "include/core/SkPaint.h"
#include "include/core/SkAlphaType.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkBlender.h"
#include "include/core/SkColorFilter.h"
#include "include/core/SkImageFilter.h"
#include "include/core/SkMaskFilter.h"
#include "include/core/SkPathEffect.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkStrokeRec.h"
#include "include/private/base/SkTPin.h"
#include "include/private/base/SkTo.h"
#include "src/core/SkBlenderBase.h"
#include "src/core/SkColorSpacePriv.h"
#include "src/core/SkColorSpaceXformSteps.h"
#include "src/core/SkMaskFilterBase.h"
#include "src/core/SkPaintDefaults.h"
#include "src/core/SkPathEffectBase.h"
#include "src/effects/colorfilters/SkColorFilterBase.h"
#include <utility>
Go to the source code of this file.
Macros | |
#define | EQUAL(field) (a.field == b.field) |
#define | DEFINE_FIELD_REF(type) sk_sp<Sk##type> SkPaint::ref##type() const { return f##type; } |
#define | DEFINE_FIELD_SET(Field) void SkPaint::set##Field(sk_sp<Sk##Field> f) { f##Field = std::move(f); } |
Functions | |
bool | operator== (const SkPaint &a, const SkPaint &b) |
static bool | affects_alpha (const SkColorFilter *cf) |
static bool | affects_alpha (const SkImageFilter *imf) |
Definition at line 82 of file SkPaint.cpp.
#define DEFINE_FIELD_SET | ( | Field | ) | void SkPaint::set##Field(sk_sp<Sk##Field> f) { f##Field = std::move(f); } |
Definition at line 92 of file SkPaint.cpp.
#define EQUAL | ( | field | ) | (a.field == b.field) |
|
static |
Definition at line 262 of file SkPaint.cpp.
|
static |
Definition at line 267 of file SkPaint.cpp.
Compares a and b, and returns true if a and b are equivalent. May return false if SkPathEffect, SkShader, SkMaskFilter, SkColorFilter, or SkImageFilter have identical contents but different pointers.
Definition at line 66 of file SkPaint.cpp.