User Tools

Site Tools


map_suite_style_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
map_suite_style_guide [2016/10/06 22:04]
benbai [PointStyle]
map_suite_style_guide [2017/03/17 02:08] (current)
tgwikiupdate
Line 1: Line 1:
 ====== Map Suite Style Guide ====== ====== Map Suite Style Guide ======
 +{{section>​upgrade_map_suite_to_10.0}}
 +
 <div msgbox> <div msgbox>
 This guide is a work in progress. ​ If you have suggestion or comment please use the discussion tab on this page. This guide is a work in progress. ​ If you have suggestion or comment please use the discussion tab on this page.
Line 303: Line 305:
  
 ===== Predefined Styles ===== ===== Predefined Styles =====
 +[[map_suite_predefined_styles|Map Suite Predefined Style Guide]]
 ===== Simple Styles ===== ===== Simple Styles =====
 ==== AreaStyle ==== ==== AreaStyle ====
 ==== LineStyle ==== ==== LineStyle ====
-==== PointStyle ==== 
- 
-=== WellPointStyle === 
- 
-Map Suite integrates 186 well points styles in the component. Here the following code will print out each of those style to a standalone bitmap. ​ 
- 
-    for (int i = 1; i <= 186; i++) 
-            { 
-                WellPointStyle pointStyle = new WellPointStyle(i,​ GeoBrushes.Black,​ GeoPens.Black,​ 30); 
-                Bitmap bitmap = new Bitmap(128, 128); 
-                GdiPlusGeoCanvas gdiPlusGeoCanvas = new GdiPlusGeoCanvas();​ 
-                gdiPlusGeoCanvas.BeginDrawing(bitmap,​ new RectangleShape(-180,​ 90, 180, -90), GeographyUnit.DecimalDegree);​ 
-                pointStyle.DrawSample(gdiPlusGeoCanvas);​ 
-                gdiPlusGeoCanvas.EndDrawing();​ 
-                bitmap.Save(@"​C:​\WellStyles\Number_"​ + i.ToString() + "​.png",​ ImageFormat.Png);​ 
-            } 
- 
-Here are the icons generated from the code above. ​ 
-{{wellpointstyles.png}} 
-            ​ 
-            ​ 
  
 ==== TextStyle ==== ==== TextStyle ====
Line 378: Line 360:
  
 </​div>​ </​div>​
- 
  
map_suite_style_guide.1475791493.txt.gz · Last modified: 2016/10/06 22:04 (external edit)