This commit is contained in:
Paul Betts 2016-03-13 20:18:03 -07:00
parent 5dea4b9b1c
commit 7233c83874
2 changed files with 14 additions and 9 deletions

View file

@ -61,7 +61,9 @@ class NativeImage : public mate::Wrappable {
private:
v8::Local<v8::Value> ToPNG(v8::Isolate* isolate);
v8::Local<v8::Value> ToJPEG(v8::Isolate* isolate, int quality);
v8::Local<v8::Value> AsNativeRepresentation(v8::Isolate* isolate, mate::Arguments* args);
v8::Local<v8::Value> AsNativeRepresentation(
v8::Isolate* isolate,
mate::Arguments* args);
std::string ToDataURL();
bool IsEmpty();
gfx::Size GetSize();