#include <image.h>
Public Member Functions | |
| ~CanvasImage () override | |
| Dart_Handle | CreateOuterWrapping () |
| int | width () |
| int | height () |
| Dart_Handle | toByteData (int format, Dart_Handle callback) |
| void | dispose () |
| sk_sp< DlImage > | image () const |
| void | set_image (const sk_sp< DlImage > &image) |
| int | colorSpace () |
Public Member Functions inherited from flutter::RefCountedDartWrappable< CanvasImage > | |
| virtual void | RetainDartWrappableReference () const override |
| virtual void | ReleaseDartWrappableReference () const override |
Public Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| void | Release () const |
Public Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| void | AddRef () const |
| bool | HasOneRef () const |
| void | AssertHasOneRef () const |
Public Member Functions inherited from tonic::DartWrappable | |
| DartWrappable () | |
| virtual const DartWrapperInfo & | GetDartWrapperInfo () const =0 |
| Dart_Handle | CreateDartWrapper (DartState *dart_state) |
| void | AssociateWithDartWrapper (Dart_Handle wrappable) |
| void | ClearDartWrapper () |
| Dart_WeakPersistentHandle | dart_wrapper () const |
Static Public Member Functions | |
| static fml::RefPtr< CanvasImage > | Create () |
Additional Inherited Members | |
Public Types inherited from tonic::DartWrappable | |
| enum | DartNativeFields { kPeerIndex , kNumberOfNativeFields } |
Protected Member Functions inherited from fml::RefCountedThreadSafe< T > | |
| RefCountedThreadSafe () | |
| ~RefCountedThreadSafe () | |
Protected Member Functions inherited from fml::internal::RefCountedThreadSafeBase | |
| RefCountedThreadSafeBase () | |
| ~RefCountedThreadSafeBase () | |
| bool | Release () const |
| void | Adopt () |
Protected Member Functions inherited from tonic::DartWrappable | |
| virtual | ~DartWrappable () |
Static Protected Member Functions inherited from tonic::DartWrappable | |
| static Dart_PersistentHandle | GetTypeForWrapper (tonic::DartState *dart_state, const tonic::DartWrapperInfo &wrapper_info) |
|
overridedefault |
| int flutter::CanvasImage::colorSpace | ( | ) |
Definition at line 47 of file image.cc.
References flutter::ImageEncodingImpeller::GetColorSpace(), and flutter::kSRGB.
|
inlinestatic |
Definition at line 28 of file image.h.
Referenced by flutter::gpu::Texture::AsImage(), flutter::Picture::DoRasterizeToImage(), and flutter::Picture::RasterizeToImageSync().
| Dart_Handle flutter::CanvasImage::CreateOuterWrapping | ( | ) |
Definition at line 33 of file image.cc.
References tonic::DartInvokeField(), and tonic::ToDart().
| void flutter::CanvasImage::dispose | ( | ) |
Definition at line 42 of file image.cc.
References tonic::DartWrappable::ClearDartWrapper().
|
inline |
Definition at line 36 of file image.h.
Referenced by flutter::testing::TEST_F().
|
inline |
Definition at line 42 of file image.h.
Referenced by flutter::Canvas::drawAtlas(), flutter::EncodeImage(), set_image(), flutter::testing::TEST_F(), and flutter::testing::TEST_F().
|
inline |
Definition at line 44 of file image.h.
References FML_DCHECK, and image().
| Dart_Handle flutter::CanvasImage::toByteData | ( | int | format, |
| Dart_Handle | callback | ||
| ) |
Definition at line 38 of file image.cc.
References callback, flutter::EncodeImage(), and format.
|
inline |
Definition at line 34 of file image.h.
Referenced by flutter::testing::TEST_F().