|
|
|||
File indexing completed on 2025-11-30 09:40:27
0001 // This file is part of the actsvg package. 0002 // 0003 // Copyright (C) 2024 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 <string> 0012 0013 #include "actsvg/core.hpp" 0014 #include "actsvg/display/grids.hpp" 0015 #include "actsvg/proto/grid.hpp" 0016 #include "actsvg/proto/material.hpp" 0017 #include "actsvg/styles/defaults.hpp" 0018 0019 namespace actsvg { 0020 0021 using namespace defaults; 0022 0023 namespace display { 0024 0025 /** Draw a grid 0026 * 0027 * @param id_ the identification of this grid 0028 * @param m_ the surface material 0029 * @param info_pos_ the position of the info text 0030 * 0031 * @return an svg object representing the grid 0032 */ 0033 svg::object surface_material(const std::string& id_, 0034 const proto::surface_material& m_); 0035 } // namespace display 0036 } // namespace actsvg
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|