Lines Matching refs:dst
53 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setRegion() local
55 SkASSERT(dst && src); in Region_setRegion()
56 *dst = *src; in Region_setRegion()
60 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setRect() local
61 bool result = dst->setRect({left, top, right, bottom}); in Region_setRect()
67 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_setPath() local
70 SkASSERT(dst && path && clip); in Region_setPath()
71 bool result = dst->setPath(*path, *clip); in Region_setPath()
91 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_op0() local
92 bool result = dst->op({left, top, right, bottom}, (SkRegion::Op)op); in Region_op0()
97 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_op1() local
101 bool result = dst->op(ir, *region, (SkRegion::Op)op); in Region_op1()
106 SkRegion* dst = reinterpret_cast<SkRegion*>(dstHandle); in Region_op2() local
109 bool result = dst->op(*region1, *region2, (SkRegion::Op)op); in Region_op2()
152 static void Region_translate(JNIEnv* env, jobject region, jint x, jint y, jobject dst) { in Region_translate() argument
154 if (dst) in Region_translate()
155 rgn->translate(x, y, GetSkRegion(env, dst)); in Region_translate()
161 static void scale_rect(SkIRect* dst, const SkIRect& src, float scale) { in scale_rect() argument
162 dst->fLeft = (int)::roundf(src.fLeft * scale); in scale_rect()
163 dst->fTop = (int)::roundf(src.fTop * scale); in scale_rect()
164 dst->fRight = (int)::roundf(src.fRight * scale); in scale_rect()
165 dst->fBottom = (int)::roundf(src.fBottom * scale); in scale_rect()
170 static void scale_rgn(SkRegion* dst, const SkRegion& src, float scale) { in scale_rgn() argument
179 dst->swap(tmp); in scale_rgn()
182 static void Region_scale(JNIEnv* env, jobject region, jfloat scale, jobject dst) { in Region_scale() argument
184 if (dst) in Region_scale()
185 scale_rgn(GetSkRegion(env, dst), *rgn, scale); in Region_scale()