Commit graph

3403 commits

Author SHA1 Message Date
Andrea Bogazzi
d93f91febc Start to cleant setSelections (#3119) 2016-07-31 12:21:52 -04:00
Andrea Bogazzi
948019f622 add object scaling function (#3134)
* add object scaling function

* Update object.class.js
2016-07-30 12:04:38 -04:00
Andrea Bogazzi
9e5f3ab7b9 numeric origin (#3121)
* Numeric object origin add tets
2016-07-25 10:07:50 -04:00
Andrea Bogazzi
9980c83fb9 move the pathCommands out of render
makes easier to override, extend the class.
2016-07-22 11:10:30 +02:00
Andrea Bogazzi
f9782cf788 Update canvas_events.mixin.js 2016-07-22 11:07:29 +02:00
zntus
d4f0b52f18 Fix Rect imported from svg is invisible when display = "none" (#3106) 2016-07-18 10:05:14 +02:00
Andrea Bogazzi
7dad30c156 support style merging from css (#3114)
* supportstylemerging
* added test
2016-07-18 08:56:40 +02:00
Andrea Bogazzi
57439eaded build dist 2016-07-17 12:02:12 +02:00
Andrea Bogazzi
dde9eaa4e3 fix pattern brush (#3112) 2016-07-17 11:55:36 +02:00
Andrea Bogazzi
6601af9340 gradientInfinity (#3082)
* gradientInfinity
* updated tests
2016-07-17 10:31:51 +02:00
Andrea Bogazzi
72a6c273bf remove lastRendered logic (#3111) 2016-07-17 08:35:18 +02:00
Andrea Bogazzi
51995a73d8 fix perPixelTargetFind (#3109) 2016-07-16 17:25:34 +02:00
Andrea Bogazzi
6e1d2e2fd2 fix for lineheight and text selection (#3094) 2016-07-10 23:04:46 +02:00
Andrea Bogazzi
98f2d1b3dd ignore svg namespace (#3081)
* ignore svg namespace
2016-07-03 23:52:25 +02:00
Andrea Bogazzi
725d48771f Bump to 1.6.3 (#3080) 2016-07-03 13:52:08 +02:00
blucobalto
cf95dd45c9 FindTarget patch 1 (#3077)
define pointer before running findTarget
2016-07-03 09:15:09 +02:00
Andrea Bogazzi
4433809cb1 fix lineheight < 1 (#3078) 2016-07-02 19:23:36 +02:00
Kyle Herock
62da4fd6cd Apply viewport transform when calculating isTargetTransparent (#2980) 2016-07-02 10:45:11 +02:00
Andrea Bogazzi
2cd06c915d fix selection background on zoomed canvas (#3076) 2016-07-02 09:07:53 +02:00
Andrea Bogazzi
f1ff91dbc3 Fix targets undefined 2016-07-01 09:50:42 +02:00
Andrea Bogazzi
5166ab76c8 update clear method to clear lastRenderedWithControls (#3058) 2016-06-20 07:32:12 +02:00
Andrea Bogazzi
be8dfae17e Various fixes (#3057)
Fixes hidden textarea positioning, rendering fixes during canvas zoom.
2016-06-19 23:33:54 +02:00
Amila Welihinda
40db6b3f21 Added travis ci for node 6 (#3048) 2016-06-16 12:56:22 +02:00
Andrea Bogazzi
9bfe826de7 add another build option 2016-06-14 14:24:17 +02:00
Andrea Bogazzi
77dab21155 Additional method for centering objects (#3044) 2016-06-11 14:10:20 +02:00
Andrea Bogazzi
9ef51ff77d load from options after the load backroung in the callback (#3029)
moved the load of the custom properties load after the callback
Added tests
2016-06-05 17:08:19 +02:00
Scott Seaward
da42b293d3 Remove reference to lastRenderedWithControls when that object is deleted (#3023) 2016-06-02 11:06:36 +02:00
Andrea Bogazzi
b52ca6ff55 add some failing tests on canvas (#3025) 2016-06-02 10:58:02 +02:00
Andrea Bogazzi
0c6a665bcb Target in group (#2997)
Added gorup.subTargetCheck, fixed transparent target selected on mouse up, fix text grouping while editing
2016-05-31 11:41:02 +02:00
Andrea Bogazzi
5a6b11ef50 introduce a parameter to choose behaviour of background and overlay (#3019)
* introduce a parameter to choose behaviour of background and overlay
2016-05-30 23:33:02 +02:00
Andrea Bogazzi
d4e723e49d update area clearing during rendering (#3016)
* update area clearing during rendering
* register event in correct way
* re render selection or cursor only if selectionStart changes
2016-05-30 23:22:55 +02:00
Andrea Bogazzi
64bf67b0ab remove Textbox instances (#3008) 2016-05-25 15:00:38 +02:00
Andrea Bogazzi
dd3e6a81e2 do not set background or overlay image if the load fails. (#3003) 2016-05-23 14:53:09 +02:00
Andrea Bogazzi
1843581488 Move charWidthCache from iText to fabric, allow single cache for font. (#2995)
divided cache in a single font cache objects, added method for clearing one font cache.
2016-05-23 08:16:59 +02:00
Andrea Bogazzi
dd0b9f63d3 fix multi line selection regression introduced with #2996 2016-05-21 16:07:00 +02:00
Andrea Bogazzi
dfb5e4e903 Clear only the itext area top context when animating cursor or selection (#2996) 2016-05-21 15:29:26 +02:00
Andrea Bogazzi
cfe0e27d19 Update itext_behavior.mixin.js 2016-05-21 15:15:44 +02:00
Andrea Bogazzi
eb9b7f45b9 Add ID to svg export (#2993) 2016-05-21 15:07:04 +02:00
Andrea Bogazzi
489230bdf5 add callback with null argument to failed xml load (#2994) 2016-05-21 14:34:17 +02:00
Andrea Bogazzi
f425966162 give text its own dimension function (#2992)
* give text its own dimension function
* updated tests after verifying that the svg import from element is better than previous
2016-05-21 13:05:59 +02:00
Andrea Bogazzi
e8a530019f remove deadcode (#2984) 2016-05-19 21:39:06 +02:00
Andrea Bogazzi
143c0758a7 add excludeFromExport property (#2976)
* add excludeFromExport property
* added test for SVG and JSON
2016-05-17 12:56:34 +02:00
Andrea Bogazzi
a0ba49ea5d Use reviver also for background and overlay image in svg export (#2975)
* Use reviver also for background and overlay image
2016-05-17 02:56:25 +02:00
Andrea Bogazzi
830838b037 Fix export of colors alwaus in rgb + eventually opacity. 2016-05-16 17:22:05 +02:00
Andrea Bogazzi
38bebc2fcb bump to 1.6.2 and build dist (#2973) 2016-05-15 23:59:26 +02:00
Andrea Bogazzi
11fd746c1e Use scaled canvas dimensions (#2972) 2016-05-15 13:07:32 +02:00
Andrea Bogazzi
0297041e2f Fix iText space width justification (#2971) 2016-05-15 12:04:02 +02:00
Andrea Bogazzi
cb0c71e1fe * Remove rounding for minScaleLimit, added test.
* Remove rounding for minScaleLimit
2016-05-14 18:38:48 +02:00
Morton Fox
a26b29b0da Fix the links to Kitchensink demo 2016-05-11 08:08:54 +02:00
Andrea Bogazzi
56ef2d2612 Update svg export to do not output colors in rgba format. 2016-05-09 12:41:48 +02:00