Lines Matching refs:ProcessOneGlyph

46     template<typename ProcessOneGlyph>
50 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph);
67 template<typename ProcessOneGlyph>
72 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph);
403 template<typename ProcessOneGlyph>
417 const char** text, SkPoint position, ProcessOneGlyph&& processOneGlyph) {
426 template<typename ProcessOneGlyph, SkPaint::Align kTextAlignment,
428 class GlyphFindAndPlaceSubpixel final : public GlyphFindAndPlaceInterface<ProcessOneGlyph> {
436 const char** text, SkPoint position, ProcessOneGlyph&& processOneGlyph) override {
482 template<typename ProcessOneGlyph, SkPaint::Align kTextAlignment, SelectKerning kUseKerning>
483 class GlyphFindAndPlaceFullPixel final : public GlyphFindAndPlaceInterface<ProcessOneGlyph> {
494 const char** text, SkPoint position, ProcessOneGlyph&& processOneGlyph) override {
522 template<typename ProcessOneGlyph>
524 GlyphFindAndPlaceInterface<ProcessOneGlyph>,
526 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align, kNone_SkAxisAlignment>,
527 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align, kX_SkAxisAlignment >,
528 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align, kY_SkAxisAlignment >,
529 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align, kNone_SkAxisAlignment>,
530 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align, kX_SkAxisAlignment >,
531 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align, kY_SkAxisAlignment >,
532 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kRight_Align, kNone_SkAxisAlignment>,
533 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kRight_Align, kX_SkAxisAlignment >,
534 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kRight_Align, kY_SkAxisAlignment >,
536 GlyphFindAndPlaceFullPixel<ProcessOneGlyph, SkPaint::kLeft_Align, kNoKerning>,
537 GlyphFindAndPlaceFullPixel<ProcessOneGlyph, SkPaint::kCenter_Align, kNoKerning>,
538 GlyphFindAndPlaceFullPixel<ProcessOneGlyph, SkPaint::kRight_Align, kNoKerning>
543 template<typename ProcessOneGlyph, SkPaint::Align kTextAlignment>
545 typename GlyphFindAndPlace<ProcessOneGlyph>::Variants* to_init,
551 ProcessOneGlyph, kTextAlignment, kX_SkAxisAlignment>>(glyphFinder);
555 ProcessOneGlyph, kTextAlignment, kNone_SkAxisAlignment>>(glyphFinder);
559 ProcessOneGlyph, kTextAlignment, kY_SkAxisAlignment>>(glyphFinder);
583 template<typename ProcessOneGlyph>
588 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) {
603 ProcessOneGlyph, SkPaint::kLeft_Align, kX_SkAxisAlignment> Positioner;
613 &cursor, mappedPoint, std::forward<ProcessOneGlyph>(processOneGlyph));
642 GlyphFindAndPlace<ProcessOneGlyph> findAndPosition {
643 [&](typename GlyphFindAndPlace<ProcessOneGlyph>::Variants* to_init) {
647 InitSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align>(
651 InitSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align>(
655 InitSubpixel<ProcessOneGlyph, SkPaint::kRight_Align>(
663 GlyphFindAndPlaceFullPixel<ProcessOneGlyph,
668 GlyphFindAndPlaceFullPixel<ProcessOneGlyph,
673 GlyphFindAndPlaceFullPixel<ProcessOneGlyph,
685 &text, mappedPoint, std::forward<ProcessOneGlyph>(processOneGlyph));
689 template<typename ProcessOneGlyph>
693 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) {
710 GlyphFindAndPlace<ProcessOneGlyph> findAndPosition{
711 [&](typename GlyphFindAndPlace<ProcessOneGlyph>::Variants* to_init) {
714 InitSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align>(
719 ProcessOneGlyph, SkPaint::kLeft_Align, kUseKerning>>(glyphFinder);
729 &text, current, std::forward<ProcessOneGlyph>(processOneGlyph));