chromium/third_party/blink/renderer/core/paint/text_shadow_painter.h

// Copyright 2024 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_TEXT_SHADOW_PAINTER_H_
#define THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_TEXT_SHADOW_PAINTER_H_

#include "third_party/blink/renderer/core/paint/text_paint_style.h"
#include "third_party/blink/renderer/platform/graphics/graphics_context.h"
#include "third_party/blink/renderer/platform/wtf/allocator/allocator.h"

namespace blink {

class GraphicsContext;

// Helper class that creates a layer on the specified GraphicsContext to apply
// a text-shadow effect based on the TextPaintStyle in the scope of the object.
class ScopedTextShadowPainter {};

enum class TextShadowPaintPhase {};

template <typename PaintProc>
void PaintWithTextShadow(PaintProc paint_proc,
                         GraphicsContext& context,
                         const TextPaintStyle& text_style) {}

}  // namespace blink

#endif  // THIRD_PARTY_BLINK_RENDERER_CORE_PAINT_TEXT_SHADOW_PAINTER_H_