Searched refs:SkSVGTextAnchor (Results 1 – 6 of 6) sorted by relevance
/external/skia/modules/svg/src/ |
D | SkSVGAttributeParser.cpp | 866 bool SkSVGAttributeParser::parse(SkSVGTextAnchor* anchor) { in parse() 867 static constexpr std::tuple<const char*, SkSVGTextAnchor::Type> gAnchorMap[] = { in parse() 868 { "start" , SkSVGTextAnchor::Type::kStart }, in parse() 869 { "middle" , SkSVGTextAnchor::Type::kMiddle }, in parse() 870 { "end" , SkSVGTextAnchor::Type::kEnd }, in parse() 871 { "inherit", SkSVGTextAnchor::Type::kInherit}, in parse() 875 SkSVGTextAnchor::Type type; in parse() 878 *anchor = SkSVGTextAnchor(type); in parse()
|
D | SkSVGAttribute.cpp | 37 result.fTextAnchor.init(SkSVGTextAnchor::Type::kStart); in MakeInitial()
|
D | SkSVGText.cpp | 104 case SkSVGTextAnchor::Type::kStart : return 0.0f; in ComputeAlignmentFactor() 105 case SkSVGTextAnchor::Type::kMiddle: return -0.5f; in ComputeAlignmentFactor() 106 case SkSVGTextAnchor::Type::kEnd : return -1.0f; in ComputeAlignmentFactor() 107 case SkSVGTextAnchor::Type::kInherit: in ComputeAlignmentFactor()
|
/external/skia/modules/svg/include/ |
D | SkSVGTypes.h | 571 class SkSVGTextAnchor { 580 SkSVGTextAnchor() : fType(Type::kInherit) {} in SkSVGTextAnchor() function 581 explicit SkSVGTextAnchor(Type t) : fType(t) {} in SkSVGTextAnchor() function 583 bool operator==(const SkSVGTextAnchor& other) const { 586 bool operator!=(const SkSVGTextAnchor& other) const { return !(*this == other); }
|
D | SkSVGAttribute.h | 98 SkSVGProperty<SkSVGTextAnchor, true> fTextAnchor;
|
D | SkSVGNode.h | 134 SVG_PRES_ATTR(TextAnchor , SkSVGTextAnchor, true)
|