#ifndef PDF_PDF_INK_CONVERSIONS_H_
#define PDF_PDF_INK_CONVERSIONS_H_
#include "base/time/time.h"
#include "third_party/ink/src/ink/geometry/point.h"
#include "third_party/ink/src/ink/strokes/input/stroke_input.h"
#include "third_party/skia/include/core/SkColor.h"
namespace blink {
class WebPointerProperties;
}
namespace gfx {
class PointF;
}
namespace ink {
class Brush;
}
namespace chrome_pdf {
ink::StrokeInput CreateInkStrokeInput(ink::StrokeInput::ToolType tool_type,
const gfx::PointF& position,
base::TimeDelta elapsed_time);
ink::StrokeInput CreateInkStrokeInputWithProperties(
ink::StrokeInput::ToolType tool_type,
const gfx::PointF& position,
base::TimeDelta elapsed_time,
const blink::WebPointerProperties* properties);
SkColor GetSkColorFromInkBrush(const ink::Brush& brush);
float GetOpacityMultiplierFromBrush(const ink::Brush& brush);
ink::Point InkPointFromGfxPoint(const gfx::PointF& point);
}
#endif