#include "pdf/pdf_ink_cursor.h"
#include <math.h>
#include <algorithm>
#include "base/check_op.h"
#include "pdf/pdf_ink_brush.h"
#include "third_party/skia/include/core/SkBitmap.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkColor.h"
#include "third_party/skia/include/core/SkPath.h"
namespace chrome_pdf {
namespace {
constexpr int kMinDiameter = …;
constexpr int kMaxDiameter = …;
void CheckCursorDiameterIsInRange(int diameter) { … }
SkColor GetCursorOutlineColor(SkColor color) { … }
}
int CursorDiameterFromBrushSizeAndZoom(float brush_size, float zoom) { … }
SkBitmap GenerateToolCursor(SkColor color, int diameter) { … }
}