00001 /* 00002 Copyright 2011, CERTEC 00003 00004 This file is part of HIPP. 00005 00006 HIPP is free software: you can redistribute it and/or modify 00007 it under the terms of the GNU General Public License as published by 00008 the Free Software Foundation, either version 3 of the License, or 00009 (at your option) any later version. 00010 00011 HIPP is distributed in the hope that it will be useful, 00012 but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 GNU General Public License for more details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with HIPP. If not, see <http://www.gnu.org/licenses/>. 00018 00019 */ 00020 00021 #ifndef HIPPPRINTFORMATS_H_ 00022 #define HIPPPRINTFORMATS_H_ 00023 00024 namespace hipp { 00025 00026 struct PRINT_COLOUR { 00027 float r; 00028 float g; 00029 float b; 00030 float a; 00031 }; 00032 00033 struct SHAPE_PRINT_FORMAT { 00034 bool colour_override; 00035 PRINT_COLOUR colour; 00036 Cairo::Operator blend; 00037 }; 00038 00039 struct BACKGROUND_PRINT_FORMAT { 00040 PRINT_COLOUR colour; 00041 }; 00042 00043 struct PRINT_FORMAT { 00044 SHAPE_PRINT_FORMAT shape; 00045 SHAPE_PRINT_FORMAT selection; 00046 BACKGROUND_PRINT_FORMAT background; 00047 }; 00048 00049 } 00050 #endif /* HIPPPRINTFORMATS_H_ */
1.7.1