Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -114,4 +114,18 @@ public void init(Context context, float startMidX, float startMidY) {
}
setPos(centerX, centerY, scaleX, scaleY, angle);
}

public void drawOnCanvas(Canvas canvas) {
Comment on lines 116 to +118

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

m

for (MultiTouchObject imageObject : mImages) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't this function be inside TurboImageView.java since ImageObject.java does not have the var mImages?

imageObject.draw(canvas);
}
}

public void drawOnBitmap(Bitmap bitmap) {
Canvas canvas = new Canvas(bitmap);
drawOnCanvas(canvas);
canvas.save();
canvas.restore();
canvas = null;
}
}