Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
hairlines.cpp File Reference
#include "gm/gm.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkColor.h"
#include "include/core/SkPaint.h"
#include "include/core/SkPathBuilder.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/SkTypes.h"
#include "include/private/base/SkTArray.h"

Go to the source code of this file.

Classes

class  skiagm::HairlinesGM
 

Namespaces

namespace  skiagm
 

Functions

static void skiagm::draw_squarehair_tests (SkCanvas *canvas, SkScalar width, SkPaint::Cap cap, bool aa)
 
 skiagm::DEF_SIMPLE_GM (squarehair, canvas, 240, 360)
 
static void skiagm::draw_subdivided_quad (SkCanvas *canvas, int x0, int y0, int x1, int y1, SkColor color)
 
 skiagm::DEF_SIMPLE_GM (hairline_subdiv, canvas, 512, 256)