Commit Graph

28 Commits

Author SHA1 Message Date
Frederic Junod
76a908d00c Split anchor ImageReplay property into anchorX and anchorY 2013-11-21 14:30:55 +01:00
Frederic Junod
db8f476098 Add ol.style.Image.size property 2013-11-21 14:27:04 +01:00
Frederic Junod
c715764680 Change ol.style.Image.anchor property type to ol.Pixel 2013-11-21 14:11:59 +01:00
Tom Payne
f09de84011 Fix typo 2013-11-21 12:31:23 +01:00
Éric Lemoine
c0eb7bb1f6 Store raw style values for ImageReplay 2013-11-21 12:15:38 +01:00
Éric Lemoine
5493543c1f Store raw style values for PolygonReplay 2013-11-21 12:15:37 +01:00
Éric Lemoine
0ccd1ef217 Store raw style values for LineStringReplay 2013-11-21 12:15:37 +01:00
Tom Payne
16957c9833 Only recompute pixel coordinates when transform has changed 2013-11-21 10:04:19 +01:00
Éric Lemoine
1e7266f6b5 Use new ol.style in ol.render.canvas.Replay 2013-11-20 15:35:10 +01:00
Tom Payne
3699510e63 Remove repeated Replay 2013-11-20 11:45:49 +01:00
Tom Payne
adfc56b14c Improve type checking in ol.render.canvas.Replay 2013-11-20 11:45:23 +01:00
Tom Payne
a2603e424f Add text replay skeleton 2013-11-20 11:44:50 +01:00
Tom Payne
d60bc61a72 Allow ol.style.Stroke#width to be undefined 2013-11-20 11:44:49 +01:00
Tom Payne
1ae0e845f8 Allow colors in styles to be strings or arrays 2013-11-20 11:44:48 +01:00
Tom Payne
f9282c90e4 Make instructions responsible for incrementing the instruction index
This paves the way for skipping features (where both the instruction and
data indexes will need to be advanced).
2013-11-20 11:44:46 +01:00
Tom Payne
19758b6268 Rename variables for clarity 2013-11-20 11:44:46 +01:00
Tom Payne
c47dee7b8c Allow fill, image, and stroke in ol.style.Style to be undefined 2013-11-20 11:44:45 +01:00
Tom Payne
16994f1774 Rename ol.render to ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
8434250547 Rename lastDraw to lastStroke and remember last stroke drawn, thanks @elemoine 2013-11-20 11:42:07 +01:00
Tom Payne
a0aad87adf Rename batch to replay 2013-11-20 11:42:04 +01:00
Tom Payne
6052a8ef9f Add dummy implementation of ol.render.canvas.Batch#drawFeature 2013-11-20 11:42:04 +01:00
Tom Payne
d437ec31e7 Add more FIXMEs 2013-11-20 11:42:02 +01:00
Tom Payne
a09f686d5d Return end from ol.render.canvas.LineStringBatch#drawFlatCoordinatess_ 2013-11-20 11:42:02 +01:00
Tom Payne
adf5cd3fd1 Return end from ol.render.canvas.LineStringBatch#drawFlatCoordinates_ 2013-11-20 11:42:02 +01:00
Tom Payne
bc8c328483 Add snapToPixel 2013-11-20 11:42:02 +01:00
Tom Payne
cd82cb2534 Refactor ol.render.transformCoordinates to accept stride 2013-11-20 11:42:01 +01:00
Tom Payne
dab12456ae Factor out ol.render.IRender 2013-11-20 11:42:01 +01:00
Tom Payne
4183d9cdb8 Move ol.replay into ol.render namespace 2013-11-20 11:42:01 +01:00