skia2/site/user/api/undocumented.md
Cary Clark f895a420c9 work on skimageinfo
work on skimageinfo

Docs-Preview: https://skia.org/?cl=109081
TBR=caryclark@google.com
Bug: skia:6898
Change-Id: I4d1734647ef1fa879d08b04c64142c7f16abc858
Reviewed-on: https://skia-review.googlesource.com/109081
Commit-Queue: Cary Clark <caryclark@skia.org>
Reviewed-by: Cary Clark <caryclark@skia.org>
2018-02-27 15:12:59 +00:00

23 KiB

undocumented

Alias

Anti-alias

Arc

BBH Factory

Class SkBBHFactory

Backend Semaphore

Class GrBackendSemaphore

Blend Mode

Enum SkBlendMode

Constants

SkBlendMode::kSrc 1
SkBlendMode::kSrcOver 3
SkBlendMode::kPlus 12

Circle

Clip Op

Enum SkClipOp

Constants

SkClipOp::kDifference 0
SkClipOp::kIntersect 1

Color

SkColorGetA

int SkColorGetA(color)

SkColorGetR

int SkColorGetR(color)

SkColorGetG

int SkColorGetG(color)

SkColorGetB

int SkColorGetB(color)

SkColorSetARGB

int SkColorSetARGB(a, r, g, b)

SkPreMultiplyARGB

SkPMColor SkPreMultiplyARGB(U8CPU a, U8CPU r, U8CPU g, U8CPU b)

Constants

SK_ColorBLACK 0xFF000000
SK_ColorBLUE 0xFF0000FF
SK_ColorGREEN 0xFF00FF00
SK_ColorRED 0xFFFF0000
SK_ColorWHITE 0xFFFFFFFF

Alpha

RGB

RGB Red

RGB Blue

RGB Green

ARGB

RBG

RGB-565

Gray

Color Filter

Class SkColorFilter

toString

void toString(SkString* str) const

Color Space

Class SkColorSpace

MakeSRGBLinear

static sk_sp<SkColorSpace> MakeSRGBLinear()

Enum SkTransferFunctionBehavior

Constants

SkTransferFunctionBehavior::kRespect 0
SkTransferFunctionBehavior::kIgnore 1

Core Graphics

Core Text

Create Color Space Xform Canvas

SkCreateColorSpaceXformCanvas

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

Curve

Data

Class SkData

Debugging

SkDebugf

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

Deferred Display List

Class SkDeferredDisplayList

Recorder

Class SkDeferredDisplayListRecorder

Device

Class SkBaseDevice

Document

Class SkDocument

beginPage

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

PDF

Draw Filter

Class SkDrawFilter

Draw Layer

Draw Looper

Class SkDrawLooper

Drawable

Class SkDrawable

draw

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

Dump Canvas

Class SkDumpCanvas

Encoded Image Format

Enum SkEncodedImageFormat

Constants

SkEncodedImageFormat::kUnknown 0
SkEncodedImageFormat::kBMP 1
SkEncodedImageFormat::kGIF 2
SkEncodedImageFormat::kICO 3
SkEncodedImageFormat::kJPEG 4
SkEncodedImageFormat::kPNG 5
SkEncodedImageFormat::kWBMP 6
SkEncodedImageFormat::kWEBP 7
SkEncodedImageFormat::kPKM 8
SkEncodedImageFormat::kKTX 9
SkEncodedImageFormat::kASTC 10
SkEncodedImageFormat::kDNG 11
SkEncodedImageFormat::kHEIF 12

Filter Quality

Enum SkFilterQuality

Constants

kNone_SkFilterQuality 0
kLow_SkFilterQuality 1
kMedium_SkFilterQuality 2
kHigh_SkFilterQuality 3

Nearest Neighbor

Bilerp

MipMap

BiCubic

Font

Advance

Engine

Font Manager

GPU Context

Resource Cache Limits

Class GrContext

flush

void flush()

GPU Surface

GPU Texture

Glyph

HTML Canvas

ArcTo

ISize

Struct SkISize

Image Filter

Scaling

Class SkImageFilter

toString

void toString(SkString* str) const

Image Scaling

Left Side Bearing

Line

Malloc Pixel Ref

Class SkMallocPixelRef

MakeZeroed

