Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkImage.h"
#include "include/core/SkImageFilter.h"
#include "include/core/SkImageInfo.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPixelRef.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkTypeface.h"
#include "include/effects/SkImageFilters.h"
#include "src/base/SkRandom.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include "tools/timer/TimeUtils.h"
#include <utility>
Go to the source code of this file.
Classes | |
class | ImageMagnifierBounds |
Macros | |
#define | WIDTH 500 |
#define | HEIGHT 500 |
#define | WIDTH_HEIGHT 256 |
Functions | |
static void | draw_content (SkCanvas *canvas, float maxTextSize, int count) |
DEF_SIMPLE_GM_BG (imagemagnifier, canvas, WIDTH, HEIGHT, SK_ColorBLACK) | |
static sk_sp< SkImage > | make_img () |
DEF_SIMPLE_GM_BG (imagemagnifier_cropped, canvas, WIDTH_HEIGHT, WIDTH_HEIGHT, SK_ColorBLACK) | |
#define HEIGHT 500 |
Definition at line 32 of file imagemagnifier.cpp.
#define WIDTH 500 |
Definition at line 31 of file imagemagnifier.cpp.
#define WIDTH_HEIGHT 256 |
Definition at line 59 of file imagemagnifier.cpp.
DEF_SIMPLE_GM_BG | ( | imagemagnifier | , |
canvas | , | ||
WIDTH | , | ||
HEIGHT | , | ||
SK_ColorBLACK | |||
) |
Definition at line 48 of file imagemagnifier.cpp.
DEF_SIMPLE_GM_BG | ( | imagemagnifier_cropped | , |
canvas | , | ||
WIDTH_HEIGHT | , | ||
WIDTH_HEIGHT | , | ||
SK_ColorBLACK | |||
) |
Definition at line 83 of file imagemagnifier.cpp.
Definition at line 34 of file imagemagnifier.cpp.
Definition at line 61 of file imagemagnifier.cpp.