Lines Matching refs:dst
379 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}, {0, 100}};
380 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, 1);
388 OH_Drawing_Point2D dst[i];
392 dst[j] = {dis(gen), dis(gen)};
394 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, i);
414 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}, {0, 100}};
415 OH_Drawing_MatrixSetPolyToPoly(nullptr, src, dst, 5);
419 OH_Drawing_MatrixSetPolyToPoly(matrix, nullptr, dst, 5);
442 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}};
443 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, -1);
446 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, 5);
469 OH_Drawing_Point2D dst[2] = {{dis(gen), dis(gen)}, {dis(gen), dis(gen)}};
470 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, 2);
488 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}, {0, 100}};
492 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, count);
494 OH_Drawing_MatrixSetPolyToPoly(matrix, src, dst, 5);
511 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}, {0, 100}};
513 OH_Drawing_MatrixMapPoints(nullptr, src, dst, 5);
516 OH_Drawing_MatrixMapPoints(matrix, nullptr, dst, 5);
522 OH_Drawing_MatrixMapPoints(matrix, src, dst, 0);
540 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}, {0, 100}};
542 OH_Drawing_MatrixMapPoints(matrix, src, dst, -1);
560 OH_Drawing_Point2D dst[] = {{0, 0}, {100, 30}, {100, 70}, {0, 100}, {0, 100}};
563 OH_Drawing_MatrixMapPoints(matrix, src, dst, 5);
580 // 2. OH_Drawing_MatrixMapRect, src and dst are the same
582 OH_Drawing_Rect *dst = OH_Drawing_RectCreate(0, 0, 100, 100);
583 OH_Drawing_MatrixMapRect(matrix, src, dst);
584 // 3. OH_Drawing_MatrixMapRect, src and dst are different
591 OH_Drawing_RectDestroy(dst);
609 OH_Drawing_Rect *dst = OH_Drawing_RectCreate(0, 0, 100, 100);
610 OH_Drawing_MatrixMapRect(nullptr, src, dst);
613 OH_Drawing_MatrixMapRect(matrix, nullptr, dst);
621 OH_Drawing_RectDestroy(dst);
635 // 2. Call OH_Drawing_MatrixMapRect 10 times with different src and dst
641 OH_Drawing_Rect *dst = OH_Drawing_RectCreate(0, 0, dis(gen), dis(gen));
642 OH_Drawing_MatrixMapRect(matrix, src, dst);
644 OH_Drawing_RectDestroy(dst);