summaryrefslogtreecommitdiff
path: root/platform/ios/src/UIImage+MGLAdditions.h
Commit message (Collapse)AuthorAgeFilesLines
* [ios, macos] Improve snap shotter documentation. (#10020)Fabian Guerra Soto2017-10-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * [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.
* [ios] extend ui image additions with init from premultiplied imageIvo van Dongen2017-09-051-0/+2
|
* [iOS][macOS] Export `MGLImageSource`, add and update documentation. Use ↵Asheem Mamoowala2017-06-191-1/+1
| | | | animated ImageSource demo in iOS test app
* [iOS][macOS] Add ImageSource bindingsAsheem Mamoowala2017-06-191-0/+2
|
* [core, node, darwin, android, qt] Make image ID part of ImageJohn Firebaugh2017-05-161-1/+1
| | | | More like Source and Layer.
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-3/+3
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [core, ios, macos] Add image accessor to MGLStyle (#7096)Roman Blum2016-12-051-0/+6
| | | | | | | | | | | | * [core] Add interface to get image from sprite atlas * [tests] Add tests for Map::getImage * [ios, macos] WIP: get MGLImage for name from style * [ios, macos] Fixed -imageForName: Convert from sprite images to platform images using the existing encodePNG() function, which is also used for printing. Allow -imageForName: to return nil without an assertion failure. Added a basic test.
* [ios, macos] possibility to set custom images to style (#6637)Roman Blum2016-10-121-0/+9
* [ios, macos] possibility to set custom images to style * [ios, macos] setImage:forName now supports MGLImage (UIImage/NSImage) * [ios, macos] update documentation for setImage:forName: and removeImageForName: * [ios, macos] rename method and fix prefix * [ios, macos] change header visibility to project * [ios, macos] update header imports * [ios, macos] delete unnecessary whitespaces * [ios, macos] remove unnecessary nil checks * [ios, macos] delete unnecessary whitespaces * [ios, macos] update documentation * [ios, macos] make mgl_spriteImage a parameter-less instance method * [ios, macos] add asserts