Searched refs:getGlyphPositionAtCoordinate (Results 1 – 13 of 13) sorted by relevance
/external/skia/modules/skparagraph/include/ |
D | Paragraph.h | 53 virtual PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) = 0;
|
/external/skia/modules/skparagraph/tests/ |
D | SkParagraphTest.cpp | 1634 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/ |
D | TextLine.h | 103 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx);
|
D | ParagraphImpl.h | 123 PositionWithAffinity getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) override;
|
D | ParagraphImpl.cpp | 749 PositionWithAffinity ParagraphImpl::getGlyphPositionAtCoordinate(SkScalar dx, SkScalar dy) { in getGlyphPositionAtCoordinate() function in skia::textlayout::ParagraphImpl 768 auto result = line.getGlyphPositionAtCoordinate(dx); in getGlyphPositionAtCoordinate()
|
D | TextLine.cpp | 1145 PositionWithAffinity TextLine::getGlyphPositionAtCoordinate(SkScalar dx) { in getGlyphPositionAtCoordinate() function in skia::textlayout::TextLine
|
/external/skia/modules/canvaskit/tests/ |
D | paragraph.spec.js | 604 let posU = paragraph.getGlyphPositionAtCoordinate(20, 30); 609 let posA = paragraph.getGlyphPositionAtCoordinate(80, 90); 614 let posG = paragraph.getGlyphPositionAtCoordinate(280, 2);
|
/external/skia/modules/canvaskit/ |
D | externs.js | 128 getGlyphPositionAtCoordinate: function() {}, method
|
D | paragraph_bindings.cpp | 418 .function("getGlyphPositionAtCoordinate", ¶::Paragraph::getGlyphPositionAtCoordinate) in EMSCRIPTEN_BINDINGS()
|
/external/skia/modules/skparagraph/samples/ |
D | SampleParagraph.cpp | 2182 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/ |
D | canvaskit-wasm-tests.ts | 502 const c = p.getGlyphPositionAtCoordinate(10, 3); // $ExpectType PositionWithAffinity
|
D | index.d.ts | 833 getGlyphPositionAtCoordinate(dx: number, dy: number): PositionWithAffinity; method
|
/external/skia/site/docs/user/modules/ |
D | canvaskit.md | 406 let posA = paragraph.getGlyphPositionAtCoordinate(X, Y);
|