these methods convert byte arrays in to base64 codes and are used in BRIDGES to represent the color arrays as strings. The code is adapted from external sources detailed below.
The SymbolGroup object is a container object to hold a collection of primitive symbol objects such as rectangles, polygons, circles, labels.
The SymbolCollection object is a container object to hold a collection of symbols (rectangles, polygons, circles, labels).
base64.cpp and base64.h Copyright (C) 2004-2008 René Nyffenegger
This source code is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages arising from the use of this software.
Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:
The origin of this source code must not be misrepresented; you must not claim that you wrote the original source code. If you use this source code in a product, an acknowledgment in the product documentation would be appreciated but is not required.
- Altered source versions must be plainly marked as such, and must not be misrepresented as being the original source code.
- This notice may not be removed or altered from any source distribution.
René Nyffenegger rene..nosp@m.nyff.nosp@m.enegg.nosp@m.er@a.nosp@m.dp-gm.nosp@m.bh.c.nosp@m.h
Modified Implementation [from LihO, Dec. 18, 12] https://stackoverflow.com/questions/180947/base64-decode-snippet-in-c
This enables make 2D vector graphics
- See also
- There is a tutorial about Symbol Collections : https://bridgesuncc.github.io/tutorials/Symbol_Collection.html
- Author
- David Burlinson, Kalpathi Subramanian
In this version, all symbols are individual primitives; future versions will support groups within groups, thereby facilitating a hierarchical model of symbols
- See also
- Author
- Kalpathi Subramanian