Commit Graph

32 Commits

Author SHA1 Message Date
Mikael Sand
bd84f09a96 Implement correct path measurement, matrix calculation, getTextAnchorShift, startOffset.
Add method and spacing attributes to textPath.
Correct startOffset calculation.
Implement method="stretch".
2017-06-22 17:02:30 +03:00
Mikael Sand
dac969b944 First letterSpacing implementation attempt 2017-06-20 22:04:41 +03:00
Mikael Sand
155fa4b6ae Implement support for em in dx and dy attributes and font props for G element 2017-06-20 03:15:01 +03:00
Mikael Sand
e9747bee01 Revert 6b95d1a 2017-06-13 12:43:32 +03:00
fxwan
67e072307c remove the y check 2017-06-05 16:54:25 +03:00
fxwan
6b95d1a33c Fix text position on Y-axis, we should take fontSize in mind to layout the Text/TSpan shapes, SVG coord tes case https://www.w3.org/TR/SVG/images/coords/OrigCoordSys.svg 2017-06-05 16:54:25 +03:00
Horcrux
bbe1964a42 Fix #284 2017-04-04 12:30:53 +08:00
Horcrux
5bd9b40c17 refactor Components props extracting 2017-02-03 19:43:25 +08:00
Horcrux
43e45b95c5 Fix #231 2017-01-16 21:01:12 +08:00
Horcrux
58823495d6 Fix #228 2017-01-15 20:17:21 +08:00
Horcrux
13e7595ab5 Remove unused files 2017-01-14 00:30:49 +08:00
Horcrux
b15d0791e0 Add startOffset support 2017-01-10 12:30:48 +08:00
Horcrux
84ea887a06 Finish TextPath
Finish TextPath step two: add `dy` support
2017-01-09 20:48:33 +08:00
Horcrux
52dfe21074 Implement TextPath: first step (iOS) 2017-01-09 20:16:20 +08:00
Horcrux
aae482236d Finish TSpan 2016-11-11 00:48:55 +08:00
Horcrux
da32b1bb96 Temp commit 2016-11-05 18:42:49 +08:00
Horcrux
5f4ff90c2a finish basic Text features on iOS 2016-09-17 17:14:31 +08:00
Horcrux
a37c3ceee6 finish basic text support on iOS 2016-09-17 15:42:27 +08:00
Horcrux
d549f6ca9c clean up unused code 2016-09-17 09:49:28 +08:00
Horcrux
09c5b10f02 convert span frames into Span components 2016-09-17 00:20:18 +08:00
Horcrux
ad196a7071 finish Text props extract refactoring 2016-09-16 23:59:38 +08:00
Horcrux
74b9917bd3 flattern text into several spans
flattern text into several spans (step 1, not finish yet)
2016-09-02 10:24:33 +08:00
Horcrux
bd26c04a1d first step of TSpan 2016-08-30 09:37:38 +08:00
Horcrux
60654b7583 remove ART related comment 2016-08-13 17:03:54 +08:00
Horcrux
6ebd928ab4 fix Text cannot handle touch events bug 2016-08-06 23:17:38 +08:00
Horcrux
7e13b801e1 refactor text render
Support G inherit props.
Refactor text render. Text glyphs will perfectly draw along the path
2016-07-22 23:49:15 +08:00
Horcrux
cbce096b5c Use eslint, add travis-ci 2016-05-04 17:54:30 +08:00
Horcrux
be8c273adf Add eslint 2016-05-04 11:24:13 +08:00
Horcrux
902bdcb1d0 fix text context and complete gradient js code 2016-04-26 22:08:54 +08:00
Horcrux
24dcc83a80 complete basic shapes(ios) 2016-04-26 19:10:57 +08:00
Horcrux
05faac3cf1 add some android support
add path for Text
add stroke pattern
add text dashed and fix dasharray bug
2016-04-23 14:44:48 +08:00
Horcrux
fa1aea094a add clipping js code 2016-04-21 15:44:25 +08:00