Flutter Engine
The Flutter Engine
|
#include "include/core/SkPath.h"
#include "include/core/SkPathBuilder.h"
#include "include/core/SkPathTypes.h"
#include "include/core/SkPoint.h"
#include "include/core/SkRRect.h"
#include "include/core/SkRect.h"
#include "include/core/SkScalar.h"
#include "src/base/SkRandom.h"
#include "src/core/SkPathPriv.h"
#include "tests/Test.h"
#include <cstddef>
#include <cstdint>
#include <initializer_list>
#include <string>
#include <vector>
Go to the source code of this file.
Functions | |
static void | is_empty (skiatest::Reporter *reporter, const SkPath &p) |
DEF_TEST (pathbuilder, reporter) | |
DEF_TEST (pathbuilder_filltype, reporter) | |
static bool | check_points (const SkPath &path, const SkPoint expected[], size_t count) |
DEF_TEST (pathbuilder_missing_move, reporter) | |
DEF_TEST (pathbuilder_addRect, reporter) | |
static bool | is_eq (const SkPath &a, const SkPath &b) |
DEF_TEST (pathbuilder_addOval, reporter) | |
DEF_TEST (pathbuilder_addRRect, reporter) | |
DEF_TEST (pathbuilder_make, reporter) | |
DEF_TEST (pathbuilder_genid, r) | |
DEF_TEST (pathbuilder_addPolygon, reporter) | |
DEF_TEST (pathbuilder_addPath, reporter) | |
DEF_TEST (pathbuilder_lastmoveindex, reporter) | |
static void | assertIsMoveTo (skiatest::Reporter *reporter, SkPathPriv::RangeIter *iter, SkScalar x0, SkScalar y0) |
static void | assertIsLineTo (skiatest::Reporter *reporter, SkPathPriv::RangeIter *iter, SkScalar x1, SkScalar y1) |
static void | assertIsDone (skiatest::Reporter *reporter, SkPathPriv::RangeIter *iter, SkPath *p) |
DEF_TEST (SkPathBuilder_lineToMoveTo, reporter) | |
DEF_TEST (SkPathBuilder_arcToPtPtRad_invalidInputsResultInALine, reporter) | |
|
static |
Definition at line 370 of file PathBuilderTest.cpp.
|
static |
Definition at line 360 of file PathBuilderTest.cpp.
|
static |
Definition at line 351 of file PathBuilderTest.cpp.
Definition at line 75 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder | , |
reporter | |||
) |
Definition at line 32 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_addOval | , |
reporter | |||
) |
Definition at line 194 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_addPath | , |
reporter | |||
) |
Definition at line 303 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_addPolygon | , |
reporter | |||
) |
Definition at line 277 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_addRect | , |
reporter | |||
) |
Definition at line 128 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_addRRect | , |
reporter | |||
) |
Definition at line 218 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_filltype | , |
reporter | |||
) |
Definition at line 59 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_genid | , |
r | |||
) |
Definition at line 265 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_lastmoveindex | , |
reporter | |||
) |
Definition at line 321 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_make | , |
reporter | |||
) |
Definition at line 245 of file PathBuilderTest.cpp.
DEF_TEST | ( | pathbuilder_missing_move | , |
reporter | |||
) |
Definition at line 111 of file PathBuilderTest.cpp.
DEF_TEST | ( | SkPathBuilder_arcToPtPtRad_invalidInputsResultInALine | , |
reporter | |||
) |
Definition at line 395 of file PathBuilderTest.cpp.
DEF_TEST | ( | SkPathBuilder_lineToMoveTo | , |
reporter | |||
) |
Definition at line 374 of file PathBuilderTest.cpp.
|
static |
Definition at line 27 of file PathBuilderTest.cpp.
Definition at line 152 of file PathBuilderTest.cpp.