Fix for wrong method call

This commit is contained in:
serso 2015-02-01 13:22:44 +01:00
parent 217ab83b26
commit f2320fbe8a

View File

@ -183,7 +183,7 @@ public class CalculatorGraph2dView extends View implements GraphView {
@Nonnull @Nonnull
public Bitmap captureScreenshot() { public Bitmap captureScreenshot() {
final Bitmap result = Bitmap.createBitmap(dimensions.getVWidthPxs(), dimensions.getVHeightPxs(), Bitmap.Config.RGB_565); final Bitmap result = Bitmap.createBitmap(dimensions.getVWidthPxs(), dimensions.getVHeightPxs(), Bitmap.Config.RGB_565);
onDraw(new Canvas(result)); draw(new Canvas(result));
return result; return result;
} }