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/SkPaint.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkScalar.h"
#include "include/core/SkShader.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTileMode.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkGradientShader.h"
Go to the source code of this file.
Functions | |
static void | make_transparency (SkCanvas *canvas, SkScalar width, SkScalar height) |
static sk_sp< SkShader > | create_checkerboard_shader (SkColor c1, SkColor c2, int size) |
static void | checkerboard (SkCanvas *canvas, SkColor c1, SkColor c2, int size) |
DEF_SIMPLE_GM (transparency_check, canvas, 1792, 1080) | |
Definition at line 60 of file transparency.cpp.
Definition at line 50 of file transparency.cpp.
DEF_SIMPLE_GM | ( | transparency_check | , |
canvas | , | ||
1792 | , | ||
1080 | |||
) |
This GM verifies that a transparent bitmap drawn over a checkerboard pattern looks correct.
Definition at line 70 of file transparency.cpp.
Definition at line 23 of file transparency.cpp.