typeset
0.1.0
縦書き・横書きの日本語組版ライブラリ(JLReq 水準、ラスタ / PDF / SVG)
読み取り中…
検索中…
一致する文字列を見つけられません
svg_import.hpp
[詳解]
1
#ifndef TYPESET_OBJ_SVG_IMPORT_HPP
2
#define TYPESET_OBJ_SVG_IMPORT_HPP
3
4
#include <string>
5
6
#include "
typeset/obj/object.hpp
"
7
20
namespace
typeset::obj
{
21
22
struct
SvgImportOptions
{
23
Pt
fontSize
= 10.0f;
24
Pt
exRatio
= 0.45f;
25
};
26
30
bool
importSvg
(
const
std::string& svg,
const
SvgImportOptions
& opts,
ObjectResult
& out);
31
32
}
// namespace typeset::obj
33
34
#endif
// TYPESET_OBJ_SVG_IMPORT_HPP
typeset::obj
obj — 外部生成オブジェクト(数式・グラフ・図など)の差し込み口
Definition
object.hpp:31
typeset::obj::importSvg
bool importSvg(const std::string &svg, const SvgImportOptions &opts, ObjectResult &out)
typeset::Pt
float Pt
Definition
geom.hpp:17
object.hpp
typeset::obj::ObjectResult
Definition
object.hpp:44
typeset::obj::SvgImportOptions
Definition
svg_import.hpp:22
typeset::obj::SvgImportOptions::fontSize
Pt fontSize
em / ex の基準
Definition
svg_import.hpp:23
typeset::obj::SvgImportOptions::exRatio
Pt exRatio
1ex = fontSize × exRatio
Definition
svg_import.hpp:24
typeset
obj
svg_import.hpp
構築:
1.9.8