Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-11-30 09:40:27

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 <algorithm>
0012 #include <string>
0013 #include <tuple>
0014 #include <utility>
0015 #include <vector>
0016 
0017 #include "actsvg/core.hpp"
0018 #include "actsvg/proto/grid.hpp"
0019 
0020 namespace actsvg {
0021 
0022 using namespace defaults;
0023 
0024 namespace display {
0025 
0026 /** Draw a grid
0027  *
0028  * @param id_ the identification of this grid
0029  * @param g_ the grid to be drawn
0030  *
0031  * @return an svg object representing the grid
0032  */
0033 svg::object grid(const std::string& id_, const proto::grid& g_);
0034 }  // namespace display
0035 }  // namespace actsvg