undocumented




Constants

Const Value Description
SkClipOp::kDifference 0
SkClipOp::kIntersect 1




static sk sp<SkColorSpace> MakeSRGBLinear()


bool gammaCloseToSRGB() const


static bool Equals(const SkColorSpace* src, const SkColorSpace* dst)


std::unique_ptr<SkCanvas> SK_API SkCreateColorSpaceXformCanvas(SkCanvas* target,
                                                     sk sp<SkColorSpace> targetCS)




SK_API void SkDebugf(const char format[], ...)







SkCanvas* beginPage(SkScalar width, SkScalar height, const SkRect* content = NULL)




void draw(SkCanvas*, const SkMatrix* = NULL)


Constants

Const Value Description
kNone_SkFilterQuality 0
kLow_SkFilterQuality 1
kMedium_SkFilterQuality 2
kHigh_SkFilterQuality 3



void flush()





Constants

---
Const Value Description
SkPaintDefaults_Flags 0
SkPaintDefaults_Hinting 2
SkPaintDefaults_TextSize 12
SkPaintDefaults_MiterLimit 4


bool SK_API Op(const SkPath& one, const SkPath& two, SkPathOp op, SkPath* result)




SkCanvas* beginRecording(const SkRect& bounds, SkBBHFactory* bbhFactory = NULL,
                         uint32_t recordFlags = 0)



int width() const


int height() const


bool isImmutable() const


void setImmutable()







static std::unique_ptr<SkCanvas> MakeCanvas(std::unique_ptr<SkRasterHandleAllocator>,
                                            const SkImageInfo&, const Rec* rec = nullptr)





bool isValid() const






Constants

Const Value Description
SkShader::kClamp_TileMode 0
SkShader::kRepeat_TileMode 1
SkShader::kMirror_TileMode 2


static sk sp<SkShader> MakeBitmapShader(const SkBitmap& src, TileMode tmx, TileMode tmy,
                                        const SkMatrix* localMatrix = nullptr)


static sk sp<SkShader> MakeCompose(sk sp<SkShader> dst, sk sp<SkShader> src, SkBlendMode mode,
                                   float lerp = 1)







Constants

Const Value Description
SkSurfaceProps::kLegacyFontHost_InitType 0

# Topic



bool isValid() const




SkFontID uniqueID() const