#include <dl_builder.h>
Public Member Functions | |
| DisplayListBuilder (const ImpellerRect *rect) | |
| ~DisplayListBuilder () override | |
| DisplayListBuilder (const DisplayListBuilder &)=delete | |
| DisplayListBuilder & | operator= (const DisplayListBuilder &)=delete |
| void | Save () |
| void | SaveLayer (const Rect &bounds, const Paint *paint, const ImageFilter *backdrop) |
| void | Restore () |
| void | Scale (Size scale) |
| void | Rotate (Degrees angle) |
| void | Translate (Point translation) |
| Matrix | GetTransform () const |
| void | SetTransform (const Matrix &matrix) |
| void | Transform (const Matrix &matrix) |
| void | ResetTransform () |
| uint32_t | GetSaveCount () const |
| void | RestoreToCount (uint32_t count) |
| void | ClipRect (const Rect &rect, flutter::DlClipOp op) |
| void | ClipOval (const Rect &rect, flutter::DlClipOp op) |
| void | ClipRoundedRect (const Rect &rect, const RoundingRadii &radii, flutter::DlClipOp op) |
| void | ClipPath (const Path &path, flutter::DlClipOp op) |
| void | DrawPaint (const Paint &paint) |
| void | DrawLine (const Point &from, const Point &to, const Paint &paint) |
| void | DrawDashedLine (const Point &from, const Point &to, Scalar on_length, Scalar off_length, const Paint &paint) |
| void | DrawRect (const Rect &rect, const Paint &paint) |
| void | DrawOval (const Rect &oval_bounds, const Paint &paint) |
| void | DrawRoundedRect (const Rect &rect, const RoundingRadii &radii, const Paint &paint) |
| void | DrawRoundedRectDifference (const Rect &outer_rect, const RoundingRadii &outer_radii, const Rect &inner_rect, const RoundingRadii &inner_radii, const Paint &paint) |
| void | DrawPath (const Path &path, const Paint &paint) |
| void | DrawTexture (const Texture &texture, const Point &point, flutter::DlImageSampling sampling, const Paint *paint) |
| void | DrawTextureRect (const Texture &texture, const Rect &src_rect, const Rect &dst_rect, flutter::DlImageSampling sampling, const Paint *paint) |
| void | DrawDisplayList (const DisplayList &dl, Scalar opacity) |
| void | DrawParagraph (const Paragraph ¶graph, Point point) |
| void | DrawShadow (const Path &path, const flutter::DlColor &color, float elevation, bool occluder_is_transparent, float device_pixel_ratio) |
| ScopedObject< DisplayList > | Build () |
Public Member Functions inherited from impeller::interop::ObjectBase | |
| ObjectBase ()=default | |
| virtual | ~ObjectBase ()=default |
| ObjectBase (const ObjectBase &)=delete | |
| ObjectBase (ObjectBase &&)=delete | |
| ObjectBase & | operator= (const ObjectBase &)=delete |
| ObjectBase & | operator= (ObjectBase &&)=delete |
| void | Retain () |
| void | Release () |
| uint64_t | GetRefCountForTests () const |
Additional Inherited Members | |
Public Types inherited from impeller::interop::Object< DisplayListBuilder, IMPELLER_INTERNAL_HANDLE_NAME(ImpellerDisplayListBuilder)> | |
| using | InteropClass = DisplayListBuilder |
| using | InteropCSibling = IMPELLER_INTERNAL_HANDLE_NAME(ImpellerDisplayListBuilder) |
Static Public Member Functions inherited from impeller::interop::ObjectBase | |
| static void | SafeRetain (void *ptr) |
| static void | SafeRelease (void *ptr) |
Definition at line 24 of file dl_builder.h.
|
explicit |
Definition at line 11 of file dl_builder.cc.
|
overridedefault |
|
delete |
| ScopedObject< DisplayList > impeller::interop::DisplayListBuilder::Build | ( | ) |
Definition at line 142 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::ClipOval | ( | const Rect & | rect, |
| flutter::DlClipOp | op | ||
| ) |
Definition at line 73 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::ClipPath | ( | const Path & | path, |
| flutter::DlClipOp | op | ||
| ) |
| void impeller::interop::DisplayListBuilder::ClipRect | ( | const Rect & | rect, |
| flutter::DlClipOp | op | ||
| ) |
Definition at line 69 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::ClipRoundedRect | ( | const Rect & | rect, |
| const RoundingRadii & | radii, | ||
| flutter::DlClipOp | op | ||
| ) |
Definition at line 77 of file dl_builder.cc.
References impeller::RoundRect::MakeRectRadii().
| void impeller::interop::DisplayListBuilder::DrawDashedLine | ( | const Point & | from, |
| const Point & | to, | ||
| Scalar | on_length, | ||
| Scalar | off_length, | ||
| const Paint & | paint | ||
| ) |
| void impeller::interop::DisplayListBuilder::DrawDisplayList | ( | const DisplayList & | dl, |
| Scalar | opacity | ||
| ) |
Definition at line 146 of file dl_builder.cc.
References impeller::interop::DisplayList::GetDisplayList().
| void impeller::interop::DisplayListBuilder::DrawLine | ( | const Point & | from, |
| const Point & | to, | ||
| const Paint & | paint | ||
| ) |
Definition at line 123 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint().
| void impeller::interop::DisplayListBuilder::DrawOval | ( | const Rect & | oval_bounds, |
| const Paint & | paint | ||
| ) |
Definition at line 91 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint().
| void impeller::interop::DisplayListBuilder::DrawPaint | ( | const Paint & | paint | ) |
Definition at line 119 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint().
| void impeller::interop::DisplayListBuilder::DrawParagraph | ( | const Paragraph & | paragraph, |
| Point | point | ||
| ) |
Definition at line 175 of file dl_builder.cc.
References impeller::interop::Paragraph::GetHandle(), impeller::TPoint< T >::x, and impeller::TPoint< T >::y.
Definition at line 115 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint(), and impeller::interop::Path::GetPath().
Definition at line 87 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint().
| void impeller::interop::DisplayListBuilder::DrawRoundedRect | ( | const Rect & | rect, |
| const RoundingRadii & | radii, | ||
| const Paint & | paint | ||
| ) |
Definition at line 95 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint(), and impeller::RoundRect::MakeRectRadii().
| void impeller::interop::DisplayListBuilder::DrawRoundedRectDifference | ( | const Rect & | outer_rect, |
| const RoundingRadii & | outer_radii, | ||
| const Rect & | inner_rect, | ||
| const RoundingRadii & | inner_radii, | ||
| const Paint & | paint | ||
| ) |
Definition at line 102 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint(), and impeller::RoundRect::MakeRectRadii().
| void impeller::interop::DisplayListBuilder::DrawShadow | ( | const Path & | path, |
| const flutter::DlColor & | color, | ||
| float | elevation, | ||
| bool | occluder_is_transparent, | ||
| float | device_pixel_ratio | ||
| ) |
| void impeller::interop::DisplayListBuilder::DrawTexture | ( | const Texture & | texture, |
| const Point & | point, | ||
| flutter::DlImageSampling | sampling, | ||
| const Paint * | paint | ||
| ) |
Definition at line 151 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint(), and impeller::interop::Texture::MakeImage().
| void impeller::interop::DisplayListBuilder::DrawTextureRect | ( | const Texture & | texture, |
| const Rect & | src_rect, | ||
| const Rect & | dst_rect, | ||
| flutter::DlImageSampling | sampling, | ||
| const Paint * | paint | ||
| ) |
Definition at line 162 of file dl_builder.cc.
References impeller::interop::Paint::GetPaint(), and impeller::interop::Texture::MakeImage().
| uint32_t impeller::interop::DisplayListBuilder::GetSaveCount | ( | ) | const |
Definition at line 61 of file dl_builder.cc.
| Matrix impeller::interop::DisplayListBuilder::GetTransform | ( | ) | const |
Definition at line 45 of file dl_builder.cc.
|
delete |
| void impeller::interop::DisplayListBuilder::ResetTransform | ( | ) |
Definition at line 57 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::Restore | ( | ) |
Definition at line 29 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::RestoreToCount | ( | uint32_t | count | ) |
Definition at line 65 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::Rotate | ( | Degrees | angle | ) |
Definition at line 37 of file dl_builder.cc.
References impeller::Degrees::degrees.
| void impeller::interop::DisplayListBuilder::Save | ( | ) |
Definition at line 16 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::SaveLayer | ( | const Rect & | bounds, |
| const Paint * | paint, | ||
| const ImageFilter * | backdrop | ||
| ) |
Definition at line 20 of file dl_builder.cc.
References impeller::interop::ImageFilter::GetImageFilter(), and impeller::interop::Paint::GetPaint().
| void impeller::interop::DisplayListBuilder::Scale | ( | Size | scale | ) |
Definition at line 33 of file dl_builder.cc.
References impeller::TSize< T >::height, and impeller::TSize< T >::width.
| void impeller::interop::DisplayListBuilder::SetTransform | ( | const Matrix & | matrix | ) |
Definition at line 49 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::Transform | ( | const Matrix & | matrix | ) |
Definition at line 53 of file dl_builder.cc.
| void impeller::interop::DisplayListBuilder::Translate | ( | Point | translation | ) |
Definition at line 41 of file dl_builder.cc.
References impeller::TPoint< T >::x, and impeller::TPoint< T >::y.