test: update samples

fix some broken test code.

Change-Id: I42b0dd8b4c599ea59e0860a40b828936dca1e54d
This commit is contained in:
Hermet Park 2020-05-17 20:52:58 +09:00
parent 2f833298c3
commit 1f6da2d0b6
2 changed files with 3 additions and 3 deletions

View file

@ -25,9 +25,9 @@ void tvgtest()
shape->appendRect(-100, -100, 200, 200, 0);
//fill and rotate properties will be retained
//fill property will be retained
shape->fill(127, 255, 255, 255);
shape->rotate(45);
canvas->push(move(shape));
//Draw first frame

View file

@ -75,7 +75,7 @@ void transit_cb(Elm_Transit_Effect *effect, Elm_Transit* transit, double progres
pShape2->translate(400 + progress * 300, 400);
canvas->update(pShape2);
//Update Shape2
//Update Shape3
pShape3->rotate(-360 * progress);
pShape3->scale(0.5 + progress);
canvas->update(pShape3);