#ifndef UI_GFX_SKIA_PAINT_UTIL_H_
#define UI_GFX_SKIA_PAINT_UTIL_H_
#include <memory>
#include <vector>
#include "cc/paint/paint_shader.h"
#include "ui/gfx/gfx_export.h"
#include "ui/gfx/shadow_value.h"
class SkMatrix;
namespace cc {
class DrawLooper;
}
namespace gfx {
class ImageSkiaRep;
GFX_EXPORT sk_sp<cc::PaintShader> CreateImageRepShader(
const gfx::ImageSkiaRep& image_rep,
SkTileMode tile_mode_x,
SkTileMode tile_mode_y,
const SkMatrix& local_matrix);
GFX_EXPORT sk_sp<cc::PaintShader> CreateImageRepShaderForScale(
const gfx::ImageSkiaRep& image_rep,
SkTileMode tile_mode_x,
SkTileMode tile_mode_y,
const SkMatrix& local_matrix,
SkScalar scale);
GFX_EXPORT sk_sp<cc::PaintShader> CreateGradientShader(
const gfx::Point& start_point,
const gfx::Point& end_point,
SkColor start_color,
SkColor end_color);
GFX_EXPORT sk_sp<cc::DrawLooper> CreateShadowDrawLooper(
const std::vector<ShadowValue>& shadows);
}
#endif