diff options
author | Fabian Guerra Soto <fabian.guerra@mapbox.com> | 2017-10-04 10:03:03 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 10:03:03 -0400 |
commit | f01588cac78b5e5411385faa451080a74320500b (patch) | |
tree | 1f0540cf5c71475f0ae6714d70b909338fed9b5f /platform/ios/src/UIImage+MGLAdditions.h | |
parent | 6a846ce5a8ff1d62f4eafa3ef5bd0427096ca9e6 (diff) | |
download | qtlocation-mapboxgl-f01588cac78b5e5411385faa451080a74320500b.tar.gz |
[ios, macos] Improve snap shotter documentation. (#10020)
* [ios, macos] Improve snap shotter documentation.
* [macos] Save snapshots in correct format
* [macos] Renamed snapshot item to Export Image
* [ios, macos] Clarify Snapshotter documentation.
* [ios] Fix snapshot scale
* [macOS] Fix snapshotter 4x scaling.
* [ios] Fix snapshotter final image scale.
* [ios, macos] Update snapshotter size documentation.
* [ios, macos] Throw an exception when the snapshotter has already started.
* [ios, macos] Add snapshotter header example.
* [ios, macos] Use one of the predefined Foundation's exception names.
Diffstat (limited to 'platform/ios/src/UIImage+MGLAdditions.h')
-rw-r--r-- | platform/ios/src/UIImage+MGLAdditions.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/ios/src/UIImage+MGLAdditions.h b/platform/ios/src/UIImage+MGLAdditions.h index 3c179d6324..22bb740242 100644 --- a/platform/ios/src/UIImage+MGLAdditions.h +++ b/platform/ios/src/UIImage+MGLAdditions.h @@ -8,7 +8,7 @@ NS_ASSUME_NONNULL_BEGIN - (nullable instancetype)initWithMGLStyleImage:(const mbgl::style::Image *)styleImage; -- (nullable instancetype)initWithMGLPremultipliedImage:(const mbgl::PremultipliedImage&&)mbglImage; +- (nullable instancetype)initWithMGLPremultipliedImage:(const mbgl::PremultipliedImage&&)mbglImage scale:(CGFloat)scale; - (std::unique_ptr<mbgl::style::Image>)mgl_styleImageWithIdentifier:(NSString *)identifier; |