Flutter Engine
The Flutter Engine
Classes | Namespaces | Functions
SkSurface_Base.h File Reference
#include "include/core/SkCanvas.h"
#include "include/core/SkImage.h"
#include "include/core/SkRefCnt.h"
#include "include/core/SkSamplingOptions.h"
#include "include/core/SkScalar.h"
#include "include/core/SkSurface.h"
#include "include/core/SkTypes.h"
#include <cstdint>
#include <memory>

Go to the source code of this file.

Classes

class  SkSurface_Base
 

Namespaces

namespace  skgpu
 
namespace  skgpu::graphite
 

Functions

static SkSurface_BaseasSB (SkSurface *surface)
 
static const SkSurface_BaseasConstSB (const SkSurface *surface)
 

Function Documentation

◆ asConstSB()

static const SkSurface_Base * asConstSB ( const SkSurface surface)
inlinestatic

Definition at line 217 of file SkSurface_Base.h.

217 {
218 return static_cast<const SkSurface_Base*>(surface);
219}
VkSurfaceKHR surface
Definition: main.cc:49

◆ asSB()

static SkSurface_Base * asSB ( SkSurface surface)
inlinestatic

Definition at line 213 of file SkSurface_Base.h.

213 {
214 return static_cast<SkSurface_Base*>(surface);
215}