Flutter Engine
The Flutter Engine
Classes | Variables
hardstop_gradients_many.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/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/SkSize.h"
#include "include/core/SkString.h"
#include "include/core/SkTileMode.h"
#include "include/effects/SkGradientShader.h"
#include <vector>

Go to the source code of this file.

Classes

class  HardstopGradientsManyGM
 

Variables

const int kWidth = 1000
 
const int kHeight = 2000
 
const int kNumRows = 100
 
const int kCellHeight = kHeight / kNumRows
 
const int kPadHeight = 1
 
const int kRectHeight = kCellHeight - (2 * kPadHeight)
 

Variable Documentation

◆ kCellHeight

const int kCellHeight = kHeight / kNumRows

Definition at line 32 of file hardstop_gradients_many.cpp.

◆ kHeight

const int kHeight = 2000

Definition at line 30 of file hardstop_gradients_many.cpp.

◆ kNumRows

const int kNumRows = 100

Definition at line 31 of file hardstop_gradients_many.cpp.

◆ kPadHeight

const int kPadHeight = 1

Definition at line 33 of file hardstop_gradients_many.cpp.

◆ kRectHeight

const int kRectHeight = kCellHeight - (2 * kPadHeight)

Definition at line 34 of file hardstop_gradients_many.cpp.

◆ kWidth

const int kWidth = 1000

Definition at line 29 of file hardstop_gradients_many.cpp.