1. Igor Brejc
  2. Maperitive
  3. Issues
Issue #3 resolved

Graphics.set_SmoothingMode "Parameter is not valid"

Igor Brejc
repo owner created an issue

{{{

!python

Diagnostics data:

Time (UTC): 06/12/2011 00:14 App. version: 0.9.1202.9 OS version: Microsoft Windows NT 6.1.7601 Service Pack 1 CLR version: 2.0.50727.5444 App. location: C:\myprogs\maperitive\Maperitive.exe Current culture: Current UI culture:

Current view bounds: 15.5740954010115,46.5130192924369,15.6021131572957,46.5185098759763 Zoom factor: 16.0651096277923 View width: 1366 View height: 389


Map sources:

   Map decoration
   Map highlighting
   Web map (OSM Mapnik)
   OSM file (not saved)

Exception:

System.ArgumentException: Parameter is not valid. at System.Drawing.Graphics.set_SmoothingMode(SmoothingMode value) at Karta.Painting.Gdi.GdiPainter.SetAntialiasing() at Karta.Painting.Gdi.GdiPainter.SetStyle(PaintStyling style) at Karta.MapElements.IconElement.UpdateAndApplyStyle(IMapRenderingContext context) at Karta.MapElements.IconElement.Paint(IMapRenderingContext context) at Karta.DefaultMapping.MapPaintingSlotsList.Paint(IMapRenderingContext context) at Karta.DefaultMapping.DefaultMap.Paint(IPainter painter, MapRenderingSettings settings) at Karta.MapControlling.MapDisplayController.PaintMap(IPainter painter) }}}

Comments (1)

  1. Log in to comment