summaryrefslogtreecommitdiff
path: root/src/mbgl/text/quads.hpp
Commit message (Collapse)AuthorAgeFilesLines
* Bump Mapbox GL Nativeqt-v1.1.0Thiago Marcos P. Santos2017-08-091-22/+28
| | | | mapbox-gl-native @ edd7948893fcd40a24d96b790e21d3dd028cecbe
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-171-6/+3
| | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* [core] change bool *AlongLine to SymbolPlacementTypeKonstantin Käfer2016-09-071-2/+3
|
* Support for icon-text-fit, icon-text-fit-padding (#5334)Young Hahn2016-06-151-1/+1
| | | | | | | | | | * Add support for icon-text-fit * Port unit tests for getIconQuads() from js => cpp * Add support for padding in all 4 directions. * Update all hashes post-merge
* [tidy] Check modernize-pass-by-valueBruno de Oliveira Abinader2016-06-131-9/+8
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/modernize-pass-by-value.html
* [tidy] Check llvm-namespace-commentBruno de Oliveira Abinader2016-06-131-1/+1
| | | | Ref: http://clang.llvm.org/extra/clang-tidy/checks/llvm-namespace-comment.html
* [core] *Tile ↔ *TileDataJohn Firebaugh2016-06-131-1/+1
| | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
* text-pitch-alignment (#5288)Young Hahn2016-06-101-3/+4
| | | | | | | | | | | | * First pass at port of https://github.com/mapbox/mapbox-gl-js/pull/2668 * RotationAlignmentType => AlignmentType * Handle undefined default value for text-pitch-alignment and implement inheritance for this value from text-rotation-alignment * Update dependencies * Move handling fo undefined default value out of camelize functions
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-35/+39
|
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Use geometry.hpp's pointJohn Firebaugh2016-05-051-6/+5
|
* [core] Coordinate is now GeometryCoordinateBruno de Oliveira Abinader2016-03-011-2/+3
| | | | | Also introduced GeometryCoordinates (vector of GeometryCoordinate items), to better cope with GeometryCollection.
* [core] add namespace comment to closing braceKonstantin Käfer2015-12-031-1/+1
|
* [core] Rationalize style property classes: <type>{Paint,Layout}PropertiesJohn Firebaugh2015-10-221-6/+6
|
* port minor collision code cleanup, fix #1705Ansis Brammanis2015-08-241-3/+3
| | | | https://github.com/mapbox/mapbox-gl-js/pull/1261
* remove old symbol collision typesAnsis Brammanis2015-04-021-4/+28
|
* split generating symbol quads from collision codeAnsis Brammanis2015-03-311-0/+24
Collision prevention is temporarily disabled.