[GRASS-SVN] r50214 - in grass/trunk/gui/images: . symbols
symbols/basic symbols/demo symbols/extra symbols/geology
svn_grass at osgeo.org
svn_grass at osgeo.org
Mon Jan 16 16:27:54 EST 2012
Author: annakrat
Date: 2012-01-16 13:27:54 -0800 (Mon, 16 Jan 2012)
New Revision: 50214
Added:
grass/trunk/gui/images/symbols/
grass/trunk/gui/images/symbols/README
grass/trunk/gui/images/symbols/basic/
grass/trunk/gui/images/symbols/basic/arrow1.png
grass/trunk/gui/images/symbols/basic/arrow2.png
grass/trunk/gui/images/symbols/basic/box.png
grass/trunk/gui/images/symbols/basic/circle.png
grass/trunk/gui/images/symbols/basic/cross1.png
grass/trunk/gui/images/symbols/basic/cross2.png
grass/trunk/gui/images/symbols/basic/diamond.png
grass/trunk/gui/images/symbols/basic/marker.png
grass/trunk/gui/images/symbols/basic/octagon.png
grass/trunk/gui/images/symbols/basic/point.png
grass/trunk/gui/images/symbols/basic/pushpin.png
grass/trunk/gui/images/symbols/basic/star.png
grass/trunk/gui/images/symbols/basic/triangle.png
grass/trunk/gui/images/symbols/basic/x.png
grass/trunk/gui/images/symbols/demo/
grass/trunk/gui/images/symbols/demo/muchomurka.png
grass/trunk/gui/images/symbols/demo/smrk.png
grass/trunk/gui/images/symbols/extra/
grass/trunk/gui/images/symbols/extra/4pt_star.png
grass/trunk/gui/images/symbols/extra/adcp.png
grass/trunk/gui/images/symbols/extra/airport.png
grass/trunk/gui/images/symbols/extra/alpha_flag.png
grass/trunk/gui/images/symbols/extra/bridge.png
grass/trunk/gui/images/symbols/extra/compass.png
grass/trunk/gui/images/symbols/extra/dive_flag.png
grass/trunk/gui/images/symbols/extra/fancy_compass.png
grass/trunk/gui/images/symbols/extra/fiducial.png
grass/trunk/gui/images/symbols/extra/fish.png
grass/trunk/gui/images/symbols/extra/half-box.png
grass/trunk/gui/images/symbols/extra/half-circle.png
grass/trunk/gui/images/symbols/extra/n_arrow1.png
grass/trunk/gui/images/symbols/extra/n_arrow2.png
grass/trunk/gui/images/symbols/extra/n_arrow3.png
grass/trunk/gui/images/symbols/extra/offbox_ne.png
grass/trunk/gui/images/symbols/extra/offbox_nw.png
grass/trunk/gui/images/symbols/extra/offbox_se.png
grass/trunk/gui/images/symbols/extra/offbox_sw.png
grass/trunk/gui/images/symbols/extra/pentagon.png
grass/trunk/gui/images/symbols/extra/ping.png
grass/trunk/gui/images/symbols/extra/ring.png
grass/trunk/gui/images/symbols/extra/target.png
grass/trunk/gui/images/symbols/geology/
grass/trunk/gui/images/symbols/geology/half-arrow_left.png
grass/trunk/gui/images/symbols/geology/half-arrow_right.png
grass/trunk/gui/images/symbols/geology/strike_box.png
grass/trunk/gui/images/symbols/geology/strike_circle.png
grass/trunk/gui/images/symbols/geology/strike_half-bowtie.png
grass/trunk/gui/images/symbols/geology/strike_line.png
grass/trunk/gui/images/symbols/geology/strike_triangle.png
Log:
wxGUI: first step to improve symbol selection - symbol images added
Added: grass/trunk/gui/images/symbols/README
===================================================================
--- grass/trunk/gui/images/symbols/README (rev 0)
+++ grass/trunk/gui/images/symbols/README 2012-01-16 21:27:54 UTC (rev 50214)
@@ -0,0 +1,36 @@
+Symbols in form of PNG images enable to choose easily symbols in d.vect
+and in wx.psmap dialogs. It is necessary to keep images synchronized with
+symbols from ./lib/symbol/symbol/ directories.
+
+How to create new symbol image:
+----------------------------------
+You can use following script (requires Inkscape), run script in symbol group
+directory (e.g. ./lib/symbol/symbol/basic) within a GRASS session.
+
+#!/bin/sh
+DIR=$(basename $PWD)
+PSMAP_FILE=tmp.psmap
+PS_FILE=tmp.ps
+PNG_OUT=png_out
+
+rm -r $PNG_OUT
+mkdir $PNG_OUT
+for SYMBOL in *
+do
+ if [ -f $SYMBOL ]
+ then
+ echo "border none\npoint 50% 50%\n symbol $DIR/$SYMBOL\n end\nend" > $PSMAP_FILE
+ ps.map input=$PSMAP_FILE output=$PS_FILE
+ inkscape -f $PS_FILE --export-png=$PNG_OUT/$SYMBOL.png -D -h=30
+
+ rm $PSMAP_FILE $PS_FILE
+ else
+ echo $SYMBOL is not regular file
+ fi
+done
+
+Image should have 30x30 px to be displayed correctly in GUI dialog. If the symbol
+has different width and height, you are supposed to correct it (for example
+in Gimp see Image -> Canvas size). Also consider where the reference point of symbol
+is placed (see e.g. offbox_ne, offbox_ns symbols).
+
Added: grass/trunk/gui/images/symbols/basic/arrow1.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/arrow1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/arrow2.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/arrow2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/box.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/box.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/circle.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/circle.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/cross1.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/cross1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/cross2.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/cross2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/diamond.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/diamond.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/marker.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/marker.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/octagon.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/octagon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/point.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/point.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/pushpin.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/pushpin.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/star.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/star.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/triangle.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/triangle.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/basic/x.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/basic/x.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/demo/muchomurka.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/demo/muchomurka.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/demo/smrk.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/demo/smrk.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/4pt_star.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/4pt_star.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/adcp.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/adcp.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/airport.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/airport.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/alpha_flag.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/alpha_flag.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/bridge.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/bridge.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/compass.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/compass.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/dive_flag.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/dive_flag.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/fancy_compass.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/fancy_compass.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/fiducial.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/fiducial.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/fish.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/fish.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/half-box.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/half-box.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/half-circle.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/half-circle.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/n_arrow1.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/n_arrow1.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/n_arrow2.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/n_arrow2.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/n_arrow3.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/n_arrow3.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/offbox_ne.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/offbox_ne.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/offbox_nw.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/offbox_nw.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/offbox_se.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/offbox_se.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/offbox_sw.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/offbox_sw.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/pentagon.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/pentagon.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/ping.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/ping.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/ring.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/ring.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/extra/target.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/extra/target.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/half-arrow_left.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/half-arrow_left.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/half-arrow_right.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/half-arrow_right.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/strike_box.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/strike_box.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/strike_circle.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/strike_circle.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/strike_half-bowtie.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/strike_half-bowtie.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/strike_line.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/strike_line.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Added: grass/trunk/gui/images/symbols/geology/strike_triangle.png
===================================================================
(Binary files differ)
Property changes on: grass/trunk/gui/images/symbols/geology/strike_triangle.png
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
More information about the grass-commit
mailing list