GUIDOLib
1.7.7
A Music Score Rendering Engine
src
engine
include
VGPen.h
Go to the documentation of this file.
1
#ifndef VGPen_H
2
#define VGPen_H
3
4
5
/*
6
GUIDO Library
7
Copyright (C) 2006 Grame
8
9
This Source Code Form is subject to the terms of the Mozilla Public
10
License, v. 2.0. If a copy of the MPL was not distributed with this
11
file, You can obtain one at http://mozilla.org/MPL/2.0/.
12
13
Grame Research Laboratory, 11, cours de Verdun Gensoul 69002 Lyon - France
14
research@grame.fr
15
16
*/
17
18
class
VGColor
;
19
25
// --------------------------------------------------------------
26
// VGPen class
27
// --------------------------------------------------------------
30
class
VGPen
31
{
32
public
:
33
VGPen
() :
mWidth
( 1 ) { }
34
void
Set
(
const
VGColor
& inColor,
float
inWidth ) {
mColor
= inColor;
mWidth
= inWidth; }
35
void
Set
(
const
VGColor
& inColor ) {
mColor
= inColor; }
36
void
Set
(
float
inWidth ) {
mWidth
= inWidth; }
37
38
VGColor
mColor
;
39
float
mWidth
;
40
};
41
44
#endif
/* VGPen_H */
VGPen
Generic class to manipulate device independant pens.
Definition:
VGPen.h:30
VGPen::Set
void Set(const VGColor &inColor)
Definition:
VGPen.h:35
VGPen::Set
void Set(const VGColor &inColor, float inWidth)
Definition:
VGPen.h:34
VGPen::VGPen
VGPen()
Definition:
VGPen.h:33
VGPen::Set
void Set(float inWidth)
Definition:
VGPen.h:36
VGColor
Generic class to manipulate device independant colors.
Definition:
VGColor.h:34
VGPen::mColor
VGColor mColor
Definition:
VGPen.h:38
VGPen::mWidth
float mWidth
Definition:
VGPen.h:39
Guido Project
Copyright © 2019
Grame-CNCM