Flutter Engine
mock_canvas.h File Reference
#include <ostream>
#include <variant>
#include <vector>
#include "flutter/testing/assertions_skia.h"
#include "gtest/gtest.h"
#include "third_party/skia/include/core/SkCanvas.h"
#include "third_party/skia/include/core/SkCanvasVirtualEnforcer.h"
#include "third_party/skia/include/core/SkClipOp.h"
#include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkImageFilter.h"
#include "third_party/skia/include/core/SkM44.h"
#include "third_party/skia/include/core/SkPath.h"
#include "third_party/skia/include/core/SkRRect.h"
#include "third_party/skia/include/core/SkRect.h"
#include "third_party/skia/include/utils/SkNWayCanvas.h"

Go to the source code of this file.

Classes

class  flutter::testing::MockCanvas
 
struct  flutter::testing::MockCanvas::SaveData
 
struct  flutter::testing::MockCanvas::SaveLayerData
 
struct  flutter::testing::MockCanvas::RestoreData
 
struct  flutter::testing::MockCanvas::ConcatMatrixData
 
struct  flutter::testing::MockCanvas::ConcatMatrix44Data
 
struct  flutter::testing::MockCanvas::SetMatrixData
 
struct  flutter::testing::MockCanvas::DrawRectData
 
struct  flutter::testing::MockCanvas::DrawPathData
 
struct  flutter::testing::MockCanvas::DrawTextData
 
struct  flutter::testing::MockCanvas::DrawPictureData
 
struct  flutter::testing::MockCanvas::DrawShadowData
 
struct  flutter::testing::MockCanvas::ClipRectData
 
struct  flutter::testing::MockCanvas::ClipRRectData
 
struct  flutter::testing::MockCanvas::ClipPathData
 
struct  flutter::testing::MockCanvas::DrawPaint
 
struct  flutter::testing::MockCanvas::DrawCall
 

Namespaces

 flutter
 
 flutter::testing
 

Functions

bool flutter::testing::operator== (const MockCanvas::SaveData &a, const MockCanvas::SaveData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::SaveData &data)
 
bool flutter::testing::operator== (const MockCanvas::SaveLayerData &a, const MockCanvas::SaveLayerData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::SaveLayerData &data)
 
bool flutter::testing::operator== (const MockCanvas::RestoreData &a, const MockCanvas::RestoreData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::RestoreData &data)
 
bool flutter::testing::operator== (const MockCanvas::ConcatMatrixData &a, const MockCanvas::ConcatMatrixData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::ConcatMatrixData &data)
 
bool flutter::testing::operator== (const MockCanvas::ConcatMatrix44Data &a, const MockCanvas::ConcatMatrix44Data &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::ConcatMatrix44Data &data)
 
bool flutter::testing::operator== (const MockCanvas::SetMatrixData &a, const MockCanvas::SetMatrixData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::SetMatrixData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawRectData &a, const MockCanvas::DrawRectData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawRectData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawPathData &a, const MockCanvas::DrawPathData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawPathData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawTextData &a, const MockCanvas::DrawTextData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawTextData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawPictureData &a, const MockCanvas::DrawPictureData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawPictureData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawShadowData &a, const MockCanvas::DrawShadowData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawShadowData &data)
 
bool flutter::testing::operator== (const MockCanvas::ClipRectData &a, const MockCanvas::ClipRectData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::ClipRectData &data)
 
bool flutter::testing::operator== (const MockCanvas::ClipRRectData &a, const MockCanvas::ClipRRectData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::ClipRRectData &data)
 
bool flutter::testing::operator== (const MockCanvas::ClipPathData &a, const MockCanvas::ClipPathData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::ClipPathData &data)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawCallData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawCall &a, const MockCanvas::DrawCall &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawCall &draw)
 
bool flutter::testing::operator== (const MockCanvas::DrawPaint &a, const MockCanvas::DrawPaint &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawPaint &data)
 

Variables

static constexpr SkRect flutter::testing::kEmptyRect = SkRect::MakeEmpty()