Commit Graph

80 Commits

Author SHA1 Message Date
Horcrux
d1afb78da0 Add preserveAspectRatio prop for Image
Add preserveAspectRatio prop for Image.
Fix touch events for Image on Android.
Fix viewBox slice bug on Android.
2016-08-13 14:03:08 +08:00
Horcrux
e747cc82a6 Add support to base64 data from svg
use `svgRef.toDataURL(function (base64) {console.log(base64);});` to get
base64 data of svgRef
2016-08-12 11:13:27 +08:00
Horcrux
857b5f5207 Fix Image not rendering the first time svg is displayed
Fix Image not rendering the first time svg is displayed
Add toDataURL method for Svg elements for Android (not finished yet)
2016-08-11 16:27:15 +08:00
Horcrux
76a3e8e32d add toDataURL method for svg elements
Add toDataURL method for svg elements to get data64 data  of svg.(iOS)
Add example for this.
2016-08-10 16:54:48 +08:00
Horcrux
7c01f07fca Add pan responder example 2016-08-07 00:32:07 +08:00
Horcrux
6ebd928ab4 fix Text cannot handle touch events bug 2016-08-06 23:17:38 +08:00
Horcrux
43de62650b fix memory leaks 2016-08-06 22:57:15 +08:00
Horcrux
7f4eb47f81 fix touch events within the elements which are nested in G 2016-08-06 21:37:58 +08:00
Horcrux
e9ff8dc86a fix missing circle word 2016-08-06 10:04:04 +08:00
Horcrux
9cd092c918 Add Example to draw a pie by stroke with circle 2016-08-06 09:45:47 +08:00
Horcrux
72ca2cc573 Add nested G on touchEvents Example 2016-08-06 09:29:38 +08:00
Horcrux
076e6c1304 modify the examples 2016-08-05 17:04:08 +08:00
Horcrux
5482a667ca Add G touch events on Android 2016-08-01 13:38:46 +08:00
Horcrux
6c7c2fdf3f Add touch events support for G elements 2016-07-31 22:01:14 +08:00
Horcrux
ab064d86e0 fix #84 2016-07-27 18:10:40 +08:00
Horcrux
f2ee72bb76 Improve examples and document 2016-07-27 11:34:42 +08:00
Horcrux
28fa1cd091 refactor gradients on Android merge #86 into branch 2016-07-26 17:17:48 +08:00
Horcrux
9888a1adf2 add viewBox support for android 2016-07-26 11:37:31 +08:00
Horcrux
cbea7a4edb finish Symbol refactor
finish Symbol refactor
finish all reusable elements refactor (iOS)
2016-07-24 11:41:00 +08:00
Horcrux
10b28434bb refactor viewBox for svg 2016-07-23 23:44:26 +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
16a1f89bf6 fix radial gradient memory leak 2016-07-21 18:45:30 +08:00
Horcrux
5ee5c2239a fix memory leak issue with CGMutablePathRef 2016-07-21 18:22:23 +08:00
Horcrux
ff2395bcc2 finish gradients refactor 2016-07-20 22:38:45 +08:00
Horcrux
18e1b60823 complete ClipPath refactor 2016-07-20 14:44:19 +08:00
Horcrux
dd6cb80e84 refactor Use and Defs element with native code support(iOS) 2016-07-19 23:09:51 +08:00
Horcrux
efa7363b6f Add setNativeProps method for most of elements 2016-07-18 18:34:54 +08:00
Horcrux
df32c3a910 fix the example title 2016-06-11 00:54:43 +08:00
Horcrux
1e0107f9ea Add touchable examples 2016-06-11 00:50:25 +08:00
Horcrux
fd5a91399f fix #51
fix #51
2016-06-08 21:21:01 +08:00
Horcrux
329629ae21 fix lint warning 2016-05-21 21:07:26 +08:00
Horcrux
6a0c47a898 refactor clipPath native code
refactor clipPath native code
add strokeMiterlimit prop support
2016-05-21 19:58:49 +08:00
Horcrux
404bdf3782 fix clip bug 2016-05-21 16:21:54 +08:00
Horcrux
1f7a908406 checkout new branch for touch events support 2016-05-14 09:52:14 +08:00
Horcrux
91c6115e6e Fix #32
Fix #32  (G elements context bug)
2016-05-13 11:50:03 +08:00
Horcrux
ec67d4dae8 fix #33
fix #33
2016-05-13 11:15:05 +08:00
Horcrux
b81eba5684 Add text path for iOS
Add text path for iOS
Add clipPath Text support (iOS)
2016-05-13 10:00:47 +08:00
Horcrux
0b887bccf5 add Image element (iOS) 2016-05-05 18:50:22 +08:00
Horcrux
cbce096b5c Use eslint, add travis-ci 2016-05-04 17:54:30 +08:00
Horcrux
69ad9114c6 move SerializablePath dependency to local lib
move SerializablePath dependency  to local lib
fix issue #29
2016-05-03 11:41:07 +08:00
Horcrux
5008457ba6 fix percentage bug, add Svg element flex layout support 2016-04-29 21:26:04 +08:00
Horcrux
fa751e31b0 complete ClipPath element on iOS 2016-04-27 23:14:15 +08:00
Horcrux
6ad74e3287 Revert "Revert "change circle radius percentage calculation""
This reverts commit f717d8bd93.
2016-04-27 16:49:23 +08:00
Horcrux
f717d8bd93 Revert "change circle radius percentage calculation"
This reverts commit 99ab08db25.
2016-04-27 16:49:10 +08:00
Horcrux
99ab08db25 change circle radius percentage calculation
Change circle radius  percentage calculation.
Add example for percentage props for shape.
Remove unused document ref
2016-04-27 16:45:58 +08:00
Horcrux
c2359616bf complete elements percentage props support
Support Rect, Circle, Line, Ellipse percentage props
And support percentage props for gradients
2016-04-27 16:09:38 +08:00
Horcrux
902bdcb1d0 fix text context and complete gradient js code 2016-04-26 22:08:54 +08:00
Horcrux
1baf00c034 fix ellipse draw bug and fix shape props context 2016-04-26 21:04:54 +08:00
Horcrux
24dcc83a80 complete basic shapes(ios) 2016-04-26 19:10:57 +08:00
Horcrux
7d37cde40d Add polyline strokeLinecap strokeLinejoin example 2016-04-24 00:24:15 +08:00