Minor fixes to coordinates

This commit is contained in:
Rick Falkvinge
2015-03-02 06:45:52 +01:00
parent 5dd25b2c47
commit 6cbe6c935d
@@ -157,18 +157,18 @@ namespace Swarmops.Plugins.Stock.TaxForms
// Draw the years and tax rates and other on-form constants more discreetly
graphics.DrawString(taxRates[2].ToString("F2", swedishCulture), fontPreprintedSmall,
brushPreprintedDiscreet, 865, 798);
brushPreprintedDiscreet, 855, 798);
graphics.DrawString(taxRates[1].ToString("F2", swedishCulture), fontPreprintedSmall,
brushPreprintedDiscreet, 865, 863);
brushPreprintedDiscreet, 855, 865);
graphics.DrawString(taxRates[0].ToString("F2", swedishCulture), fontPreprintedSmall,
brushPreprintedDiscreet, 865, 928);
brushPreprintedDiscreet, 855, 930);
graphics.DrawString(string.Format("{0}-{1}", yearBreakpoints[1], yearBreakpoints[2] - 1),
fontPreprintedSmall, brushPreprintedDiscreet, 215, 800);
graphics.DrawString(string.Format("{0}-", yearBreakpoints[2]),
fontPreprintedSmall, brushPreprintedDiscreet, 215, 866);
graphics.DrawString(string.Format("1938-{0}", yearBreakpoints[1] - 1),
fontPreprintedSmall, brushPreprintedDiscreet, 215, 930);
fontPreprintedSmall, brushPreprintedDiscreet, 215, 934);
}
// Draw the actual numbers: First, salary totals