Searched refs:PositionWithAffinity (Results 1 – 9 of 9) sorted by relevance
/third_party/skia/modules/skparagraph/include/ |
D | DartTypes.h | 72 struct PositionWithAffinity { struct 76 PositionWithAffinity() : position(0), affinity(kDownstream) {} in PositionWithAffinity() argument 77 PositionWithAffinity(int32_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity() function
|
D | Paragraph.h | 66 virtual PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) = 0;
|
/third_party/skia/modules/canvaskit/ |
D | paragraph_bindings.cpp | 568 value_object<para::PositionWithAffinity>("PositionWithAffinity") in EMSCRIPTEN_BINDINGS() 569 .field("pos", ¶::PositionWithAffinity::position) in EMSCRIPTEN_BINDINGS() 570 .field("affinity", ¶::PositionWithAffinity::affinity); in EMSCRIPTEN_BINDINGS()
|
/third_party/skia/modules/skparagraph/src/ |
D | TextLine.h | 126 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx);
|
D | ParagraphImpl.h | 122 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) override;
|
D | TextLine.cpp | 1507 PositionWithAffinity TextLine::getGlyphPositionAtCoordinate(SkScalar dx) { in getGlyphPositionAtCoordinate() 1516 PositionWithAffinity result(0, Affinity::kDownstream); in getGlyphPositionAtCoordinate()
|
D | ParagraphImpl.cpp | 1048 PositionWithAffinity ParagraphImpl::getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) { in getGlyphPositionAtCoordinate()
|
/third_party/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 6254 std::vector<std::pair<SkScalar, PositionWithAffinity>> checks = { in UNIX_ONLY_TEST() 6255 std::make_pair(550, PositionWithAffinity(0, Affinity::kDownstream)), in UNIX_ONLY_TEST() 6256 std::make_pair(500, PositionWithAffinity(0, Affinity::kDownstream)), in UNIX_ONLY_TEST() 6257 std::make_pair(494, PositionWithAffinity(1, Affinity::kUpstream)), in UNIX_ONLY_TEST() 6258 std::make_pair(488, PositionWithAffinity(1, Affinity::kDownstream)), in UNIX_ONLY_TEST() 6259 std::make_pair(485, PositionWithAffinity(2, Affinity::kUpstream)), in UNIX_ONLY_TEST() 6260 std::make_pair(480, PositionWithAffinity(2, Affinity::kDownstream)), in UNIX_ONLY_TEST() 6261 std::make_pair(475, PositionWithAffinity(3, Affinity::kUpstream)), in UNIX_ONLY_TEST() 6262 std::make_pair(471, PositionWithAffinity(3, Affinity::kDownstream)), in UNIX_ONLY_TEST() 6263 std::make_pair(467, PositionWithAffinity(4, Affinity::kUpstream)), in UNIX_ONLY_TEST() [all …]
|
/third_party/skia/modules/canvaskit/npm_build/types/ |
D | index.d.ts | 837 getGlyphPositionAtCoordinate(dx: number, dy: number): PositionWithAffinity; 935 export interface PositionWithAffinity { interface
|