#include "flutter/skwasm/export.h"#include "flutter/skwasm/images.h"#include "flutter/skwasm/live_objects.h"#include "flutter/skwasm/skwasm_support.h"#include "flutter/skwasm/surface.h"#include "flutter/skwasm/wrappers.h"Go to the source code of this file.
Functions | |
| SKWASM_EXPORT flutter::DlImage * | image_createFromPicture (flutter::DisplayList *display_list, int32_t width, int32_t height) |
| SKWASM_EXPORT flutter::DlImage * | image_createFromPixels (SkData *data, int width, int height, Skwasm::PixelFormat pixel_format, size_t row_byte_count) |
| SKWASM_EXPORT flutter::DlImage * | image_createFromTextureSource (SkwasmObject texture_source, int width, int height, Skwasm::Surface *surface) |
| SKWASM_EXPORT void | image_ref (flutter::DlImage *image) |
| SKWASM_EXPORT void | image_dispose (flutter::DlImage *image) |
| SKWASM_EXPORT int | image_getWidth (flutter::DlImage *image) |
| SKWASM_EXPORT int | image_getHeight (flutter::DlImage *image) |
| SKWASM_EXPORT flutter::DlImage * image_createFromPicture | ( | flutter::DisplayList * | display_list, |
| int32_t | width, | ||
| int32_t | height | ||
| ) |
Definition at line 12 of file image.cc.
References height, Skwasm::live_image_count, Skwasm::MakeImageFromPicture(), and width.
| SKWASM_EXPORT flutter::DlImage * image_createFromPixels | ( | SkData * | data, |
| int | width, | ||
| int | height, | ||
| Skwasm::PixelFormat | pixel_format, | ||
| size_t | row_byte_count | ||
| ) |
Definition at line 20 of file image.cc.
References data, height, Skwasm::live_image_count, Skwasm::MakeImageFromPixels(), and width.
| SKWASM_EXPORT flutter::DlImage * image_createFromTextureSource | ( | SkwasmObject | texture_source, |
| int | width, | ||
| int | height, | ||
| Skwasm::Surface * | surface | ||
| ) |
Definition at line 32 of file image.cc.
References height, Skwasm::live_image_count, Skwasm::MakeImageFromTexture(), surface, and width.
| SKWASM_EXPORT void image_dispose | ( | flutter::DlImage * | image | ) |
Definition at line 47 of file image.cc.
References image, and Skwasm::live_image_count.
| SKWASM_EXPORT int image_getHeight | ( | flutter::DlImage * | image | ) |
| SKWASM_EXPORT int image_getWidth | ( | flutter::DlImage * | image | ) |
| SKWASM_EXPORT void image_ref | ( | flutter::DlImage * | image | ) |
Definition at line 42 of file image.cc.
References image, and Skwasm::live_image_count.