Flutter Engine
The Flutter Engine
|
Classes | |
class | Draw |
class | FillBounds |
struct | Greedy |
class | Is |
class | IsDraw |
class | IsSingleDraw |
struct | Not |
class | Optional |
struct | Or |
struct | Or< First > |
class | Pattern |
class | Pattern< First, Rest... > |
class | Pattern<> |
class | PODArray |
struct | PreCachedPath |
struct | TypedMatrix |
Enumerations | |
enum | Type { SK_RECORD_TYPES =(ENUM) } |
enum | Tags { kHasImage_Tag = 2 , kHasText_Tag = 4 , kDrawWithPaint_Tag = kDraw_Tag | kHasPaint_Tag } |
Functions | |
DRAW (SaveLayer, saveLayer(SkCanvasPriv::ScaledBackdropLayer(r.bounds, r.paint, r.backdrop.get(), r.backdropScale, r.saveLayerFlags, SkCanvas::FilterSpan{const_cast< sk_sp< SkImageFilter > * >(r.filters.data()), r.filters.size()}))) template<> void Draw | |
DRAW (SetMatrix, setMatrix(fInitialCTM.asM33() *r.matrix)) DRAW(ClipPath | |
clipPath (r.path, r.opAA.op(), r.opAA.aa())) DRAW(ClipRRect | |
clipRRect (r.rrect, r.opAA.op(), r.opAA.aa())) DRAW(ClipRect | |
clipRect (r.rect, r.opAA.op(), r.opAA.aa())) template<> void Draw | |
DRAW (DrawImage, drawImage(r.image.get(), r.left, r.top, r.sampling, r.paint)) template<> void Draw | |
DRAW (DrawImageRect, drawImageRect(r.image.get(), r.src, r.dst, r.sampling, r.paint, r.constraint)) DRAW(DrawPicture | |
drawPicture (r.picture.get(), &r.matrix, r.paint)) DRAW(DrawTextBlob | |
drawTextBlob (r.blob.get(), r.x, r.y, r.paint)) DRAW(DrawSlug | |
drawSlug (r.slug.get(), r.paint)) DRAW(DrawAtlas | |
drawAtlas (r.atlas.get(), r.xforms, r.texs, r.colors, r.count, r.mode, r.sampling, r.cull, r.paint)) DRAW(DrawAnnotation | |
drawAnnotation (r.rect, r.key.c_str(), r.value.get())) DRAW(DrawEdgeAAQuad | |
experimental_DrawEdgeAAQuad (r.rect, r.clip, r.aa, r.color, r.mode)) DRAW(DrawEdgeAAImageSet | |
experimental_DrawEdgeAAImageSet (r.set.get(), r.count, r.dstClips, r.preViewMatrices, r.sampling, r.paint, r.constraint)) template<> void Draw | |
RECORD (Restore, 0, TypedMatrix matrix) RECORD(SaveLayer | |
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters | RECORD (SaveBehind, 0, Optional< SkRect > subset) RECORD(SetMatrix |
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix | RECORD (SetM44, 0, SkM44 matrix) RECORD(Concat |
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix | RECORD (Concat44, 0, SkM44 matrix) RECORD(Translate |
SkScalar dy | RECORD (Scale, 0, SkScalar sx;SkScalar sy) struct ClipOpAndAA |
RECORD (ClipPath, 0, PreCachedPath path;ClipOpAndAA opAA) RECORD(ClipRRect | |
ClipOpAndAA opAA | RECORD (ClipRect, 0, SkRect rect;ClipOpAndAA opAA) RECORD(ClipRegion |
SkClipOp op | RECORD (ClipShader, 0, sk_sp< SkShader > shader;SkClipOp op) RECORD(DrawArc |
unsigned useCenter | RECORD (DrawDRRect, kDraw_Tag|kHasPaint_Tag, SkPaint paint;SkRRect outer;SkRRect inner) RECORD(DrawDrawable |
int32_t index | RECORD (DrawImage, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, Optional< SkPaint > paint;sk_sp< const SkImage > image;SkScalar left;SkScalar top;SkSamplingOptions sampling) RECORD(DrawImageLattice |
SkFilterMode filter | RECORD (DrawImageRect, kDraw_Tag|kHasImage_Tag|kHasPaint_Tag, Optional< SkPaint > paint;sk_sp< const SkImage > image;SkRect src;SkRect dst;SkSamplingOptions sampling;SkCanvas::SrcRectConstraint constraint) RECORD(DrawOval |
SkRect oval | RECORD (DrawPaint, kDraw_Tag|kHasPaint_Tag, SkPaint paint) RECORD(DrawBehind |
SkRect oval kDraw_Tag SkPaint paint | RECORD (DrawPath, kDraw_Tag|kHasPaint_Tag, SkPaint paint;PreCachedPath path) RECORD(DrawPicture |
TypedMatrix matrix | RECORD (DrawPoints, kDraw_Tag|kHasPaint_Tag|kMultiDraw_Tag, SkPaint paint;SkCanvas::PointMode mode;unsigned count;PODArray< SkPoint > pts) RECORD(DrawRRect |
SkRRect rrect | RECORD (DrawRect, kDraw_Tag|kHasPaint_Tag, SkPaint paint;SkRect rect) RECORD(DrawRegion |
SkRegion region | RECORD (DrawTextBlob, kDraw_Tag|kHasText_Tag|kHasPaint_Tag, SkPaint paint;sk_sp< const SkTextBlob > blob;SkScalar x;SkScalar y) RECORD(DrawSlug |
sk_sp< const sktext::gpu::Slug > slug | RECORD (DrawPatch, kDraw_Tag|kHasPaint_Tag, SkPaint paint;PODArray< SkPoint > cubics;PODArray< SkColor > colors;PODArray< SkPoint > texCoords;SkBlendMode bmode) RECORD(DrawAtlas |
Optional< SkRect > cull | RECORD (DrawVertices, kDraw_Tag|kHasPaint_Tag|kMultiDraw_Tag, SkPaint paint;sk_sp< SkVertices > vertices;SkBlendMode bmode) RECORD(DrawMesh |
sk_sp< SkBlender > blender | RECORD (DrawShadowRec, kDraw_Tag, PreCachedPath path;SkDrawShadowRec rec) RECORD(DrawAnnotation |
sk_sp< SkData > value | RECORD (DrawEdgeAAQuad, kDraw_Tag, SkRect rect;PODArray< SkPoint > clip;SkCanvas::QuadAAFlags aa;SkColor4f color;SkBlendMode mode) RECORD(DrawEdgeAAImageSet |
enum SkRecords::Tags |
Enumerator | |
---|---|
kHasImage_Tag | |
kHasText_Tag | |
kDrawWithPaint_Tag |
Definition at line 158 of file SkRecords.h.
enum SkRecords::Type |
SkRecords::clipPath | ( | r. | path, |
r.opAA. | op(), | ||
r.opAA. | aa() | ||
) |
SkRecords::clipRect | ( | r. | rect, |
r.opAA. | op(), | ||
r.opAA. | aa() | ||
) |
Definition at line 125 of file SkRecordDraw.cpp.
SkRecords::clipRRect | ( | r. | rrect, |
r.opAA. | op(), | ||
r.opAA. | aa() | ||
) |
Definition at line 135 of file SkRecordDraw.cpp.
SkRecords::DRAW | ( | DrawImageRect | , |
drawImageRect(r.image.get(), r.src, r.dst, r.sampling, r.paint, r.constraint) | |||
) |
SkRecords::DRAW | ( | SaveLayer | , |
saveLayer(SkCanvasPriv::ScaledBackdropLayer( r.bounds, r.paint, r.backdrop.get(), r.backdropScale, r.saveLayerFlags, SkCanvas::FilterSpan{const_cast< sk_sp< SkImageFilter > * >(r.filters.data()), r.filters.size()})) | |||
) |
Definition at line 98 of file SkRecordDraw.cpp.
SkRecords::DRAW | ( | SetMatrix | , |
setMatrix(fInitialCTM.asM33() *r.matrix) | |||
) |
SkRecords::drawAnnotation | ( | r. | rect, |
r.key. | c_str(), | ||
r.value. | get() | ||
) |
SkRecords::drawAtlas | ( | r.atlas. | get(), |
r. | xforms, | ||
r. | texs, | ||
r. | colors, | ||
r. | count, | ||
r. | mode, | ||
r. | sampling, | ||
r. | cull, | ||
r. | paint | ||
) |
SkRecords::drawPicture | ( | r.picture. | get(), |
&r. | matrix, | ||
r. | paint | ||
) |
SkRecords::drawSlug | ( | r.slug. | get(), |
r. | paint | ||
) |
SkRecords::drawTextBlob | ( | r.blob. | get(), |
r. | x, | ||
r. | y, | ||
r. | paint | ||
) |
SkRecords::experimental_DrawEdgeAAImageSet | ( | r.set. | get(), |
r. | count, | ||
r. | dstClips, | ||
r. | preViewMatrices, | ||
r. | sampling, | ||
r. | paint, | ||
r. | constraint | ||
) |
Definition at line 170 of file SkRecordDraw.cpp.
SkRecords::experimental_DrawEdgeAAQuad | ( | r. | rect, |
r. | clip, | ||
r. | aa, | ||
r. | color, | ||
r. | mode | ||
) |
SkRecords::RECORD | ( | ClipPath | , |
0 | , | ||
PreCachedPath path;ClipOpAndAA | opAA | ||
) |
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkRecords::RECORD | ( | Concat44 | , |
0 | , | ||
SkM44 | matrix | ||
) |
unsigned useCenter SkRecords::RECORD | ( | DrawDRRect | , |
kDraw_Tag| | kHasPaint_Tag, | ||
SkPaint paint;SkRRect outer;SkRRect | inner | ||
) |
sk_sp< SkData > value SkRecords::RECORD | ( | DrawEdgeAAQuad | , |
kDraw_Tag | , | ||
SkRect rect;PODArray< SkPoint > clip;SkCanvas::QuadAAFlags aa;SkColor4f color;SkBlendMode | mode | ||
) |
int32_t index SkRecords::RECORD | ( | DrawImage | , |
kDraw_Tag|kHasImage_Tag| | kHasPaint_Tag, | ||
Optional< SkPaint > paint;sk_sp< const SkImage > image;SkScalar left;SkScalar top;SkSamplingOptions | sampling | ||
) |
SkFilterMode filter SkRecords::RECORD | ( | DrawImageRect | , |
kDraw_Tag|kHasImage_Tag| | kHasPaint_Tag, | ||
Optional< SkPaint > paint;sk_sp< const SkImage > image;SkRect src;SkRect dst;SkSamplingOptions sampling;SkCanvas::SrcRectConstraint | constraint | ||
) |
sk_sp< const sktext::gpu::Slug > slug SkRecords::RECORD | ( | DrawPatch | , |
kDraw_Tag| | kHasPaint_Tag, | ||
SkPaint paint;PODArray< SkPoint > cubics;PODArray< SkColor > colors;PODArray< SkPoint > texCoords;SkBlendMode | bmode | ||
) |
SkRect oval kDraw_Tag SkPaint paint SkRecords::RECORD | ( | DrawPath | , |
kDraw_Tag| | kHasPaint_Tag, | ||
SkPaint paint;PreCachedPath | path | ||
) |
TypedMatrix matrix SkRecords::RECORD | ( | DrawPoints | , |
kDraw_Tag|kHasPaint_Tag| | kMultiDraw_Tag, | ||
SkPaint paint;SkCanvas::PointMode mode;unsigned count;PODArray< SkPoint > | pts | ||
) |
sk_sp< SkBlender > blender SkRecords::RECORD | ( | DrawShadowRec | , |
kDraw_Tag | , | ||
PreCachedPath path;SkDrawShadowRec | rec | ||
) |
SkRegion region SkRecords::RECORD | ( | DrawTextBlob | , |
kDraw_Tag|kHasText_Tag| | kHasPaint_Tag, | ||
SkPaint paint;sk_sp< const SkTextBlob > blob;SkScalar x;SkScalar | y | ||
) |
Optional< SkRect > cull SkRecords::RECORD | ( | DrawVertices | , |
kDraw_Tag|kHasPaint_Tag| | kMultiDraw_Tag, | ||
SkPaint paint;sk_sp< SkVertices > vertices;SkBlendMode | bmode | ||
) |
SkRecords::RECORD | ( | Restore | , |
0 | , | ||
TypedMatrix | matrix | ||
) |
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters SkRecords::RECORD | ( | SaveBehind | , |
0 | , | ||
Optional< SkRect > | subset | ||
) |
Definition at line 212 of file SkRecords.h.
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix SkRecords::RECORD | ( | SetM44 | , |
0 | , | ||
SkM44 | matrix | ||
) |
Definition at line 331 of file SkRecords.h.
sk_sp<const SkImageFilter> SkRecords::backdrop |
Definition at line 191 of file SkRecords.h.
SkScalar SkRecords::backdropScale |
Definition at line 193 of file SkRecords.h.
Definition at line 189 of file SkRecords.h.
Definition at line 276 of file SkRecords.h.
int SkRecords::count |
Definition at line 335 of file SkRecords.h.
SkRect SkRecords::dst |
Definition at line 278 of file SkRecords.h.
Definition at line 364 of file SkRecords.h.
skia_private::AutoTArray< sk_sp< SkImageFilter > > filters TypedMatrix matrix TypedMatrix matrix SkScalar SkRecords::dx |
Definition at line 209 of file SkRecords.h.
int SkRecords::flagCount |
Definition at line 274 of file SkRecords.h.
PODArray<SkCanvas::Lattice::RectType> SkRecords::flags |
Definition at line 275 of file SkRecords.h.
Definition at line 269 of file SkRecords.h.
SkRecords::kDraw_Tag = 1 |
Definition at line 257 of file SkRecords.h.
SkString SkRecords::key |
Definition at line 352 of file SkRecords.h.
SkRecords::kHasPaint_Tag = 8 |
Definition at line 188 of file SkRecords.h.
SkRecords::kMultiDraw_Tag = 16 |
Definition at line 329 of file SkRecords.h.
Definition at line 258 of file SkRecords.h.
SkMesh SkRecords::mesh |
Definition at line 345 of file SkRecords.h.
SkBlendMode SkRecords::mode |
Definition at line 336 of file SkRecords.h.
SkRect SkRecords::oval |
Definition at line 249 of file SkRecords.h.
sk_sp< SkData > value kDraw_Tag kHasImage_Tag kHasPaint_Tag Optional< SkPaint > SkRecords::paint |
Definition at line 190 of file SkRecords.h.
Definition at line 299 of file SkRecords.h.
Definition at line 365 of file SkRecords.h.
Definition at line 351 of file SkRecords.h.
ClipOpAndAA opAA SkRegion SkRecords::region |
Definition at line 239 of file SkRecords.h.
SkRRect SkRecords::rrect |
Definition at line 233 of file SkRecords.h.
SkSamplingOptions SkRecords::sampling |
Definition at line 337 of file SkRecords.h.
SkCanvas::SaveLayerFlags SkRecords::saveLayerFlags |
Definition at line 192 of file SkRecords.h.
skia_private::AutoTArray<SkCanvas::ImageSetEntry> SkRecords::set |
Definition at line 362 of file SkRecords.h.
SkIRect SkRecords::src |
Definition at line 277 of file SkRecords.h.
SkScalar SkRecords::startAngle |
Definition at line 250 of file SkRecords.h.
SkScalar SkRecords::sweepAngle |
Definition at line 251 of file SkRecords.h.
Definition at line 333 of file SkRecords.h.
SkRect SkRecords::worstCaseBounds |
Definition at line 259 of file SkRecords.h.
int SkRecords::xCount |
Definition at line 270 of file SkRecords.h.
Definition at line 271 of file SkRecords.h.
Definition at line 332 of file SkRecords.h.
int SkRecords::yCount |
Definition at line 272 of file SkRecords.h.
Definition at line 273 of file SkRecords.h.