Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions | Variables
mock_canvas.h File Reference
#include <ostream>
#include <variant>
#include <vector>
#include "flutter/display_list/dl_canvas.h"
#include "flutter/display_list/utils/dl_matrix_clip_tracker.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/SkImage.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::SetMatrixData
 
struct  flutter::testing::MockCanvas::DrawRectData
 
struct  flutter::testing::MockCanvas::DrawPathData
 
struct  flutter::testing::MockCanvas::DrawTextData
 
struct  flutter::testing::MockCanvas::DrawImageDataNoPaint
 
struct  flutter::testing::MockCanvas::DrawImageData
 
struct  flutter::testing::MockCanvas::DrawDisplayListData
 
struct  flutter::testing::MockCanvas::DrawShadowData
 
struct  flutter::testing::MockCanvas::ClipRectData
 
struct  flutter::testing::MockCanvas::ClipRRectData
 
struct  flutter::testing::MockCanvas::ClipPathData
 
struct  flutter::testing::MockCanvas::DrawPaintData
 
struct  flutter::testing::MockCanvas::DrawCall
 

Namespaces

namespace  flutter
 
namespace  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::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::DrawImageData &a, const MockCanvas::DrawImageData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawImageData &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawImageDataNoPaint &a, const MockCanvas::DrawImageDataNoPaint &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawImageDataNoPaint &data)
 
bool flutter::testing::operator== (const MockCanvas::DrawDisplayListData &a, const MockCanvas::DrawDisplayListData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawDisplayListData &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::DrawPaintData &a, const MockCanvas::DrawPaintData &b)
 
std::ostream & flutter::testing::operator<< (std::ostream &os, const MockCanvas::DrawPaintData &data)
 

Variables

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