Support toDataURL without 1x representation
This commit is contained in:
parent
8eaf48e552
commit
0bbbeb307e
3 changed files with 14 additions and 6 deletions
|
@ -83,6 +83,7 @@ class NativeImage : public mate::Wrappable<NativeImage> {
|
|||
const gfx::Rect& rect);
|
||||
std::string ToDataURL();
|
||||
bool IsEmpty();
|
||||
bool HasRepresentation(float scale_factor);
|
||||
gfx::Size GetSize();
|
||||
float GetAspectRatio();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue