Lines Matching refs:ProcessOneGlyph

46     template<typename ProcessOneGlyph>
50 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph);
67 template<typename ProcessOneGlyph>
72 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph);
405 template<typename ProcessOneGlyph>
419 const char** text, SkPoint position, ProcessOneGlyph&& processOneGlyph) {
428 template<typename ProcessOneGlyph, SkPaint::Align kTextAlignment,
430 class GlyphFindAndPlaceSubpixel final : public GlyphFindAndPlaceInterface<ProcessOneGlyph> {
438 const char** text, SkPoint position, ProcessOneGlyph&& processOneGlyph) override {
486 template<typename ProcessOneGlyph, SkPaint::Align kTextAlignment, SelectKerning kUseKerning>
487 class GlyphFindAndPlaceFullPixel final : public GlyphFindAndPlaceInterface<ProcessOneGlyph> {
498 const char** text, SkPoint position, ProcessOneGlyph&& processOneGlyph) override {
526 template<typename ProcessOneGlyph>
528 GlyphFindAndPlaceInterface<ProcessOneGlyph>,
530 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align, kNone_SkAxisAlignment>,
531 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align, kX_SkAxisAlignment >,
532 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align, kY_SkAxisAlignment >,
533 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align, kNone_SkAxisAlignment>,
534 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align, kX_SkAxisAlignment >,
535 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align, kY_SkAxisAlignment >,
536 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kRight_Align, kNone_SkAxisAlignment>,
537 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kRight_Align, kX_SkAxisAlignment >,
538 GlyphFindAndPlaceSubpixel<ProcessOneGlyph, SkPaint::kRight_Align, kY_SkAxisAlignment >,
540 GlyphFindAndPlaceFullPixel<ProcessOneGlyph, SkPaint::kLeft_Align, kNoKerning>,
541 GlyphFindAndPlaceFullPixel<ProcessOneGlyph, SkPaint::kCenter_Align, kNoKerning>,
542 GlyphFindAndPlaceFullPixel<ProcessOneGlyph, SkPaint::kRight_Align, kNoKerning>
547 template<typename ProcessOneGlyph, SkPaint::Align kTextAlignment>
549 typename GlyphFindAndPlace<ProcessOneGlyph>::Variants* to_init,
555 ProcessOneGlyph, kTextAlignment, kX_SkAxisAlignment>>(glyphFinder);
559 ProcessOneGlyph, kTextAlignment, kNone_SkAxisAlignment>>(glyphFinder);
563 ProcessOneGlyph, kTextAlignment, kY_SkAxisAlignment>>(glyphFinder);
587 template<typename ProcessOneGlyph>
592 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) {
606 ProcessOneGlyph, SkPaint::kLeft_Align, kX_SkAxisAlignment> Positioner;
616 &cursor, mappedPoint, std::forward<ProcessOneGlyph>(processOneGlyph));
645 GlyphFindAndPlace<ProcessOneGlyph> findAndPosition {
646 [&](typename GlyphFindAndPlace<ProcessOneGlyph>::Variants* to_init) {
650 InitSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align>(
654 InitSubpixel<ProcessOneGlyph, SkPaint::kCenter_Align>(
658 InitSubpixel<ProcessOneGlyph, SkPaint::kRight_Align>(
666 GlyphFindAndPlaceFullPixel<ProcessOneGlyph,
671 GlyphFindAndPlaceFullPixel<ProcessOneGlyph,
676 GlyphFindAndPlaceFullPixel<ProcessOneGlyph,
688 &text, mappedPoint, std::forward<ProcessOneGlyph>(processOneGlyph));
692 template<typename ProcessOneGlyph>
696 SkGlyphCache* cache, ProcessOneGlyph&& processOneGlyph) {
713 GlyphFindAndPlace<ProcessOneGlyph> findAndPosition{
714 [&](typename GlyphFindAndPlace<ProcessOneGlyph>::Variants* to_init) {
718 InitSubpixel<ProcessOneGlyph, SkPaint::kLeft_Align>(
723 ProcessOneGlyph, SkPaint::kLeft_Align, kUseKerning>>(glyphFinder);
733 &text, current, std::forward<ProcessOneGlyph>(processOneGlyph));