chromium/pdf/pdf_ink_cursor.cc

// 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.

#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) {}

}  // namespace

int CursorDiameterFromBrushSizeAndZoom(float brush_size, float zoom) {}

SkBitmap GenerateToolCursor(SkColor color, int diameter) {}

}  // namespace chrome_pdf