Home
last modified time | relevance | path

Searched refs:getGlyphPositionAtCoordinate (Results 1 – 13 of 13) sorted by relevance

/external/skia/modules/skparagraph/include/
DParagraph.h53 virtual PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) = 0;
/external/skia/modules/skparagraph/tests/
DSkParagraphTest.cpp1634 REPORTER_ASSERT(reporter, impl->getGlyphPositionAtCoordinate(0, 0).position == 0); in DEF_TEST()
1635 REPORTER_ASSERT(reporter, impl->getGlyphPositionAtCoordinate(1, 1).position == 0); in DEF_TEST()
1636 REPORTER_ASSERT(reporter, impl->getGlyphPositionAtCoordinate(1, 35).position == 68); in DEF_TEST()
1637 REPORTER_ASSERT(reporter, impl->getGlyphPositionAtCoordinate(1, 70).position == 134); in DEF_TEST()
1638 REPORTER_ASSERT(reporter, impl->getGlyphPositionAtCoordinate(2000, 35).position == 134); in DEF_TEST()
2542 paragraph->getGlyphPositionAtCoordinate(-10000, -10000).position == 0); in DEF_TEST()
2543 REPORTER_ASSERT(reporter, paragraph->getGlyphPositionAtCoordinate(-1, -1).position == 0); in DEF_TEST()
2544 REPORTER_ASSERT(reporter, paragraph->getGlyphPositionAtCoordinate(0, 0).position == 0); in DEF_TEST()
2545 REPORTER_ASSERT(reporter, paragraph->getGlyphPositionAtCoordinate(3, 3).position == 0); in DEF_TEST()
2546 REPORTER_ASSERT(reporter, paragraph->getGlyphPositionAtCoordinate(35, 1).position == 1); in DEF_TEST()
[all …]
/external/skia/modules/skparagraph/src/
DTextLine.h103 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx);
DParagraphImpl.h123 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) override;
DParagraphImpl.cpp749 PositionWithAffinity ParagraphImpl::getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) { in getGlyphPositionAtCoordinate() function in skia::textlayout::ParagraphImpl
768 auto result = line.getGlyphPositionAtCoordinate(dx); in getGlyphPositionAtCoordinate()
DTextLine.cpp1145 PositionWithAffinity TextLine::getGlyphPositionAtCoordinate(SkScalar dx) { in getGlyphPositionAtCoordinate() function in skia::textlayout::TextLine
/external/skia/modules/canvaskit/tests/
Dparagraph.spec.js604 let posU = paragraph.getGlyphPositionAtCoordinate(20, 30);
609 let posA = paragraph.getGlyphPositionAtCoordinate(80, 90);
614 let posG = paragraph.getGlyphPositionAtCoordinate(280, 2);
/external/skia/modules/canvaskit/
Dexterns.js128 getGlyphPositionAtCoordinate: function() {}, method
Dparagraph_bindings.cpp418 .function("getGlyphPositionAtCoordinate", &para::Paragraph::getGlyphPositionAtCoordinate) in EMSCRIPTEN_BINDINGS()
/external/skia/modules/skparagraph/samples/
DSampleParagraph.cpp2182 auto f1 = paragraph->getGlyphPositionAtCoordinate(width/6, height/2); in onDrawContent()
2183 auto f2 = paragraph->getGlyphPositionAtCoordinate(width/2, height/2); in onDrawContent()
2184 auto i = paragraph->getGlyphPositionAtCoordinate(width*5/6, height/2); in onDrawContent()
3407 auto res1 = paragraph->getGlyphPositionAtCoordinate(0,0); in onDrawContent()
3408 auto res2 = paragraph->getGlyphPositionAtCoordinate(0,height / 2); in onDrawContent()
3409 auto res3 = paragraph->getGlyphPositionAtCoordinate(0,height); in onDrawContent()
/external/skia/modules/canvaskit/npm_build/types/
Dcanvaskit-wasm-tests.ts502 const c = p.getGlyphPositionAtCoordinate(10, 3); // $ExpectType PositionWithAffinity
Dindex.d.ts833 getGlyphPositionAtCoordinate(dx: number, dy: number): PositionWithAffinity; method
/external/skia/site/docs/user/modules/
Dcanvaskit.md406 let posA = paragraph.getGlyphPositionAtCoordinate(X, Y);