Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-12-16 09:41:55

0001 // This file is part of the actsvg package.
0002 //
0003 // Copyright (C) 2022 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "actsvg/core.hpp"
0012 
0013 namespace actsvg {
0014 
0015 namespace defaults {
0016 
0017 // Empty object for displaying
0018 extern svg::object __e_object;
0019 
0020 // Title style
0021 extern style::font __t_font;
0022 
0023 // Sensitive surface section, including backside
0024 extern style::fill __s_fill;
0025 extern style::stroke __s_stroke;
0026 
0027 extern style::fill __bs_fill;
0028 extern style::stroke __bs_stroke;
0029 
0030 // Support surface section
0031 extern style::fill __ss_fill;
0032 extern style::stroke __ss_stroke;
0033 
0034 // Measure
0035 extern style::marker __m_marker;
0036 extern style::stroke __m_stroke;
0037 extern style::stroke __m_stroke_guide;
0038 extern style::font __m_font;
0039 
0040 // Grid information
0041 extern style::fill __g_fill;
0042 extern style::stroke __g_stroke;
0043 
0044 // Axis section
0045 extern style::stroke __a_stroke;
0046 extern style::font __a_font;
0047 extern std::array<style::marker, 2u> __a_markers;
0048 
0049 // Background panel
0050 extern style::fill __bg_fill;
0051 extern style::stroke __bg_stroke;
0052 
0053 // Transform section
0054 extern style::transform __t_identity;
0055 
0056 // White fill, white stroke
0057 extern style::fill __w_fill;
0058 extern style::stroke __w_stroke;
0059 
0060 // Red fill, red stroke
0061 extern style::fill __r_fill;
0062 extern style::stroke __r_stroke;
0063 
0064 // Black fill, black stroke
0065 extern style::fill __bl_fill;
0066 extern style::stroke __bl_stroke;
0067 
0068 // Black, dashed stroke
0069 extern style::stroke __bl_dashed_stroke;
0070 // Black, dashed stroke
0071 extern style::stroke __bl_dotted_stroke;
0072 
0073 // No fill, no stroke
0074 extern style::fill __nn_fill;
0075 extern style::stroke __nn_stroke;
0076 
0077 // A default gradient: r,g,b
0078 extern style::gradient __rgb_gradient;
0079 
0080 extern bool __defaults_set;
0081 
0082 }  // namespace defaults
0083 
0084 }  // namespace actsvg