Add nativeImage.createEmpty()
This commit is contained in:
parent
8093300a43
commit
b9f6d6dffc
3 changed files with 11 additions and 0 deletions
|
@ -23,6 +23,7 @@ namespace api {
|
|||
|
||||
class NativeImage : public mate::Wrappable {
|
||||
public:
|
||||
static mate::Handle<NativeImage> CreateEmpty(v8::Isolate* isolate);
|
||||
static mate::Handle<NativeImage> Create(
|
||||
v8::Isolate* isolate, const gfx::Image& image);
|
||||
static mate::Handle<NativeImage> CreateFromPNG(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue