summaryrefslogtreecommitdiff
path: root/include/mbgl/util/size.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Update shaders.Chris Loer2017-07-121-0/+4
| | | | | Implements 'icon-pitch-alignment' (issue #9345) Fixes issue #9456 (map-aligned point label regression)
* [core] Updated Size::isEmpty and TransformState::valid checksBruno de Oliveira Abinader2017-04-101-6/+5
|
* [core] Make Image saferJohn Firebaugh2017-02-141-0/+4
| | | | | | Provide Image::copy, which handles copying rectangles from a source to a destination, with thorough bounds checking. Also fixes an indexing error in SpriteAtlas, where the top row of pixels in a wrapped image was copied from the wrong source row.
* [core] operator bool() must always be explicitJohn Firebaugh2016-10-281-1/+1
| | | | Otherwise, it can participate in unexpected conversions. Case in point: GlyphSet::insert was comparing the result of GlyphMetrics::operator bool() where it wanted to use operator==.
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-0/+32