Mikael Sand
d0a9cbaceb
Fix caching of text
2018-08-25 00:17:36 +03:00
Mikael Sand
13fcdf6f15
Merge remote-tracking branch 'msand/NestedSvg' into merge-test
...
# Conflicts:
# ios/Elements/RNSVGGroup.m
# ios/RNSVGNode.h
# ios/RNSVGNode.m
2018-03-19 00:27:01 +02:00
Nikolay Demyankov
f7c81ef368
Remove getAlignmentBaseline and getBaselineShift methods, use property methods instead.
2018-03-14 17:00:38 +01:00
Nikolay Demyankov
ef8b687ff0
Fix retain cycle for the textRoot property.
2018-03-14 15:31:02 +01:00
Mikael Sand
b5eeb1ee72
Allow nesting React-Native View components inside svg
2018-02-21 12:17:12 +02: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
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
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
1db96aaa07
Fix warnings
2017-01-22 19:45:50 +08:00
Horcrux
af6db7039f
Finish percentage props refactor on iOS
2017-01-20 17:47:57 +08:00
Horcrux
e3026c0bb5
Fix TextPath bug when using lines
2017-01-12 20:09:57 +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
d7daee343c
Fix ClipPath with Text
2017-01-11 18:18:51 +08:00
Horcrux
1381cd8fca
Refactor Text related elements
2017-01-11 17:02:40 +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
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
da32b1bb96
Temp commit
2016-11-05 18:42:49 +08:00
Horcrux
62ab5f06ca
reset offsetX and offsetY
2016-09-17 17:31:16 +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
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
001835b7c1
fix crash when the text letter reaches the end of text-path
2016-08-26 10:15:59 +08:00
Horcrux
63ad060e49
fix #115
2016-08-16 20:00:49 +08:00
Horcrux
7f4eb47f81
fix touch events within the elements which are nested in G
2016-08-06 21:37:58 +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
5ee5c2239a
fix memory leak issue with CGMutablePathRef
2016-07-21 18:22:23 +08:00
Horcrux
dd6cb80e84
refactor Use and Defs element with native code support(iOS)
2016-07-19 23:09:51 +08:00
Horcrux
8d01e8eccb
refactor shape elements add responder system.
...
refactor shape elements add responder system.
Just iOS.
2016-05-15 00:40:43 +08:00