Home
last modified time | relevance | path

Searched refs:PositionWithAffinity (Results 1 – 8 of 8) sorted by relevance

/external/skia/modules/skparagraph/include/
DDartTypes.h65 struct PositionWithAffinity { struct
69 PositionWithAffinity() : position(0), affinity(kDownstream) {} in PositionWithAffinity() argument
70 PositionWithAffinity(int32_t p, Affinity a) : position(p), affinity(a) {} in PositionWithAffinity() argument
DParagraph.h53 virtual PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) = 0;
/external/skia/modules/canvaskit/
Dparagraph_bindings.cpp575 value_object<para::PositionWithAffinity>("PositionWithAffinity") in EMSCRIPTEN_BINDINGS()
576 .field("pos", &para::PositionWithAffinity::position) in EMSCRIPTEN_BINDINGS()
577 .field("affinity", &para::PositionWithAffinity::affinity); in EMSCRIPTEN_BINDINGS()
/external/skia/modules/skparagraph/src/
DTextLine.h103 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx);
DParagraphImpl.h123 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) override;
DTextLine.cpp1145 PositionWithAffinity TextLine::getGlyphPositionAtCoordinate(SkScalar dx) { in getGlyphPositionAtCoordinate()
1154 PositionWithAffinity result(0, Affinity::kDownstream); in getGlyphPositionAtCoordinate()
DParagraphImpl.cpp749 PositionWithAffinity ParagraphImpl::getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) { in getGlyphPositionAtCoordinate()
/external/skia/modules/canvaskit/npm_build/types/
Dindex.d.ts833 getGlyphPositionAtCoordinate(dx: number, dy: number): PositionWithAffinity;
931 export interface PositionWithAffinity { interface