• Home
  • Raw
  • Download

Lines Matching refs:dst

31 SkRect* SkANP::SetRect(SkRect* dst, const ANPRectF& src) {  in SetRect()  argument
32 dst->set(SkFloatToScalar(src.left), in SetRect()
36 return dst; in SetRect()
39 SkIRect* SkANP::SetRect(SkIRect* dst, const ANPRectI& src) { in SetRect() argument
40 dst->set(src.left, src.top, src.right, src.bottom); in SetRect()
41 return dst; in SetRect()
44 ANPRectI* SkANP::SetRect(ANPRectI* dst, const SkIRect& src) { in SetRect() argument
45 dst->left = src.fLeft; in SetRect()
46 dst->top = src.fTop; in SetRect()
47 dst->right = src.fRight; in SetRect()
48 dst->bottom = src.fBottom; in SetRect()
49 return dst; in SetRect()
52 ANPRectF* SkANP::SetRect(ANPRectF* dst, const SkRect& src) { in SetRect() argument
53 dst->left = SkScalarToFloat(src.fLeft); in SetRect()
54 dst->top = SkScalarToFloat(src.fTop); in SetRect()
55 dst->right = SkScalarToFloat(src.fRight); in SetRect()
56 dst->bottom = SkScalarToFloat(src.fBottom); in SetRect()
57 return dst; in SetRect()
60 SkBitmap* SkANP::SetBitmap(SkBitmap* dst, const ANPBitmap& src) { in SetBitmap() argument
74 dst->setConfig(config, src.width, src.height, src.rowBytes); in SetBitmap()
75 dst->setPixels(src.baseAddr); in SetBitmap()
76 return dst; in SetBitmap()
79 bool SkANP::SetBitmap(ANPBitmap* dst, const SkBitmap& src) { in SetBitmap() argument
80 if (!(dst->baseAddr = src.getPixels())) { in SetBitmap()
87 dst->format = kRGBA_8888_ANPBitmapFormat; in SetBitmap()
90 dst->format = kRGB_565_ANPBitmapFormat; in SetBitmap()
97 dst->width = src.width(); in SetBitmap()
98 dst->height = src.height(); in SetBitmap()
99 dst->rowBytes = src.rowBytes(); in SetBitmap()