Commit graph

546 commits

Author SHA1 Message Date
Andrea Bogazzi
1bbc356393 Optimize use of cache, use standard method to retrieve char width 2015-08-18 12:38:36 +02:00
Andrea Bogazzi
ed3b701712 Removed some itext duplicated code 2015-08-17 17:21:08 +02:00
Andrea Bogazzi
8b491480b4 Optimize _wrapText's use of _measureText 2015-08-17 15:37:42 +02:00
Andrea Bogazzi
ba8e97dd33 Update object.class.js 2015-08-10 15:45:14 +02:00
Juriy Zaytsev
821c29a2da Merge pull request #2401 from asturur/fix-gradient-creation
Fix gradient creation
2015-08-09 20:28:19 -04:00
Andrea Bogazzi
3c132945c2 Update object.class.js 2015-08-10 01:54:17 +02:00
Juriy Zaytsev
7c81f464b8 Merge pull request #2399 from asturur/parse-x-y-svg-atttrs
Parse x y svg attributes
2015-08-09 19:29:59 -04:00
Andrea Bogazzi
66bf218885 Update object.class.js 2015-08-10 01:29:57 +02:00
Andrea Bogazzi
cf19c6f6cc Update parser.js 2015-08-10 01:21:56 +02:00
Juriy Zaytsev
0715f15f28 Merge pull request #2364 from asturur/fix-svgBaseMarkup
Fix svg base markup
2015-08-09 15:49:09 -04:00
Andrea Bogazzi
0edd147b0e Update group.class.js 2015-08-08 14:30:24 +02:00
Juriy Zaytsev
fe087a0ceb Merge pull request #2389 from asturur/fix-double-measu
Removed unnecessary call to ctx.measureText
2015-08-06 10:37:11 -04:00
Andrea Bogazzi
36554dbcaa Update itext.class.js 2015-08-06 09:23:26 +02:00
Andrea Bogazzi
27b5d2b0fd Update textbox.class.js 2015-07-29 13:04:25 +02:00
Andrea Bogazzi
29f601512b Update text.class.js
Removed direct use of __lineWidths
2015-07-28 19:05:21 +02:00
Andrea Bogazzi
22d9f8d62a Update text.class.js 2015-07-22 11:01:45 +02:00
Andrea Bogazzi
76284b27cd Update text.class.js
draft
2015-07-22 10:57:16 +02:00
Juriy Zaytsev
3907853048 Update textbox documenation 2015-07-20 13:56:26 -04:00
Juriy Zaytsev
20e97924f4 Make sure image props are output properly 2015-07-20 13:56:20 -04:00
Juriy Zaytsev
614878d133 Merge pull request #2350 from asturur/exportTransformMa
export Transfor Matrix in toObject
2015-07-20 11:45:08 -04:00
Juriy Zaytsev
aba1b0e8f8 Merge pull request #2347 from asturur/fixes-textbox
Some fixes to textbox
2015-07-20 11:11:59 -04:00
Andrea Bogazzi
215ed8b9b8 Merge pull request #24 from kangax/master
asd
2015-07-20 01:23:17 +02:00
Andrea Bogazzi
8573c755b6 Update object.class.js 2015-07-18 00:50:56 +02:00
Juriy Zaytsev
2171dd1379 Output less irrelevant information in fabric.Image#toObject 2015-07-17 17:42:30 -04:00
Juriy Zaytsev
1499d34b1e Merge pull request #2348 from asturur/fix-pathgroup-parsing
Fix parsing pathgroup dimensions from inner paths
2015-07-17 11:31:42 -04:00
Andrea Bogazzi
21d9ddf9e4 Update path_group.class.js 2015-07-17 17:27:28 +02:00
Andrea Bogazzi
8f14daaba8 Update textbox.class.js 2015-07-17 14:17:53 +02:00
Andrea Bogazzi
d36945f6e2 Update path.class.js 2015-07-15 16:50:25 +02:00
Juriy Zaytsev
8791741c9f Merge pull request #2237 from inssein/textbox
Textbox Implementation - from Jaffer Haider
2015-07-13 18:34:58 -04:00
Andrea Bogazzi
23eff30d1b Update text.class.js 2015-06-26 11:47:04 +02:00
inssein
e7b01abf73 fix CS 2015-06-18 20:06:32 -07:00
inssein
3902442ebf finally installed jscs and ran it to fix all errors 2015-06-16 13:54:03 -07:00
inssein
5daab00d69 fix off by one errors when calculating the offset 2015-06-16 13:19:41 -07:00
inssein
5824a48268 bringing over fixes from application textbox 2015-06-16 10:34:08 -07:00
Hussein Jafferjee
43668e3571 Fix cursor location to include spaces that are removed 2015-06-15 14:01:57 -07:00
Hussein Jafferjee
1db7e953c2 Fix bug in stylemap generation 2015-06-15 13:55:12 -07:00
Hussein Jafferjee
ea81c0f1e9 Account for removed space's at end of line when wrapping 2015-06-12 10:26:36 -07:00
Hussein Jafferjee
c158e311df Update textbox.class.js
Overlooked simple case - do not add word that is too long onto a line that already contains text.
2015-06-12 09:26:21 -07:00
inssein
26bba123af dont wrap when its smaller than a single word. 2015-06-11 20:00:23 -07:00
inssein
079a6f4e30 fix styles when measuring 2015-06-11 10:55:18 -07:00
inssein
7b581b4753 CS 2015-06-11 10:25:43 -07:00
inssein
ce1023e709 whoops 2015-06-11 00:01:37 -07:00
sapics
7e9f17186f just code simpler 2015-06-11 11:16:41 +09:00
inssein
9eb597c729 Use this.styles as if it's not affected by line-wraps. 2015-06-10 17:12:54 -07:00
Andrea Bogazzi
a745e41849 Added rotation logic to getLocalPointer, removed no more usefull getLocalRotatedPointer 2015-06-08 07:59:07 +02:00
inssein
4843a61a84 need to figure out how to get phpstorm to auto format these mistakes 2015-06-03 17:07:42 -07:00
inssein
4987b55ed6 formatted 2015-06-03 16:49:38 -07:00
inssein
bf7f2ea731 1) adjust index when clicking on end of line
2) measure text in a line properly
2015-06-03 16:39:10 -07:00
sapics
e07350c9e7 fix group initialization 2015-06-03 08:45:19 +09:00
inssein
d08dabc2ab forgot setOnGroup additions 2015-05-31 22:45:33 -07:00