2016-01-27 13:00:04 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2016 Google Inc.
|
|
|
|
*
|
|
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
|
|
* found in the LICENSE file.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef SkOverdrawMode_DEFINED
|
|
|
|
#define SkOverdrawMode_DEFINED
|
|
|
|
|
|
|
|
#include "SkFlattenable.h"
|
|
|
|
|
|
|
|
class SkXfermode;
|
|
|
|
|
|
|
|
class SkOverdrawMode {
|
|
|
|
public:
|
2016-03-29 18:32:50 +00:00
|
|
|
static sk_sp<SkXfermode> Make();
|
2016-01-27 13:00:04 +00:00
|
|
|
|
|
|
|
SK_DECLARE_FLATTENABLE_REGISTRAR_GROUP();
|
|
|
|
|
|
|
|
private:
|
|
|
|
SkOverdrawMode(); // can't be instantiated
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|