static sk_sp<SkPixelRef> MakeZeroed(const SkImageInfo&, size_t rowBytes)

MakeAllocate

static sk_sp<SkPixelRef> MakeAllocate(const SkImageInfo&, size_t rowBytes)

Mask Alpha

Mask Filter

Class SkMaskFilter

toString

void toString(SkString* str) const

Math

sk_64_isS32

static inline bool sk_64_isS32(int64_t value)

SkIntToScalar

SkIntToScalar(x)

SkScalarRoundToInt

SkScalarRoundToInt(x)

SkScalarFloorToInt

SkScalarFloorToInt(x)

SkScalarCeilToInt

SkScalarCeilToInt(x)

SkScalarFloorToScalar

SkScalarFloorToScalar(x)

SkScalarCeilToScalar

SkScalarCeilToScalar(x)

SkScalarIsFinite

SkScalarIsFinite(x)

SkScalarIsNaN

SkScalarIsNaN(x)

SkTFitsIn

template <typename D, typename S> inline bool SkTFitsIn(S s)

Meta Data

Class SkMetaData

Mip Map

Nine Patch

Number Types

Scalar

Constants

SK_MinS32FitsInFloat to be written
SK_MaxS32FitsInFloat to be written
SK_ScalarMin to be written
SK_ScalarMax to be written
SK_ScalarInfinity to be written
SK_ScalarNegativeInfinity to be written
SK_ScalarNaN to be written
SK_MinS32 to be written
SK_MaxS32 to be written
SK_MaxSizeT to be written

OS X

Oval

Paint Defaults

Constants

SkPaintDefaults_Flags 0
SkPaintDefaults_Hinting 2
SkPaintDefaults_TextSize 12
SkPaintDefaults_MiterLimit 4

Patch

PathOps

Op

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

Path Effect

Class SkPathEffect

toString

void toString(SkString* str) const

Path Measure

Class SkPathMeasure

dump

void dump() const

Picture

Class SkPicture

playback

virtual void playback(SkCanvas*, AbortCallback* = nullptr) const = 0

Recorder

Class SkPictureRecorder

beginRecording

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

Pixel

Storage

Pixel Ref

Class SkPixelRef

width

int width() const

height

int height() const

isImmutable

bool isImmutable() const

setImmutable

void setImmutable()

Point3

Struct SkPoint3

PostScript

Arct

Premultiply

RSXform

Struct SkRSXform

Raster Bitmap

Raster Engine

Raster Handle Allocator

Class SkRasterHandleAllocator

Struct SkRasterHandleAllocator::Rec

MakeCanvas

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

Raster Surface

Rasterizer

Class SkRasterizer

Layer

Read Buffer

Struct SkReadBuffer

Reference Count

Class SkRefCnt

Class sk_sp

Region

Class SkRegion

Render Target

Class GrRenderTarget

Right Side Bearing

Round Rect

Class SkRRect

dump

void dump() const

dumpHex

void dumpHex() const

SVG

Canvas

Arc

Shader

Class SkShader

Enum SkShader::TileMode

Constants

SkShader::kClamp_TileMode 0
SkShader::kRepeat_TileMode 1
SkShader::kMirror_TileMode 2

MakeBitmapShader

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

Gradient

Size

Struct SkSize

Sprite

Stream

Class SkStream

String

Class SkString

Supersampling

Surface Characterization

Class SkSurfaceCharacterization

Surface Properties

Class SkSurfaceProps

Legacy Font Host

Enum SkSurfaceProps::InitType

Constants

SkSurfaceProps::kLegacyFontHost_InitType 0

Text

Text Blob

Class SkTextBlob

Texture

Class GrBackendTexture

Typeface

Class SkTypeface

Types

Enum GrSurfaceOrigin

Constants

kBottomLeft_GrSurfaceOrigin 0
kTopLeft_GrSurfaceOrigin 1

Budgeted

Enum SkBudgeted

Constants

SkBudgeted::kNo 0
SkBudgeted::kYes 1

Enum GrSemaphoresSubmitted

Constants

GrSemaphoresSubmitted::kNo 0
GrSemaphoresSubmitted::kYes 1

Unpremultiply

Vertices

Colors

Texs

Write Buffer

Struct SkWriteBuffer