Flutter Engine
The Flutter Engine
|
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPath.h"
#include "include/core/SkPathEffect.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/effects/SkDashPathEffect.h"
#include "include/effects/SkGradientShader.h"
#include "include/effects/SkImageFilters.h"
#include "src/core/SkImageFilterTypes.h"
#include "src/core/SkImageFilter_Base.h"
#include "src/core/SkMatrixPriv.h"
#include "src/core/SkRectPriv.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/viewer/Slide.h"
Go to the source code of this file.
Classes | |
class | FilterBoundsSample |
Functions | |
static float | print_size (SkCanvas *canvas, const char *prefix, std::optional< SkIRect > rect, float x, float y, const SkFont &font, const SkPaint &paint) |
static float | print_info (SkCanvas *canvas, const skif::LayerSpace< SkIRect > &layerContentBounds, const skif::DeviceSpace< SkIRect > &outputBounds, std::optional< skif::DeviceSpace< SkIRect > > hintedOutputBounds, const skif::LayerSpace< SkIRect > &unhintedLayerBounds) |
static void | print_label (SkCanvas *canvas, float x, float y, float value) |
static SkPaint | line_paint (SkColor color, bool dashed=false) |
static SkPath | create_axis_path (const SkRect &rect, float axisSpace) |
static void | draw_scale_key (SkCanvas *canvas, float y) |
static void | draw_scale_factors (SkCanvas *canvas, const skif::Mapping &mapping, const SkRect &rect) |
Variables | |
static constexpr float | kLineHeight = 16.f |
static constexpr float | kLineInset = 8.f |
static const SkColor4f | kScaleGradientColors [] |
static const SkScalar | kLogScaleFactors [] = { -3.f, -1.f, 0.f, 1.f, 3.f } |
static const SkScalar | kGradientStops [] = { 0.f, 0.33333f, 0.5f, 0.66667f, 1.f } |
static const int | kStopCount = (int) std::size(kScaleGradientColors) |
Definition at line 98 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 136 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 121 of file FilterBoundsSlide.cpp.
Definition at line 85 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 46 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 74 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 31 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 118 of file FilterBoundsSlide.cpp.
|
staticconstexpr |
Definition at line 28 of file FilterBoundsSlide.cpp.
|
staticconstexpr |
Definition at line 29 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 117 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 111 of file FilterBoundsSlide.cpp.
|
static |
Definition at line 119 of file FilterBoundsSlide.cpp.