Flutter Engine
The Flutter Engine
Functions
SkShaderMaskFilterImpl.cpp File Reference
#include "src/effects/SkShaderMaskFilterImpl.h"
#include "include/core/SkBitmap.h"
#include "include/core/SkBlendMode.h"
#include "include/core/SkCanvas.h"
#include "include/core/SkFlattenable.h"
#include "include/core/SkMaskFilter.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/effects/SkShaderMaskFilter.h"
#include "src/core/SkMask.h"
#include "src/core/SkReadBuffer.h"
#include "src/core/SkWriteBuffer.h"
#include <cstdint>
#include <cstring>
#include <utility>

Go to the source code of this file.

Functions

static void rect_memcpy (void *dst, size_t dstRB, const void *src, size_t srcRB, size_t copyBytes, int rows)
 

Function Documentation

◆ rect_memcpy()

static void rect_memcpy ( void *  dst,
size_t  dstRB,
const void *  src,
size_t  srcRB,
size_t  copyBytes,
int  rows 
)
static

Definition at line 40 of file SkShaderMaskFilterImpl.cpp.

41 {
42 for (int i = 0; i < rows; ++i) {
43 memcpy(dst, src, copyBytes);
44 dst = (char*)dst + dstRB;
45 src = (const char*)src + srcRB;
46 }
47}
dst
Definition: cp.py:12