Commit Graph

226 Commits

Author SHA1 Message Date
Tom Payne
4e3221810a Add immediate rendering of text 2013-11-20 11:44:50 +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
1757a62905 Move transformGeometry2D back into ol.geom 2013-11-20 11:44:44 +01:00
Tom Payne
16994f1774 Rename ol.render to ol.geom.flat 2013-11-20 11:44:44 +01:00
Tom Payne
cd9b52572a Replace ol.geom.GeometryType with ol.geom.Type 2013-11-20 11:42:09 +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
a17560ade3 Only draw features and geometries that are visible 2013-11-20 11:42:05 +01:00
Tom Payne
c5de1db9e6 Rename render to immediate 2013-11-20 11:42:05 +01:00
Tom Payne
a0aad87adf Rename batch to replay 2013-11-20 11:42:04 +01:00
Tom Payne
e36681db75 Export ol.render.canvas.Render methods 2013-11-20 11:42:04 +01:00
Tom Payne
d2806df92b Add ol.render.canvas.Render#drawFeature 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
7efae6e00c Ccomplete ol.render.canvas.Render 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
8c3c304497 Add incomplete ol.render.canvas.Render 2013-11-20 11:42:01 +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