Nikolay Demyankov
ef8b687ff0
Fix retain cycle for the textRoot property.
2018-03-14 15:31:02 +01:00
Nikolay Demyankov
26964598fc
Fix retain cycle for nested views.
2018-03-14 11:05:20 +01:00
Ben Roth
b217dcaff8
Prefix iOS symbols with RNSVG
...
fixes https://github.com/react-native-community/react-native-svg/issues/603
2018-02-14 19:04:32 -08:00
Mikael Sand
310fbed841
Fix image rendering
2018-01-03 20:30:36 +02:00
Mikael Sand
f07e8f041c
Allow TextPath to reference any RNSVGNode instead of only RNSVGPath.
...
Remove unused RNSVGTextAnchor
2017-12-30 03:35:58 +02:00
Mikael Sand
7088d52b71
Refactor and simplify, cache path properties.
...
Remove use of UIBezierPath and categories.
2017-12-29 23:04:24 +02:00
Mikael Sand
ec2a967592
Implement getAlignmentBaseline and getBaselineShift in ios. ( #527 )
...
* Implement correct transform parser
* Implement getAlignmentBaseline and getBaselineShift in ios.
Add comments to glyphcontext and align with android.
Implement correct isWordSeparator predicate.
Cleanup GlyphContext j2objc remnants.
* Fix getBaselineShift bugs and font data invalidation.
2017-12-16 08:57:53 -08:00
Horcrux
7474c90957
Fix image render
2017-11-08 12:25:39 +08:00
Horcrux
75786787e9
Fix Image in iOS
2017-11-08 01:34:53 +08:00
Horcrux
5b2972f8f6
Fix Symbol position
2017-11-08 01:14:45 +08:00
Mikael Sand
04887af278
Implement kerning, ligatures, etc., and cleanup; in ios.
...
Implement hasGlyph ligature helper.
Export view property setters for:
text: textLength, baselineShift, lengthAdjust, alignmentBaseline,
textPath: side, method, midLine, spacing.
Attempt to fix alignmentBaseline and baselineShift,
but both properties are nil at all times, I must be missing something.
2017-08-29 02:34:56 +03:00
Mikael Sand
13d5157fc1
Cleanup.
2017-08-23 16:22:49 +03:00
Mikael Sand
ccb8729917
Port new GlyphContext, FontData, enums, props, Bezier and text rendering
2017-08-23 05:41:35 +03:00
Mikael Sand
3cafc34cb2
Fix ViewBox, images, transforms, and, gradients; on ios.
...
Make getContextWidth/Height and setupGlyphContext take clip bounding box and affine transform matrix into consideration.
2017-08-16 19:06:23 +03:00
Mikael Sand
f1657d9ddf
Prepare for new GlyphContext.
2017-08-15 19:50:50 +03:00
Horcrux
9df76e5668
Use Image.propTypes.source as href propType
2017-04-04 10:45:54 +08:00
Horcrux
cad8d8902b
Merge pull request #216 from gpminsuk/master
...
Data URI support for href in react-native-svg Image tag
2017-04-04 10:41:35 +08:00
Horcrux
c91d333950
saveDefinition => parseReference
2017-02-04 11:18:10 +08:00
Horcrux
cfaca8b3cb
Add gradientUnits support
2017-01-24 22:24:36 +08:00
Horcrux
42c626dbfb
Fix G renderable props
2017-01-22 23:10:23 +08:00
Horcrux
777b3532ce
Fix touchEvents with viewBox prop on SVG
2017-01-22 20:39:42 +08:00
Horcrux
1db96aaa07
Fix warnings
2017-01-22 19:45:50 +08:00
Horcrux
8cd78e830e
Finish Symbol refactor on Android
2017-01-22 17:57:07 +08:00
Horcrux
1b04e11ca4
Refactor Symbol on iOS
2017-01-22 17:51:47 +08:00
Horcrux
af6db7039f
Finish percentage props refactor on iOS
2017-01-20 17:47:57 +08:00
Horcrux
7c9f6b2d3d
Remove unused public method
2017-01-16 14:38:43 +08:00
Horcrux
dcc39c4b67
Fix memory leaks
2017-01-11 19:31:42 +08:00
Horcrux
6e81ecf147
Fix touch events on Text elements
2017-01-11 18:55:42 +08:00
Horcrux
52dfe21074
Implement TextPath: first step (iOS)
2017-01-09 20:16:20 +08:00
Horcrux
1d06134719
Add TextPath element
2017-01-09 13:08:22 +08:00
Horcrux
f9fe7bdc4e
merge master fix conflicts
2017-01-09 11:11:12 +08:00
Horcrux
88cacb69f6
Fix Use elements do not reset template bug
2017-01-08 22:16:31 +08:00
Horcrux
074166b111
rename mergeProperties related variables
2017-01-08 19:05:37 +08:00
Horcrux
4f54fe219f
move renderLayerTo to Renderable
...
Move renderLayerTo to Renderable.
2017-01-08 17:43:03 +08:00
Horcrux
431b61ce76
Fix memory leaks in iOS
...
Fix memory leaks in iOS and do not render stroke if strokeWidth is
undefined
2017-01-08 17:08:37 +08:00
Horcrux
152e839126
Remove path data usage in clipPath
...
Remove path data usage in clipPath.
Use clipPath in SVG way
2017-01-07 23:17:10 +08:00
Minsuk Kang
680e001070
Image ratio validation and check for iOS
2017-01-06 14:46:59 -08:00
Horcrux
632862299f
Merge pull request #195 from janicduplessis/master
...
Update iOS RN header paths
2017-01-05 10:33:11 +08:00
Horcrux
5bb8c3d48f
move traverseSubviews method to SVGNode
2016-12-02 15:17:55 +08:00
Janic Duplessis
ad360e71c2
Update iOS RN header paths
2016-12-01 05:14:57 -05:00
Horcrux
44860a02ff
Fix ClipPath position with Text elements
2016-11-11 14:10:19 +08:00
Horcrux
0434cddc8b
Fix memory issue with ClipPath
...
Fix memory issue with ClipPath.
2016-11-11 13:25:16 +08:00
Horcrux
aae482236d
Finish TSpan
2016-11-11 00:48:55 +08:00
Horcrux
a37c3ceee6
finish basic text support on iOS
2016-09-17 15:42:27 +08:00
Horcrux
e78e5db092
fix #127
2016-08-27 09:50:03 +08:00
Horcrux
eabec82b97
fix #111
...
reset ownedPropList everytime mergeProperties method is called.
2016-08-24 17:36:27 +08:00
Horcrux
63ad060e49
fix #115
2016-08-16 20:00:49 +08:00
Horcrux
d84b00d02f
set unrecognized font family to default.
2016-08-13 17:00:15 +08:00
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
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