aboutsummaryrefslogtreecommitdiff
path: root/js/tools
Commit message (Collapse)AuthorAge
* 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
* improved comment about plane matrix (no real change)Pushkar Joshi2012-04-06
|
* Don't update the plane matrix of subpaths that already have a plane matrixPushkar Joshi2012-04-06
|
* code cleanup and working version of selected path anchor point and overlay ↵Pushkar Joshi2012-04-06
| | | | display for new paths
* complete version of the code for rendering selected subpath anchor points ↵Pushkar Joshi2012-04-06
| | | | and path overlay (code needs cleanup)...still buggy if creating new paths
* Merge branch 'master' into pentoolPushkar Joshi2012-04-04
|\ | | | | | | | | Conflicts: js/tools/PenTool.js
| * Squashed commit of Preparing for the montage undo-manager: Architecture changesValerio Virgillito2012-04-04
| | | | | | | | | | | | | | | | | | Reworked the add and remove elements into 1 function which can take 1 or more elements. Removed the _element from the selection array Many other changes related to those 2 changes Undo/Redo shortcuts are now using montage undo/redo manager. Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* | 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
* | adjust the position for the pen tool feedback cursor AND fix a bug where ↵Pushkar Joshi2012-03-28
| | | | | | | | everything selected gets deleted (even if we have a selected subpath)
* | change cursors for pen tool realtime feedback....still need to position the ↵Pushkar Joshi2012-03-28
| | | | | | | | cursors correctly over the exact mouse position AND reduce the radius (distance threshold) for picking paths
* | Merge branch 'brushtool' into pentoolPushkar Joshi2012-03-28
|\|
| * Merge branch 'master' into brushtoolPushkar Joshi2012-03-28
| |\
| | * Merge pull request #145 from ericguzman/PresetsPIValerio Virgillito2012-03-28
| | |\ | | | | | | | | Presets - Adding presets controller
| | | * Text Tool - Remove inline style from user documentEric Guzman2012-03-27
| | | |
* | | | 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
* | | Merge branch 'master' into brushtoolPushkar Joshi2012-03-27
|\| |
| * | Check for webGLWorld before calling draw.Nivesh Rajbhandari2012-03-27
| | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| * | Handle no-color/null.Nivesh Rajbhandari2012-03-26
| | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| * | Updating EyeDropper tool to support new JSON data format for WebGL.Nivesh Rajbhandari2012-03-26
| |/ | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* | Merge branch 'master' into brushtoolPushkar Joshi2012-03-27
|\| | | | | | | | | Conflicts: js/controllers/elements/shapes-controller.js
| * Squashed commit of SnapManagerFixesValerio Virgillito2012-03-16
| | | | | | | | Signed-off-by: Valerio Virgillito <valerio@motorola.com>
* | correctly update the brush stroke canvas size and position when the stroke ↵Pushkar Joshi2012-03-23
| | | | | | | | size is changed (does not yet work when smoothing is applied) AND select the newly created brush stroke by default
* | 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)
* | revert to using the angle without flipping its sign...fixing some minor bugs ↵Pushkar Joshi2012-03-20
| | | | | | | | | | | | and code cleanup GOOD status before doing 3D unprojection step
* | draw the brush stroke in realtimePushkar Joshi2012-03-19
| |
* | update values in the PI from values of the selected brush stroke or pen tool ↵Pushkar Joshi2012-03-15
| | | | | | | | path
* | PI for pen and brush strokesPushkar Joshi2012-03-14
| |
* | Merge branch 'pentool' into brushtoolPushkar Joshi2012-03-13
|\|
| * Merge branch 'master' into pentoolPushkar Joshi2012-03-13
| |\
| | * Merge pull request #110 from mqg734/WebGLFixesValerio Virgillito2012-03-13
| | |\ | | | | | | | | Gradient Support for Shapes and Eyedropper support for gradients. Also fixed 3d bug when moving multiple selections in 3d using the Selection Tool
| | | * Fixed element mediator, PI, and eye-dropper to handle different borders ↵Nivesh Rajbhandari2012-03-12
| | | | | | | | | | | | | | | | | | | | | | | | sides and gradients. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| | | * Fixing selection tool when moving multiple selection in 3d mode.Nivesh Rajbhandari2012-03-09
| | | | | | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| | | * Eyedropper support for getting color value from webgl shapes.Nivesh Rajbhandari2012-03-09
| | | | | | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| | | * Eyedropper now supports strokes in rectangle shapes.Nivesh Rajbhandari2012-03-07
| | | | | | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| | | * Merge branch 'refs/heads/ninja-internal' into WebGLFixesNivesh Rajbhandari2012-03-06
| | | |\
| | | * | Create drag plane parallel to working plane and offset by where the user ↵Nivesh Rajbhandari2012-03-06
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | clicked in z. Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| | | * | Do not use transform code if transform mode is off.Nivesh Rajbhandari2012-03-05
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
| | | * | We should show snap marker on mouse move even if user hasn't moused down yet.Nivesh Rajbhandari2012-03-02
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
* | | | | Add a smoothing amount parameter, and hide options based on checkboxesPushkar Joshi2012-03-13
|/ / / /
* / / / turn off the fill color for pen tool paths by defaultPushkar Joshi2012-03-13
|/ / /
* | | bug fixes for spline interpolationPushkar Joshi2012-03-12
| | | | | | | | | | | | | | | | | | | | | AND Laplacian smoothing for denoising AND code cleanup (removing blocks of commented code)
* | | brush stroke options for calligraphic brush stylePushkar Joshi2012-03-08
| | |
* | | implement stroke hardness such that it is percentage of the stroke width ↵Pushkar Joshi2012-03-07
| | | | | | | | | | | | | | | | | | | | | that's fully the color of the brush AND add a smoothing flag for the brush options
* | | Merge branch 'master' into pentoolPushkar 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>