Create dgnwritetest.c

/******************************************************************************
 * $Id: dgnwritetest.c,v 1.8 2006/01/20 16:58:28 kintel Exp $
 *
 * Project:  Microstation DGN Access Library
 * Purpose:  Test program for use of write api.
 * Author:   Frank Warmerdam, warmerdam@pobox.com
 *
 ******************************************************************************
 * Copyright (c) 2002, Frank Warmerdam <warmerdam@pobox.com>
 *
 * Permission is hereby granted, free of charge, to any person obtaining a
 * copy of this software and associated documentation files (the "Software"),
 * to deal in the Software without restriction, including without limitation
 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
 * and/or sell copies of the Software, and to permit persons to whom the
 * Software is furnished to do so, subject to the following conditions:
 *
 * The above copyright notice and this permission notice shall be included
 * in all copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
 * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
 * DEALINGS IN THE SOFTWARE.
 ******************************************************************************
 *
 * $Log: dgnwritetest.c,v $
 * Revision 1.8  2006/01/20 16:58:28  kintel
 * Changed DGNCreateComplex*() to only create complex chains/shapes, added new functions, DGNCreateSolid*() for creating 3D solids/surfaces
 *
 * Revision 1.7  2004/03/23 16:19:28  warmerda
 * restore regular form, set color info for shape header
 *
 * Revision 1.6  2003/11/25 15:47:56  warmerda
 * Added surface type for complex headers: Marius
 *
 * Revision 1.5  2003/11/04 14:23:46  warmerda
 * added check after create
 *
 * Revision 1.4  2003/05/15 14:47:24  warmerda
 * implement quaternion support on write
 *
 * Revision 1.3  2003/05/12 18:48:57  warmerda
 * added preliminary 3D write support
 *
 * Revision 1.2  2003/01/20 20:05:07  warmerda
 * added cell header test, and make c clean for windows build
 *
 * Revision 1.1  2002/11/11 20:40:33  warmerda
 * New
 *
 */