aboutsummaryrefslogtreecommitdiff
path: root/js/lib/geom/sub-path.js
Commit message (Collapse)AuthorAge
* Use local coordinates to pick a point within the path (works correctly even ↵Pushkar Joshi2012-04-11
| | | | with canvas and/or stage transformation). Dragging does not yet work in case of canvas transformation
* compute and store local coordinates for all anchor points and their control ↵Pushkar Joshi2012-04-10
| | | | handles separately, AND more hit testing with local coordinates
* snapping feedback for pen tool, correct for subpaths that may lie on rotated ↵Pushkar Joshi2012-04-09
| | | | canvas, and with a rotated view
* Don't update the plane matrix of subpaths that already have a plane matrixPushkar Joshi2012-04-06
|
* draw the path overlay (and anchor points) taking into account the ↵Pushkar Joshi2012-04-04
| | | | transformation applied to the element canvas and the stage canvas. Still quite buggy.
* working File I/O for pen tool created paths and some minor bug fixes ↵Pushkar Joshi2012-04-03
| | | | (correctly setting the canvas for brush stroke file I/O, correct plane matrix for file I/O)
* track the canvas top left position instead of the center position to figure ↵Pushkar Joshi2012-04-03
| | | | out when to translate the subpath per canvas translation...this one seems to not drift (no floating point issues uncovered so far)
* First attempt at preventing the drifting of the canvas due to floating point ↵Pushkar Joshi2012-04-03
| | | | roundoff errors when constantly changing stroke width
* render the pen path with local coordinates, but use stage world coordinates ↵Pushkar Joshi2012-04-02
| | | | | | | | | to position the canvas on which the path is rendered AND add data-montage- to the ids in the pen and brush reels AND fix a bug with pen stroke transparency not working
* added cursors to the pen tool UI AND change cursor when the user hovers over ↵Pushkar Joshi2012-03-27
| | | | an anchor point or handles of thte selected anchor
* Almost working version of brush tool that uses only local coordinates to ↵Pushkar Joshi2012-03-23
| | | | store the brush stroke points. Current version does not yet update the width and height of the brush stroke canvas upon changing the brush stroke through the PI. Also, current version does not obtain 3D position of points properly from the drawing tool base (see BrushTool _getUnsnappedPosition)
* update values in the PI from values of the selected brush stroke or pen tool ↵Pushkar Joshi2012-03-15
| | | | path
* turn off the fill color for pen tool paths by defaultPushkar Joshi2012-03-13
|
* merge Valerio's architecture changes into pen toolPushkar Joshi2012-03-06
|
* Squashed commit of preload-fix into MasterValerio Virgillito2012-03-06
- Requiring all the previously pre-loaded files - RDGE, Codemirror and gl-matrix are not included via a script tag. Signed-off-by: Valerio Virgillito <valerio@motorola.com>