ahocevar
461256767e
Make pattern fills work on a scaled canvas
2019-03-20 22:25:25 +01:00
ahocevar
b33ceaa400
More efficient default fill color
2019-03-19 13:57:10 +01:00
ahocevar
5857117625
Remove unused ExecutorGroup methods
2019-03-16 21:29:49 +01:00
Frederic Junod
6de566d95b
Set the canvas size to 0 on dispose
2019-03-08 13:25:49 +01:00
Frederic Junod
cd28c8a301
Remove unused 'geometry' param from 'createFill' function
2019-02-22 16:52:32 +01:00
Frederic Junod
79c6cc5159
Remove unused 'geometry' param from '{begin,end}Geometry' functions
2019-02-22 16:45:25 +01:00
ahocevar
09a1c1ef1b
Avoid clipping when rendering to tiles that don't exceed the clip extent
2019-01-24 09:09:22 +01:00
ahocevar
592b6cf362
Keep track of used labels
2019-01-23 21:52:22 +01:00
ahocevar
e37734826c
Release canvas memory faster
2019-01-21 23:04:31 +01:00
Frederic Junod
89ca596eaf
Reduce garbage generation
2019-01-21 10:18:19 +01:00
ahocevar
5389e9675c
Faster extent calculation with less garbage
2019-01-15 00:30:39 +01:00
Olivier Terral
6858a5cde7
Fix module name
2018-12-14 08:57:00 +01:00
Frédéric Junod
e426af29c2
Merge pull request #9056 from fredj/rm_typecast
...
Remove typecast for object literals
2018-12-12 16:25:41 +01:00
Frederic Junod
39a21f177d
Use FeatureLike typedef
2018-12-12 15:03:54 +01:00
Frederic Junod
056568c936
Remove type cast in ol/render/canvas/TextBuilder
2018-12-12 14:47:46 +01:00
Andreas Hocevar
0cda18f58a
Merge pull request #9008 from ahocevar/decouple-group-creation
...
Decouple render instruction creation from rendering
2018-12-07 14:33:54 +01:00
Frederic Junod
b3520f8217
Remove CANVAS_LINE_DASH from ol/has
...
Test if `context.setLineDash` is defined instead.
2018-12-07 13:15:23 +01:00
Niklas Alt
4bc9216e41
Add ': void' to non returning functions (error TS7014)
2018-12-06 19:57:45 +01:00
Niklas Alt
3ef6e39c26
Use camel-cased inheritDoc for consistency
2018-12-03 20:42:03 +01:00
ahocevar
fbf98a44ea
Streamline tile preparation and remove unused code
2018-11-29 22:35:46 +01:00
ahocevar
f4aec3fd01
Remove unused Builder/Executor functions and members
2018-11-25 20:06:37 +01:00
Tim Schaub
8b50c3c6cb
Pass along the ability to measure and cache text width
2018-11-19 15:34:48 -07:00
ahocevar
8d51e0d487
Remove resolved FIXMEs
2018-11-16 13:50:42 +01:00
ahocevar
981b398042
Add a FIXME for the measure function to go away
2018-11-16 13:49:50 +01:00
ahocevar
6cbde797be
Use NaN for unavailable values and handle text creation separately
2018-11-16 13:35:15 +01:00
ahocevar
d3355f613c
Combine if blocks
2018-11-16 13:04:03 +01:00
Guillaume Beraudo
81d0bc21d5
Pass instructions to executor constructor
2018-11-16 12:36:50 +01:00
Guillaume Beraudo
ce44a9a3e4
Final renamings
2018-11-15 23:46:20 +01:00
Guillaume Beraudo
89fed65f07
Fix incorrect Executor/Builder types
2018-11-15 23:27:43 +01:00
Guillaume Beraudo
eaed37da96
Fix width comparison
2018-11-15 20:03:35 +01:00
Guillaume Beraudo
b1a5f4855f
Create geometryWidths array only when needed
2018-11-15 20:03:34 +01:00
ahocevar
94bf02176e
Rename ExecutorGroup and move getMaxExtent to Executor
2018-11-15 20:03:34 +01:00
Guillaume Beraudo
f9dcadb982
Remove unused methods
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
0f5ced8483
Reduce usage of "replay" term
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
87a1b926c9
Cleanup executor of unused properties
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
4ba84d7926
Cleanly separate text building and execution
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
afc946b215
Cleanup duplicated and unused code
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
c0df61468f
Move drawText along line to executor
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
0ece0fb002
Cleanup unused text replay code
2018-11-15 15:20:41 +01:00
ahocevar
4ce19530ce
Remove unused methods
2018-11-15 15:20:41 +01:00
ahocevar
3d203f990e
Move measureTextWidths to render/canvas
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
3170355b07
Remove unused function from executor
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
f5a8ad63f9
Improve typing
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
ba6a6fff7d
Module renaming
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
e299863117
More renaming
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
f3bd08321a
Rename Replay to InstructionsBuilder
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
8097be8419
Remove replay code from Instruction Builder class
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
fcf470fc8d
Introduce Instruction executors
...
Executors are use to render instructions.
They do not contain cod for building instructions.
Signed-off-by: Guillaume Beraudo <guillaume.beraudo@camptocamp.com >
2018-11-15 15:20:41 +01:00
Guillaume Beraudo
ecf79a9ec2
First step in uncoupling replay creation and rendering
...
Signed-off-by: Guillaume Beraudo <guillaume.beraudo@camptocamp.com >
2018-11-15 15:20:41 +01:00
ahocevar
30909ddbcd
When rendering interim tiles, reuse existing replay groups
2018-11-13 16:08:49 +01:00