ToolMap
Loading...
Searching...
No Matches
tmsymbolpendef.h
1/***************************************************************************
2 tmsymbolpendef.h
3 Pen and brush definitions for tm symbology
4 -------------------
5 copyright : (C) 2007 CREALP Lucien Schreiber
6 ***************************************************************************/
7
8/***************************************************************************
9 * *
10 * This program is free software; you can redistribute it and/or modify *
11 * it under the terms of the GNU General Public License as published by *
12 * the Free Software Foundation; either version 2 of the License, or *
13 * (at your option) any later version. *
14 * *
15 ***************************************************************************/
16
17// comment doxygen
18
19#ifndef _TM_SYMBOL_PENDEF_H_
20#define _TM_SYMBOL_PENDEF_H_
21
22// For compilers that support precompilation, includes "wx/wx.h".
23#include <wx/wxprec.h>
24
25// Include wxWidgets' headers
26#ifndef WX_PRECOMP
27#include <wx/wx.h>
28#endif
29
30/***************************************************************************/
37const int tmPENSTYLE_ORIENTED = wxID_HIGHEST + 1;
38const int tmSYMBOLPENSYLES[] = {wxPENSTYLE_SOLID, wxPENSTYLE_DOT, wxPENSTYLE_LONG_DASH,
39 wxPENSTYLE_DOT_DASH, wxPENSTYLE_TRANSPARENT, tmPENSTYLE_ORIENTED};
40
41/***************************************************************************/
48const wxString tmSYMBOLPENSTYLES_NAME[] = {_("Solid line"), _("Dotted line"), _("Dashed line"),
49 _("Dot-dashed line"), _("Transparent line"), _("Oriented line")};
50
51/***************************************************************************/
57const wxBrushStyle tmSYMBOLFILLSTYLES[] = {wxBRUSHSTYLE_SOLID, wxBRUSHSTYLE_BDIAGONAL_HATCH,
58 wxBRUSHSTYLE_FDIAGONAL_HATCH, wxBRUSHSTYLE_CROSS_HATCH,
59 wxBRUSHSTYLE_VERTICAL_HATCH, wxBRUSHSTYLE_TRANSPARENT};
60
61/***************************************************************************/
67const wxString tmSYMBOLFILLSTYLES_NAME[] = {_("Solid fill"), _("Backward Diagonal hatch"), _("Forward Diagonal hatch"),
68 _("Cross hatch"), _("Vertical hatch"), _("No Fill")};
69
70#endif