Merge "Fix RoundRect radius." into lmp-dev

This commit is contained in:
Deepanshu Gupta
2015-03-24 23:51:48 +00:00
committed by Android (Google) Code Review

View File

@ -675,7 +675,7 @@ public final class Canvas_Delegate {
graphics.fillRoundRect(
(int)left, (int)top,
(int)(right - left), (int)(bottom - top),
(int)rx, (int)ry);
2 * (int)rx, 2 * (int)ry);
}
if (style == Paint.Style.STROKE.nativeInt ||
@ -683,7 +683,7 @@ public final class Canvas_Delegate {
graphics.drawRoundRect(
(int)left, (int)top,
(int)(right - left), (int)(bottom - top),
(int)rx, (int)ry);
2 * (int)rx, 2 * (int)ry);
}
}
});