• Main Page
  • Related Pages
  • Modules
  • Classes
  • Files
  • File List
  • File Members

VGPen.h

Go to the documentation of this file.
00001 #ifndef VGPen_H
00002 #define VGPen_H
00003 
00004 
00005 /*
00006   GUIDO Library
00007   Copyright (C) 2006    Grame
00008     
00009   This Source Code Form is subject to the terms of the Mozilla Public
00010   License, v. 2.0. If a copy of the MPL was not distributed with this
00011   file, You can obtain one at http://mozilla.org/MPL/2.0/.
00012 
00013   Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
00014   research@grame.fr
00015 
00016 */
00017 
00018 class VGColor;
00019 
00025 // --------------------------------------------------------------
00026 //      VGPen class
00027 // --------------------------------------------------------------
00030 class VGPen
00031 {
00032     public:
00033                 VGPen() : mWidth( 1 ) { }
00034         void    Set( const VGColor & inColor, float inWidth )   { mColor = inColor; mWidth = inWidth; }
00035         void    Set( const VGColor & inColor )                  { mColor = inColor; }
00036         void    Set( float inWidth )                            { mWidth = inWidth; }
00037                 
00038         VGColor mColor;
00039         float mWidth;
00040 };  
00041 
00044 #endif /* VGPen_H */

Generated on Mon Jan 5 2015 11:16:24 for GUIDOLib by doxygen 1.7.2 - © Grame Research Lab.