Home
last modified time | relevance | path

Searched refs:textAnchor (Results 1 – 25 of 43) sorted by relevance

12

/expo/apps/native-component-list/src/screens/SVG/examples/
H A DText.tsx14 <Svg.Text x="50" y="9" fill="red" textAnchor="middle">
61 <TSpan textAnchor="middle">{['STROKE TEXT']}</TSpan>
89 textAnchor="middle">
170 textAnchor="middle"
H A DClipping.tsx25 <Text x="50" y="30" fontSize="32" fontWeight="bold" textAnchor="middle" scale="1.2">
99 textAnchor="middle"
H A DG.tsx64 <Text x="100" y="75" stroke="#600" strokeWidth="1" fill="#600" textAnchor="middle">
H A DPanResponder.tsx76 <Text fontSize="20" fontWeight="bold" fill="blue" textAnchor="middle" x="40" y="80">
H A DStroking.tsx79 textAnchor="middle"
H A DPath.tsx61 <G fontSize="30" fill="black" stroke="none" textAnchor="middle">
H A DImage.tsx33 <Text x="50" y="50" textAnchor="middle" fontWeight="bold" fontSize="16" fill="blue">
64 <Text x="50" y="50" textAnchor="middle" fontWeight="bold" fontSize="16" fill="red">
/expo/android/vendored/unversioned/react-native-svg/android/src/main/java/com/horcrux/svg/
H A DFontData.java104 final TextAnchor textAnchor; field in FontData
125 textAnchor = TextAnchor.start; in FontData()
207 textAnchor = in FontData()
210 : parent.textAnchor; in FontData()
H A DTSpanView.java127 switch (font.textAnchor) { in drawWrappedText()
527 final TextAnchor textAnchor = font.textAnchor; in getLinePath() local
530 double offset = getTextAnchorOffset(textAnchor, textMeasure); in getLinePath()
604 absoluteStartOffset + (textAnchor == TextAnchor.middle ? -halfPathDistance : 0); in getLinePath()
1113 private double getTextAnchorOffset(TextAnchor textAnchor, double textMeasure) { in getTextAnchorOffset() argument
1114 switch (textAnchor) { in getTextAnchorOffset()
/expo/android/vendored/sdk47/react-native-svg/android/src/main/java/abi47_0_0/com/horcrux/svg/
H A DFontData.java104 final TextAnchor textAnchor; field in FontData
125 textAnchor = TextAnchor.start; in FontData()
207 textAnchor = in FontData()
210 : parent.textAnchor; in FontData()
H A DTSpanView.java127 switch (font.textAnchor) { in drawWrappedText()
527 final TextAnchor textAnchor = font.textAnchor; in getLinePath() local
530 double offset = getTextAnchorOffset(textAnchor, textMeasure); in getLinePath()
604 absoluteStartOffset + (textAnchor == TextAnchor.middle ? -halfPathDistance : 0); in getLinePath()
1113 private double getTextAnchorOffset(TextAnchor textAnchor, double textMeasure) { in getTextAnchorOffset() argument
1114 switch (textAnchor) { in getTextAnchorOffset()
/expo/android/vendored/sdk48/react-native-svg/android/src/main/java/abi48_0_0/com/horcrux/svg/
H A DFontData.java104 final TextAnchor textAnchor; field in FontData
125 textAnchor = TextAnchor.start; in FontData()
207 textAnchor = in FontData()
210 : parent.textAnchor; in FontData()
H A DTSpanView.java127 switch (font.textAnchor) { in drawWrappedText()
527 final TextAnchor textAnchor = font.textAnchor; in getLinePath() local
530 double offset = getTextAnchorOffset(textAnchor, textMeasure); in getLinePath()
604 absoluteStartOffset + (textAnchor == TextAnchor.middle ? -halfPathDistance : 0); in getLinePath()
1113 private double getTextAnchorOffset(TextAnchor textAnchor, double textMeasure) { in getTextAnchorOffset() argument
1114 switch (textAnchor) { in getTextAnchorOffset()
/expo/android/vendored/sdk49/react-native-svg/android/src/main/java/abi49_0_0/com/horcrux/svg/
H A DFontData.java104 final TextAnchor textAnchor; field in FontData
125 textAnchor = TextAnchor.start; in FontData()
207 textAnchor = in FontData()
210 : parent.textAnchor; in FontData()
H A DTSpanView.java127 switch (font.textAnchor) { in drawWrappedText()
527 final TextAnchor textAnchor = font.textAnchor; in getLinePath() local
530 double offset = getTextAnchorOffset(textAnchor, textMeasure); in getLinePath()
604 absoluteStartOffset + (textAnchor == TextAnchor.middle ? -halfPathDistance : 0); in getLinePath()
1113 private double getTextAnchorOffset(TextAnchor textAnchor, double textMeasure) { in getTextAnchorOffset() argument
1114 switch (textAnchor) { in getTextAnchorOffset()
/expo/ios/vendored/sdk47/react-native-svg/apple/Text/
H A DABI47_0_0RNSVGFontData.h19 enum ABI47_0_0RNSVGTextAnchor textAnchor; variable
H A DABI47_0_0RNSVGFontData.mm15 static NSString *TEXT_ANCHOR = @"textAnchor";
37 self->textAnchor = ABI47_0_0RNSVGTextAnchorStart;
161 data->textAnchor = anchor ? ABI47_0_0RNSVGTextAnchorFromString(anchor) : parent->textAnchor;
H A DABI47_0_0RNSVGTSpan.mm213 enum ABI47_0_0RNSVGTextAnchor textAnchor = fontdata->textAnchor;
215 switch (textAnchor) {
532 enum ABI47_0_0RNSVGTextAnchor textAnchor = font->textAnchor;
535 CGFloat offset = [ABI47_0_0RNSVGTSpan getTextAnchorOffset:textAnchor width:textMeasure];
611 …startOfRendering = absoluteStartOffset + (textAnchor == ABI47_0_0RNSVGTextAnchorMiddle ? -halfPath…
1082 + (CGFloat)getTextAnchorOffset:(ABI47_0_0RNSVGTextAnchor)textAnchor width:(CGFloat)width
1084 switch (textAnchor) {
/expo/ios/vendored/sdk49/react-native-svg/apple/Text/
H A DABI49_0_0RNSVGFontData.h19 enum ABI49_0_0RNSVGTextAnchor textAnchor; variable
H A DABI49_0_0RNSVGFontData.mm15 static NSString *TEXT_ANCHOR = @"textAnchor";
37 self->textAnchor = ABI49_0_0RNSVGTextAnchorStart;
161 data->textAnchor = anchor ? ABI49_0_0RNSVGTextAnchorFromString(anchor) : parent->textAnchor;
H A DABI49_0_0RNSVGTSpan.mm213 enum ABI49_0_0RNSVGTextAnchor textAnchor = fontdata->textAnchor;
215 switch (textAnchor) {
532 enum ABI49_0_0RNSVGTextAnchor textAnchor = font->textAnchor;
535 CGFloat offset = [ABI49_0_0RNSVGTSpan getTextAnchorOffset:textAnchor width:textMeasure];
611 …startOfRendering = absoluteStartOffset + (textAnchor == ABI49_0_0RNSVGTextAnchorMiddle ? -halfPath…
1082 + (CGFloat)getTextAnchorOffset:(ABI49_0_0RNSVGTextAnchor)textAnchor width:(CGFloat)width
1084 switch (textAnchor) {
/expo/ios/vendored/unversioned/react-native-svg/apple/Text/
H A DRNSVGFontData.h19 enum RNSVGTextAnchor textAnchor; variable
H A DRNSVGFontData.mm15 static NSString *TEXT_ANCHOR = @"textAnchor";
37 self->textAnchor = RNSVGTextAnchorStart;
161 data->textAnchor = anchor ? RNSVGTextAnchorFromString(anchor) : parent->textAnchor;
/expo/ios/vendored/sdk48/react-native-svg/apple/Text/
H A DABI48_0_0RNSVGFontData.h19 enum ABI48_0_0RNSVGTextAnchor textAnchor; variable
H A DABI48_0_0RNSVGFontData.mm15 static NSString *TEXT_ANCHOR = @"textAnchor";
37 self->textAnchor = ABI48_0_0RNSVGTextAnchorStart;
161 data->textAnchor = anchor ? ABI48_0_0RNSVGTextAnchorFromString(anchor) : parent->textAnchor;

12