chromium/third_party/skia/src/core/SkStrokeRec.cpp

/*
 * Copyright 2012 Google Inc.
 *
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

#include "include/core/SkStrokeRec.h"

#include "src/core/SkPaintDefaults.h"
#include "src/core/SkStroke.h"

#include <algorithm>

// must be < 0, since ==0 means hairline, and >0 means normal stroke
#define kStrokeRec_FillStyleWidth

SkStrokeRec::SkStrokeRec(InitStyle s) {}

SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkScalar resScale) {}

SkStrokeRec::SkStrokeRec(const SkPaint& paint, SkPaint::Style styleOverride, SkScalar resScale) {}

void SkStrokeRec::init(const SkPaint& paint, SkPaint::Style style, SkScalar resScale) {}

SkStrokeRec::Style SkStrokeRec::getStyle() const {}

void SkStrokeRec::setFillStyle() {}

void SkStrokeRec::setHairlineStyle() {}

void SkStrokeRec::setStrokeStyle(SkScalar width, bool strokeAndFill) {}

#ifdef SK_DEBUG
    // enables tweaking these values at runtime from Viewer
    bool gDebugStrokerErrorSet =;
    SkScalar gDebugStrokerError;
#endif

bool SkStrokeRec::applyToPath(SkPath* dst, const SkPath& src) const {}

void SkStrokeRec::applyToPaint(SkPaint* paint) const {}

SkScalar SkStrokeRec::getInflationRadius() const {}

SkScalar SkStrokeRec::GetInflationRadius(const SkPaint& paint, SkPaint::Style style) {}

SkScalar SkStrokeRec::GetInflationRadius(SkPaint::Join join, SkScalar miterLimit, SkPaint::Cap cap,
                                         SkScalar strokeWidth) {}