Flutter Engine
The Flutter Engine
|
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkFont.h"
#include "include/core/SkMatrix.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPathBuilder.h"
#include "include/core/SkPathEffect.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkTypeface.h"
#include "include/core/SkTypes.h"
#include "include/effects/SkDashPathEffect.h"
#include "tools/ToolUtils.h"
#include "tools/fonts/FontToolUtils.h"
#include <math.h>
#include <initializer_list>
Go to the source code of this file.
Classes | |
class | DashingGM |
class | Dashing2GM |
class | Dashing3GM |
class | Dashing4GM |
class | Dashing5GM |
Functions | |
static void | drawline (SkCanvas *canvas, int on, int off, const SkPaint &paint, SkScalar finalX=SkIntToScalar(600), SkScalar finalY=SkIntToScalar(0), SkScalar phase=SkIntToScalar(0), SkScalar startX=SkIntToScalar(0), SkScalar startY=SkIntToScalar(0)) |
static void | show_giant_dash (SkCanvas *canvas) |
static void | show_zero_len_dash (SkCanvas *canvas) |
static SkPath | make_unit_star (int n) |
static SkPath | make_path_line (const SkRect &bounds) |
static SkPath | make_path_rect (const SkRect &bounds) |
static SkPath | make_path_oval (const SkRect &bounds) |
static SkPath | make_path_star (const SkRect &bounds) |
DEF_SIMPLE_GM (longpathdash, canvas, 612, 612) | |
DEF_SIMPLE_GM (longlinedash, canvas, 512, 512) | |
DEF_SIMPLE_GM (dashbigrects, canvas, 256, 256) | |
DEF_SIMPLE_GM (longwavyline, canvas, 512, 512) | |
DEF_SIMPLE_GM (dashtextcaps, canvas, 512, 512) | |
DEF_SIMPLE_GM (dash_line_zero_off_interval, canvas, 160, 330) | |
DEF_SIMPLE_GM (thin_aa_dash_lines, canvas, 330, 110) | |
DEF_SIMPLE_GM (path_effect_empty_result, canvas, 100, 100) | |
DEF_SIMPLE_GM | ( | dash_line_zero_off_interval | , |
canvas | , | ||
160 | , | ||
330 | |||
) |
Definition at line 585 of file dashing.cpp.
DEF_SIMPLE_GM | ( | dashbigrects | , |
canvas | , | ||
256 | , | ||
256 | |||
) |
Definition at line 514 of file dashing.cpp.
DEF_SIMPLE_GM | ( | dashtextcaps | , |
canvas | , | ||
512 | , | ||
512 | |||
) |
Definition at line 568 of file dashing.cpp.
DEF_SIMPLE_GM | ( | longlinedash | , |
canvas | , | ||
512 | , | ||
512 | |||
) |
Definition at line 503 of file dashing.cpp.
DEF_SIMPLE_GM | ( | longpathdash | , |
canvas | , | ||
612 | , | ||
612 | |||
) |
Definition at line 475 of file dashing.cpp.
DEF_SIMPLE_GM | ( | longwavyline | , |
canvas | , | ||
512 | , | ||
512 | |||
) |
Definition at line 553 of file dashing.cpp.
DEF_SIMPLE_GM | ( | path_effect_empty_result | , |
canvas | , | ||
100 | , | ||
100 | |||
) |
Definition at line 644 of file dashing.cpp.
DEF_SIMPLE_GM | ( | thin_aa_dash_lines | , |
canvas | , | ||
330 | , | ||
110 | |||
) |
Definition at line 621 of file dashing.cpp.
|
static |
Definition at line 30 of file dashing.cpp.
Definition at line 122 of file dashing.cpp.
Definition at line 132 of file dashing.cpp.
Definition at line 128 of file dashing.cpp.
Definition at line 136 of file dashing.cpp.
Definition at line 109 of file dashing.cpp.
|
static |
Definition at line 48 of file dashing.cpp.
|
static |
Definition at line 54 of file dashing.cpp.