Add files using upload-large-folder tool
Browse filesThis view is limited to 50 files because it contains too many changes. See raw diff
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/about.json +144 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/files +2 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/git +0 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/index.json +18 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/licenses/LICENSE +1632 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/paths.json +17 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/repodata_record.json +25 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/test/run_test.sh +11 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/test/test-rpath.sh +28 -0
- data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/test/test_time_dependencies.json +1 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/about.json +138 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/files +44 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/git +0 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/index.json +17 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/licenses/LICENSE +1640 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/paths.json +269 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/repodata_record.json +24 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/test/run_test.sh +11 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/test/test-rpath.sh +28 -0
- data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/test/test_time_dependencies.json +1 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/bin/pango-list +0 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/bin/pango-segmentation +0 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/bin/pango-view +0 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-attributes.h +748 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-bidi-type.h +117 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-break.h +144 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-color.h +75 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-context.h +116 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-coverage.h +108 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-direction.h +72 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-engine.h +457 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-enum-types.h +120 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-features.h +10 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-font.h +728 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-fontmap.h +143 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-fontset-simple.h +64 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-fontset.h +134 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-glyph-item.h +175 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-glyph.h +270 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-gravity.h +137 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-item.h +167 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-language.h +70 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-layout.h +563 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-markup.h +52 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-matrix.h +130 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-modules.h +84 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-ot.h +427 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-renderer.h +290 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-script.h +335 -0
- data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-tabs.h +117 -0
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/about.json
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channels": [
|
| 3 |
+
"https://repo.anaconda.com/pkgs/main",
|
| 4 |
+
"https://conda.anaconda.org/nvidia/linux-64"
|
| 5 |
+
],
|
| 6 |
+
"conda_build_version": "24.1.2",
|
| 7 |
+
"conda_version": "24.1.2",
|
| 8 |
+
"description": "CUDA Runtime Native Libraries\n",
|
| 9 |
+
"doc_url": "https://docs.nvidia.com/cuda/index.html",
|
| 10 |
+
"env_vars": {
|
| 11 |
+
"CIO_TEST": "<not set>"
|
| 12 |
+
},
|
| 13 |
+
"extra": {
|
| 14 |
+
"copy_test_source_files": true,
|
| 15 |
+
"feedstock-name": "cuda-cudart",
|
| 16 |
+
"final": true,
|
| 17 |
+
"parent_recipe": {
|
| 18 |
+
"name": "cuda-cudart-split",
|
| 19 |
+
"path": "/compute_installer/components/cuda_cudart/recipe",
|
| 20 |
+
"version": "12.8.90"
|
| 21 |
+
},
|
| 22 |
+
"recipe-maintainers": [
|
| 23 |
+
"conda-forge/cuda"
|
| 24 |
+
]
|
| 25 |
+
},
|
| 26 |
+
"home": "https://developer.nvidia.com/cuda-toolkit",
|
| 27 |
+
"identifiers": [],
|
| 28 |
+
"keywords": [],
|
| 29 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 30 |
+
"license_file": "LICENSE",
|
| 31 |
+
"license_url": "https://docs.nvidia.com/cuda/eula/index.html",
|
| 32 |
+
"root_pkgs": [
|
| 33 |
+
"_libgcc_mutex 0.1 main",
|
| 34 |
+
"_openmp_mutex 5.1 1_gnu",
|
| 35 |
+
"archspec 0.2.1 pyhd3eb1b0_0",
|
| 36 |
+
"boltons 23.0.0 py312h06a4308_0",
|
| 37 |
+
"brotli-python 1.0.9 py312h6a678d5_7",
|
| 38 |
+
"bzip2 1.0.8 h7b6447c_0",
|
| 39 |
+
"c-ares 1.19.1 h5eee18b_0",
|
| 40 |
+
"ca-certificates 2023.12.12 h06a4308_0",
|
| 41 |
+
"certifi 2024.2.2 py312h06a4308_0",
|
| 42 |
+
"cffi 1.16.0 py312h5eee18b_0",
|
| 43 |
+
"charset-normalizer 2.0.4 pyhd3eb1b0_0",
|
| 44 |
+
"conda 24.1.2 py312h06a4308_0",
|
| 45 |
+
"conda-content-trust 0.2.0 py312h06a4308_0",
|
| 46 |
+
"conda-libmamba-solver 23.12.0 pyhd3eb1b0_1",
|
| 47 |
+
"conda-package-handling 2.2.0 py312h06a4308_0",
|
| 48 |
+
"conda-package-streaming 0.9.0 py312h06a4308_0",
|
| 49 |
+
"cryptography 41.0.7 py312hdda0065_0",
|
| 50 |
+
"distro 1.8.0 py312h06a4308_0",
|
| 51 |
+
"expat 2.5.0 h6a678d5_0",
|
| 52 |
+
"fmt 9.1.0 hdb19cb5_0",
|
| 53 |
+
"icu 73.1 h6a678d5_0",
|
| 54 |
+
"idna 3.4 py312h06a4308_0",
|
| 55 |
+
"jsonpatch 1.32 pyhd3eb1b0_0",
|
| 56 |
+
"jsonpointer 2.1 pyhd3eb1b0_0",
|
| 57 |
+
"krb5 1.20.1 h143b758_1",
|
| 58 |
+
"ld_impl_linux-64 2.38 h1181459_1",
|
| 59 |
+
"libarchive 3.6.2 h6ac8c49_2",
|
| 60 |
+
"libcurl 8.5.0 h251f7ec_0",
|
| 61 |
+
"libedit 3.1.20230828 h5eee18b_0",
|
| 62 |
+
"libev 4.33 h7f8727e_1",
|
| 63 |
+
"libffi 3.4.4 h6a678d5_0",
|
| 64 |
+
"libgcc-ng 11.2.0 h1234567_1",
|
| 65 |
+
"libgomp 11.2.0 h1234567_1",
|
| 66 |
+
"libmamba 1.5.3 haf1ee3a_0",
|
| 67 |
+
"libmambapy 1.5.3 py312h2dafd23_0",
|
| 68 |
+
"libnghttp2 1.57.0 h2d74bed_0",
|
| 69 |
+
"libsolv 0.7.24 he621ea3_0",
|
| 70 |
+
"libssh2 1.10.0 hdbd6064_2",
|
| 71 |
+
"libstdcxx-ng 11.2.0 h1234567_1",
|
| 72 |
+
"libuuid 1.41.5 h5eee18b_0",
|
| 73 |
+
"libxml2 2.10.4 hf1b16e4_1",
|
| 74 |
+
"lz4-c 1.9.4 h6a678d5_0",
|
| 75 |
+
"menuinst 2.0.2 py312h06a4308_0",
|
| 76 |
+
"ncurses 6.4 h6a678d5_0",
|
| 77 |
+
"openssl 3.0.13 h7f8727e_0",
|
| 78 |
+
"packaging 23.1 py312h06a4308_0",
|
| 79 |
+
"pcre2 10.42 hebb0a14_0",
|
| 80 |
+
"pip 23.3.1 py312h06a4308_0",
|
| 81 |
+
"platformdirs 3.10.0 py312h06a4308_0",
|
| 82 |
+
"pluggy 1.0.0 py312h06a4308_1",
|
| 83 |
+
"pybind11-abi 4 hd3eb1b0_1",
|
| 84 |
+
"pycosat 0.6.6 py312h5eee18b_0",
|
| 85 |
+
"pycparser 2.21 pyhd3eb1b0_0",
|
| 86 |
+
"pysocks 1.7.1 py312h06a4308_0",
|
| 87 |
+
"python 3.12.1 h996f2a0_0",
|
| 88 |
+
"readline 8.2 h5eee18b_0",
|
| 89 |
+
"reproc 14.2.4 h295c915_1",
|
| 90 |
+
"reproc-cpp 14.2.4 h295c915_1",
|
| 91 |
+
"requests 2.31.0 py312h06a4308_1",
|
| 92 |
+
"ruamel.yaml 0.17.21 py312h5eee18b_0",
|
| 93 |
+
"setuptools 68.2.2 py312h06a4308_0",
|
| 94 |
+
"sqlite 3.41.2 h5eee18b_0",
|
| 95 |
+
"tk 8.6.12 h1ccaba5_0",
|
| 96 |
+
"tqdm 4.65.0 py312he106c6f_0",
|
| 97 |
+
"truststore 0.8.0 py312h06a4308_0",
|
| 98 |
+
"tzdata 2023d h04d1e81_0",
|
| 99 |
+
"urllib3 2.1.0 py312h06a4308_1",
|
| 100 |
+
"wheel 0.41.2 py312h06a4308_0",
|
| 101 |
+
"xz 5.4.5 h5eee18b_0",
|
| 102 |
+
"yaml-cpp 0.8.0 h6a678d5_0",
|
| 103 |
+
"zlib 1.2.13 h5eee18b_0",
|
| 104 |
+
"zstandard 0.19.0 py312h5eee18b_0",
|
| 105 |
+
"zstd 1.5.5 hc292b87_0",
|
| 106 |
+
"anaconda-anon-usage 0.4.3 py312hfc0e8ea_100",
|
| 107 |
+
"anaconda-client 1.12.3 py312h06a4308_0",
|
| 108 |
+
"attrs 23.1.0 py312h06a4308_0",
|
| 109 |
+
"beautifulsoup4 4.12.2 py312h06a4308_0",
|
| 110 |
+
"chardet 4.0.0 py312h06a4308_1003",
|
| 111 |
+
"click 8.1.7 py312h06a4308_0",
|
| 112 |
+
"conda-build 24.1.2 py312h06a4308_0",
|
| 113 |
+
"conda-index 0.4.0 pyhd3eb1b0_0",
|
| 114 |
+
"defusedxml 0.7.1 pyhd3eb1b0_0",
|
| 115 |
+
"filelock 3.13.1 py312h06a4308_0",
|
| 116 |
+
"jinja2 3.1.3 py312h06a4308_0",
|
| 117 |
+
"jsonschema 4.19.2 py312h06a4308_0",
|
| 118 |
+
"jsonschema-specifications 2023.7.1 py312h06a4308_0",
|
| 119 |
+
"jupyter_core 5.5.0 py312h06a4308_0",
|
| 120 |
+
"liblief 0.12.3 h6a678d5_0",
|
| 121 |
+
"markupsafe 2.1.3 py312h5eee18b_0",
|
| 122 |
+
"more-itertools 10.1.0 py312h06a4308_0",
|
| 123 |
+
"nbformat 5.9.2 py312h06a4308_0",
|
| 124 |
+
"patch 2.7.6 h7b6447c_1001",
|
| 125 |
+
"patchelf 0.17.2 h6a678d5_0",
|
| 126 |
+
"pkginfo 1.9.6 py312h06a4308_0",
|
| 127 |
+
"psutil 5.9.0 py312h5eee18b_0",
|
| 128 |
+
"py-lief 0.12.3 py312h6a678d5_0",
|
| 129 |
+
"python-dateutil 2.8.2 pyhd3eb1b0_0",
|
| 130 |
+
"python-fastjsonschema 2.16.2 py312h06a4308_0",
|
| 131 |
+
"python-libarchive-c 2.9 pyhd3eb1b0_1",
|
| 132 |
+
"pytz 2023.3.post1 py312h06a4308_0",
|
| 133 |
+
"pyyaml 6.0.1 py312h5eee18b_0",
|
| 134 |
+
"referencing 0.30.2 py312h06a4308_0",
|
| 135 |
+
"requests-toolbelt 1.0.0 py312h06a4308_0",
|
| 136 |
+
"rpds-py 0.10.6 py312hb02cf49_0",
|
| 137 |
+
"six 1.16.0 pyhd3eb1b0_1",
|
| 138 |
+
"soupsieve 2.5 py312h06a4308_0",
|
| 139 |
+
"traitlets 5.7.1 py312h06a4308_0",
|
| 140 |
+
"yaml 0.2.5 h7b6447c_0"
|
| 141 |
+
],
|
| 142 |
+
"summary": "CUDA Runtime Native Libraries",
|
| 143 |
+
"tags": []
|
| 144 |
+
}
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/files
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
lib/libcudart.so.12
|
| 2 |
+
lib/libcudart.so.12.8.90
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/git
ADDED
|
File without changes
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/index.json
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "x86_64",
|
| 3 |
+
"build": "0",
|
| 4 |
+
"build_number": 0,
|
| 5 |
+
"depends": [
|
| 6 |
+
"__glibc >=2.17,<3.0.a0",
|
| 7 |
+
"cuda-cudart_linux-64 12.8.90 0",
|
| 8 |
+
"cuda-version >=12.8,<12.9.0a0",
|
| 9 |
+
"libgcc-ng >=11.2.0",
|
| 10 |
+
"libstdcxx-ng >=11.2.0"
|
| 11 |
+
],
|
| 12 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 13 |
+
"name": "cuda-cudart",
|
| 14 |
+
"platform": "linux",
|
| 15 |
+
"subdir": "linux-64",
|
| 16 |
+
"timestamp": 1739446204409,
|
| 17 |
+
"version": "12.8.90"
|
| 18 |
+
}
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/licenses/LICENSE
ADDED
|
@@ -0,0 +1,1632 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
End User License Agreement
|
| 2 |
+
--------------------------
|
| 3 |
+
|
| 4 |
+
NVIDIA Software License Agreement and CUDA Supplement to
|
| 5 |
+
Software License Agreement.
|
| 6 |
+
|
| 7 |
+
The CUDA Toolkit End User License Agreement applies to the
|
| 8 |
+
NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA
|
| 9 |
+
Display Driver, NVIDIA Nsight tools (Visual Studio Edition),
|
| 10 |
+
and the associated documentation on CUDA APIs, programming
|
| 11 |
+
model and development tools. If you do not agree with the
|
| 12 |
+
terms and conditions of the license agreement, then do not
|
| 13 |
+
download or use the software.
|
| 14 |
+
|
| 15 |
+
Last updated: January 12, 2024.
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
Preface
|
| 19 |
+
-------
|
| 20 |
+
|
| 21 |
+
The Software License Agreement in Chapter 1 and the Supplement
|
| 22 |
+
in Chapter 2 contain license terms and conditions that govern
|
| 23 |
+
the use of NVIDIA toolkit. By accepting this agreement, you
|
| 24 |
+
agree to comply with all the terms and conditions applicable
|
| 25 |
+
to the product(s) included herein.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
NVIDIA Driver
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
Description
|
| 32 |
+
|
| 33 |
+
This package contains the operating system driver and
|
| 34 |
+
fundamental system software components for NVIDIA GPUs.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
NVIDIA CUDA Toolkit
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
Description
|
| 41 |
+
|
| 42 |
+
The NVIDIA CUDA Toolkit provides command-line and graphical
|
| 43 |
+
tools for building, debugging and optimizing the performance
|
| 44 |
+
of applications accelerated by NVIDIA GPUs, runtime and math
|
| 45 |
+
libraries, and documentation including programming guides,
|
| 46 |
+
user manuals, and API references.
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
Default Install Location of CUDA Toolkit
|
| 50 |
+
|
| 51 |
+
Windows platform:
|
| 52 |
+
|
| 53 |
+
%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.#
|
| 54 |
+
|
| 55 |
+
Linux platform:
|
| 56 |
+
|
| 57 |
+
/usr/local/cuda-#.#
|
| 58 |
+
|
| 59 |
+
Mac platform:
|
| 60 |
+
|
| 61 |
+
/Developer/NVIDIA/CUDA-#.#
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
NVIDIA CUDA Samples
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
Description
|
| 68 |
+
|
| 69 |
+
CUDA Samples are now located in
|
| 70 |
+
https://github.com/nvidia/cuda-samples, which includes
|
| 71 |
+
instructions for obtaining, building, and running the samples.
|
| 72 |
+
They are no longer included in the CUDA toolkit.
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
NVIDIA Nsight Visual Studio Edition (Windows only)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
Description
|
| 79 |
+
|
| 80 |
+
NVIDIA Nsight Development Platform, Visual Studio Edition is a
|
| 81 |
+
development environment integrated into Microsoft Visual
|
| 82 |
+
Studio that provides tools for debugging, profiling, analyzing
|
| 83 |
+
and optimizing your GPU computing and graphics applications.
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
Default Install Location of Nsight Visual Studio Edition
|
| 87 |
+
|
| 88 |
+
Windows platform:
|
| 89 |
+
|
| 90 |
+
%ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.#
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
1. License Agreement for NVIDIA Software Development Kits
|
| 94 |
+
---------------------------------------------------------
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
Important Notice—Read before downloading, installing,
|
| 98 |
+
copying or using the licensed software:
|
| 99 |
+
-------------------------------------------------------
|
| 100 |
+
|
| 101 |
+
This license agreement, including exhibits attached
|
| 102 |
+
("Agreement”) is a legal agreement between you and NVIDIA
|
| 103 |
+
Corporation ("NVIDIA") and governs your use of a NVIDIA
|
| 104 |
+
software development kit (“SDK”).
|
| 105 |
+
|
| 106 |
+
Each SDK has its own set of software and materials, but here
|
| 107 |
+
is a description of the types of items that may be included in
|
| 108 |
+
a SDK: source code, header files, APIs, data sets and assets
|
| 109 |
+
(examples include images, textures, models, scenes, videos,
|
| 110 |
+
native API input/output files), binary software, sample code,
|
| 111 |
+
libraries, utility programs, programming code and
|
| 112 |
+
documentation.
|
| 113 |
+
|
| 114 |
+
This Agreement can be accepted only by an adult of legal age
|
| 115 |
+
of majority in the country in which the SDK is used.
|
| 116 |
+
|
| 117 |
+
If you are entering into this Agreement on behalf of a company
|
| 118 |
+
or other legal entity, you represent that you have the legal
|
| 119 |
+
authority to bind the entity to this Agreement, in which case
|
| 120 |
+
“you” will mean the entity you represent.
|
| 121 |
+
|
| 122 |
+
If you don’t have the required age or authority to accept
|
| 123 |
+
this Agreement, or if you don’t accept all the terms and
|
| 124 |
+
conditions of this Agreement, do not download, install or use
|
| 125 |
+
the SDK.
|
| 126 |
+
|
| 127 |
+
You agree to use the SDK only for purposes that are permitted
|
| 128 |
+
by (a) this Agreement, and (b) any applicable law, regulation
|
| 129 |
+
or generally accepted practices or guidelines in the relevant
|
| 130 |
+
jurisdictions.
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
1.1. License
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
1.1.1. License Grant
|
| 137 |
+
|
| 138 |
+
Subject to the terms of this Agreement, NVIDIA hereby grants
|
| 139 |
+
you a non-exclusive, non-transferable license, without the
|
| 140 |
+
right to sublicense (except as expressly provided in this
|
| 141 |
+
Agreement) to:
|
| 142 |
+
|
| 143 |
+
1. Install and use the SDK,
|
| 144 |
+
|
| 145 |
+
2. Modify and create derivative works of sample source code
|
| 146 |
+
delivered in the SDK, and
|
| 147 |
+
|
| 148 |
+
3. Distribute those portions of the SDK that are identified
|
| 149 |
+
in this Agreement as distributable, as incorporated in
|
| 150 |
+
object code format into a software application that meets
|
| 151 |
+
the distribution requirements indicated in this Agreement.
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
1.1.2. Distribution Requirements
|
| 155 |
+
|
| 156 |
+
These are the distribution requirements for you to exercise
|
| 157 |
+
the distribution grant:
|
| 158 |
+
|
| 159 |
+
1. Your application must have material additional
|
| 160 |
+
functionality, beyond the included portions of the SDK.
|
| 161 |
+
|
| 162 |
+
2. The distributable portions of the SDK shall only be
|
| 163 |
+
accessed by your application.
|
| 164 |
+
|
| 165 |
+
3. The following notice shall be included in modifications
|
| 166 |
+
and derivative works of sample source code distributed:
|
| 167 |
+
“This software contains source code provided by NVIDIA
|
| 168 |
+
Corporation.”
|
| 169 |
+
|
| 170 |
+
4. Unless a developer tool is identified in this Agreement
|
| 171 |
+
as distributable, it is delivered for your internal use
|
| 172 |
+
only.
|
| 173 |
+
|
| 174 |
+
5. The terms under which you distribute your application
|
| 175 |
+
must be consistent with the terms of this Agreement,
|
| 176 |
+
including (without limitation) terms relating to the
|
| 177 |
+
license grant and license restrictions and protection of
|
| 178 |
+
NVIDIA’s intellectual property rights. Additionally, you
|
| 179 |
+
agree that you will protect the privacy, security and
|
| 180 |
+
legal rights of your application users.
|
| 181 |
+
|
| 182 |
+
6. You agree to notify NVIDIA in writing of any known or
|
| 183 |
+
suspected distribution or use of the SDK not in compliance
|
| 184 |
+
with the requirements of this Agreement, and to enforce
|
| 185 |
+
the terms of your agreements with respect to distributed
|
| 186 |
+
SDK.
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
1.1.3. Authorized Users
|
| 190 |
+
|
| 191 |
+
You may allow employees and contractors of your entity or of
|
| 192 |
+
your subsidiary(ies) to access and use the SDK from your
|
| 193 |
+
secure network to perform work on your behalf.
|
| 194 |
+
|
| 195 |
+
If you are an academic institution you may allow users
|
| 196 |
+
enrolled or employed by the academic institution to access and
|
| 197 |
+
use the SDK from your secure network.
|
| 198 |
+
|
| 199 |
+
You are responsible for the compliance with the terms of this
|
| 200 |
+
Agreement by your authorized users. If you become aware that
|
| 201 |
+
your authorized users didn’t follow the terms of this
|
| 202 |
+
Agreement, you agree to take reasonable steps to resolve the
|
| 203 |
+
non-compliance and prevent new occurrences.
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
1.1.4. Pre-Release SDK
|
| 207 |
+
|
| 208 |
+
The SDK versions identified as alpha, beta, preview or
|
| 209 |
+
otherwise as pre-release, may not be fully functional, may
|
| 210 |
+
contain errors or design flaws, and may have reduced or
|
| 211 |
+
different security, privacy, accessibility, availability, and
|
| 212 |
+
reliability standards relative to commercial versions of
|
| 213 |
+
NVIDIA software and materials. Use of a pre-release SDK may
|
| 214 |
+
result in unexpected results, loss of data, project delays or
|
| 215 |
+
other unpredictable damage or loss.
|
| 216 |
+
|
| 217 |
+
You may use a pre-release SDK at your own risk, understanding
|
| 218 |
+
that pre-release SDKs are not intended for use in production
|
| 219 |
+
or business-critical systems.
|
| 220 |
+
|
| 221 |
+
NVIDIA may choose not to make available a commercial version
|
| 222 |
+
of any pre-release SDK. NVIDIA may also choose to abandon
|
| 223 |
+
development and terminate the availability of a pre-release
|
| 224 |
+
SDK at any time without liability.
|
| 225 |
+
|
| 226 |
+
|
| 227 |
+
1.1.5. Updates
|
| 228 |
+
|
| 229 |
+
NVIDIA may, at its option, make available patches, workarounds
|
| 230 |
+
or other updates to this SDK. Unless the updates are provided
|
| 231 |
+
with their separate governing terms, they are deemed part of
|
| 232 |
+
the SDK licensed to you as provided in this Agreement. You
|
| 233 |
+
agree that the form and content of the SDK that NVIDIA
|
| 234 |
+
provides may change without prior notice to you. While NVIDIA
|
| 235 |
+
generally maintains compatibility between versions, NVIDIA may
|
| 236 |
+
in some cases make changes that introduce incompatibilities in
|
| 237 |
+
future versions of the SDK.
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
1.1.6. Components Under Other Licenses
|
| 241 |
+
|
| 242 |
+
The SDK may come bundled with, or otherwise include or be
|
| 243 |
+
distributed with, NVIDIA or third-party components with
|
| 244 |
+
separate legal notices or terms as may be described in
|
| 245 |
+
proprietary notices accompanying the SDK. If and to the extent
|
| 246 |
+
there is a conflict between the terms in this Agreement and
|
| 247 |
+
the license terms associated with the component, the license
|
| 248 |
+
terms associated with the components control only to the
|
| 249 |
+
extent necessary to resolve the conflict.
|
| 250 |
+
|
| 251 |
+
Subject to the other terms of this Agreement, you may use the
|
| 252 |
+
SDK to develop and test applications released under Open
|
| 253 |
+
Source Initiative (OSI) approved open source software
|
| 254 |
+
licenses.
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
1.1.7. Reservation of Rights
|
| 258 |
+
|
| 259 |
+
NVIDIA reserves all rights, title, and interest in and to the
|
| 260 |
+
SDK, not expressly granted to you under this Agreement.
|
| 261 |
+
|
| 262 |
+
|
| 263 |
+
1.2. Limitations
|
| 264 |
+
|
| 265 |
+
The following license limitations apply to your use of the
|
| 266 |
+
SDK:
|
| 267 |
+
|
| 268 |
+
1. You may not reverse engineer, decompile or disassemble,
|
| 269 |
+
or remove copyright or other proprietary notices from any
|
| 270 |
+
portion of the SDK or copies of the SDK.
|
| 271 |
+
|
| 272 |
+
2. Except as expressly provided in this Agreement, you may
|
| 273 |
+
not copy, sell, rent, sublicense, transfer, distribute,
|
| 274 |
+
modify, or create derivative works of any portion of the
|
| 275 |
+
SDK. For clarity, you may not distribute or sublicense the
|
| 276 |
+
SDK as a stand-alone product.
|
| 277 |
+
|
| 278 |
+
3. Unless you have an agreement with NVIDIA for this
|
| 279 |
+
purpose, you may not indicate that an application created
|
| 280 |
+
with the SDK is sponsored or endorsed by NVIDIA.
|
| 281 |
+
|
| 282 |
+
4. You may not bypass, disable, or circumvent any
|
| 283 |
+
encryption, security, digital rights management or
|
| 284 |
+
authentication mechanism in the SDK.
|
| 285 |
+
|
| 286 |
+
5. You may not use the SDK in any manner that would cause it
|
| 287 |
+
to become subject to an open source software license. As
|
| 288 |
+
examples, licenses that require as a condition of use,
|
| 289 |
+
modification, and/or distribution that the SDK be:
|
| 290 |
+
|
| 291 |
+
a. Disclosed or distributed in source code form;
|
| 292 |
+
|
| 293 |
+
b. Licensed for the purpose of making derivative works;
|
| 294 |
+
or
|
| 295 |
+
|
| 296 |
+
c. Redistributable at no charge.
|
| 297 |
+
|
| 298 |
+
6. You acknowledge that the SDK as delivered is not tested
|
| 299 |
+
or certified by NVIDIA for use in connection with the
|
| 300 |
+
design, construction, maintenance, and/or operation of any
|
| 301 |
+
system where the use or failure of such system could
|
| 302 |
+
result in a situation that threatens the safety of human
|
| 303 |
+
life or results in catastrophic damages (each, a "Critical
|
| 304 |
+
Application"). Examples of Critical Applications include
|
| 305 |
+
use in avionics, navigation, autonomous vehicle
|
| 306 |
+
applications, ai solutions for automotive products,
|
| 307 |
+
military, medical, life support or other life critical
|
| 308 |
+
applications. NVIDIA shall not be liable to you or any
|
| 309 |
+
third party, in whole or in part, for any claims or
|
| 310 |
+
damages arising from such uses. You are solely responsible
|
| 311 |
+
for ensuring that any product or service developed with
|
| 312 |
+
the SDK as a whole includes sufficient features to comply
|
| 313 |
+
with all applicable legal and regulatory standards and
|
| 314 |
+
requirements.
|
| 315 |
+
|
| 316 |
+
7. You agree to defend, indemnify and hold harmless NVIDIA
|
| 317 |
+
and its affiliates, and their respective employees,
|
| 318 |
+
contractors, agents, officers and directors, from and
|
| 319 |
+
against any and all claims, damages, obligations, losses,
|
| 320 |
+
liabilities, costs or debt, fines, restitutions and
|
| 321 |
+
expenses (including but not limited to attorney’s fees
|
| 322 |
+
and costs incident to establishing the right of
|
| 323 |
+
indemnification) arising out of or related to products or
|
| 324 |
+
services that use the SDK in or for Critical Applications,
|
| 325 |
+
and for use of the SDK outside of the scope of this
|
| 326 |
+
Agreement or not in compliance with its terms.
|
| 327 |
+
|
| 328 |
+
8. You may not reverse engineer, decompile or disassemble
|
| 329 |
+
any portion of the output generated using SDK elements for
|
| 330 |
+
the purpose of translating such output artifacts to target
|
| 331 |
+
a non-NVIDIA platform.
|
| 332 |
+
|
| 333 |
+
|
| 334 |
+
1.3. Ownership
|
| 335 |
+
|
| 336 |
+
1. NVIDIA or its licensors hold all rights, title and
|
| 337 |
+
interest in and to the SDK and its modifications and
|
| 338 |
+
derivative works, including their respective intellectual
|
| 339 |
+
property rights, subject to your rights under Section
|
| 340 |
+
1.3.2. This SDK may include software and materials from
|
| 341 |
+
NVIDIA’s licensors, and these licensors are intended
|
| 342 |
+
third party beneficiaries that may enforce this Agreement
|
| 343 |
+
with respect to their intellectual property rights.
|
| 344 |
+
|
| 345 |
+
2. You hold all rights, title and interest in and to your
|
| 346 |
+
applications and your derivative works of the sample
|
| 347 |
+
source code delivered in the SDK, including their
|
| 348 |
+
respective intellectual property rights, subject to
|
| 349 |
+
NVIDIA’s rights under Section 1.3.1.
|
| 350 |
+
|
| 351 |
+
3. You may, but don’t have to, provide to NVIDIA
|
| 352 |
+
suggestions, feature requests or other feedback regarding
|
| 353 |
+
the SDK, including possible enhancements or modifications
|
| 354 |
+
to the SDK. For any feedback that you voluntarily provide,
|
| 355 |
+
you hereby grant NVIDIA and its affiliates a perpetual,
|
| 356 |
+
non-exclusive, worldwide, irrevocable license to use,
|
| 357 |
+
reproduce, modify, license, sublicense (through multiple
|
| 358 |
+
tiers of sublicensees), and distribute (through multiple
|
| 359 |
+
tiers of distributors) it without the payment of any
|
| 360 |
+
royalties or fees to you. NVIDIA will use feedback at its
|
| 361 |
+
choice. NVIDIA is constantly looking for ways to improve
|
| 362 |
+
its products, so you may send feedback to NVIDIA through
|
| 363 |
+
the developer portal at https://developer.nvidia.com.
|
| 364 |
+
|
| 365 |
+
|
| 366 |
+
1.4. No Warranties
|
| 367 |
+
|
| 368 |
+
THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL
|
| 369 |
+
FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND
|
| 370 |
+
ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND
|
| 371 |
+
OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
|
| 372 |
+
BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
|
| 373 |
+
FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE
|
| 374 |
+
ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO
|
| 375 |
+
WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF
|
| 376 |
+
DEALING OR COURSE OF TRADE.
|
| 377 |
+
|
| 378 |
+
|
| 379 |
+
1.5. Limitation of Liability
|
| 380 |
+
|
| 381 |
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS
|
| 382 |
+
AFFILIATES SHALL NOT BE LIABLE FOR ANY (I) SPECIAL, INCIDENTAL,
|
| 383 |
+
PUNITIVE OR CONSEQUENTIAL DAMAGES, OR (II) DAMAGES FOR (A) ANY
|
| 384 |
+
LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL,
|
| 385 |
+
OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF
|
| 386 |
+
OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE
|
| 387 |
+
OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED
|
| 388 |
+
UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING
|
| 389 |
+
NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR
|
| 390 |
+
THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES
|
| 391 |
+
TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS
|
| 392 |
+
AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE
|
| 393 |
+
NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS
|
| 394 |
+
LIMIT.
|
| 395 |
+
|
| 396 |
+
These exclusions and limitations of liability shall apply
|
| 397 |
+
regardless if NVIDIA or its affiliates have been advised of
|
| 398 |
+
the possibility of such damages, and regardless of whether a
|
| 399 |
+
remedy fails its essential purpose. These exclusions and
|
| 400 |
+
limitations of liability form an essential basis of the
|
| 401 |
+
bargain between the parties, and, absent any of these
|
| 402 |
+
exclusions or limitations of liability, the provisions of this
|
| 403 |
+
Agreement, including, without limitation, the economic terms,
|
| 404 |
+
would be substantially different.
|
| 405 |
+
|
| 406 |
+
|
| 407 |
+
1.6. Termination
|
| 408 |
+
|
| 409 |
+
1. This Agreement will continue to apply until terminated by
|
| 410 |
+
either you or NVIDIA as described below.
|
| 411 |
+
|
| 412 |
+
2. If you want to terminate this Agreement, you may do so by
|
| 413 |
+
stopping to use the SDK.
|
| 414 |
+
|
| 415 |
+
3. NVIDIA may, at any time, terminate this Agreement if:
|
| 416 |
+
|
| 417 |
+
a. (i) you fail to comply with any term of this
|
| 418 |
+
Agreement and the non-compliance is not fixed within
|
| 419 |
+
thirty (30) days following notice from NVIDIA (or
|
| 420 |
+
immediately if you violate NVIDIA’s intellectual
|
| 421 |
+
property rights);
|
| 422 |
+
|
| 423 |
+
b. (ii) you commence or participate in any legal
|
| 424 |
+
proceeding against NVIDIA with respect to the SDK; or
|
| 425 |
+
|
| 426 |
+
c. (iii) NVIDIA decides to no longer provide the SDK in
|
| 427 |
+
a country or, in NVIDIA’s sole discretion, the
|
| 428 |
+
continued use of it is no longer commercially viable.
|
| 429 |
+
|
| 430 |
+
4. Upon any termination of this Agreement, you agree to
|
| 431 |
+
promptly discontinue use of the SDK and destroy all copies
|
| 432 |
+
in your possession or control. Your prior distributions in
|
| 433 |
+
accordance with this Agreement are not affected by the
|
| 434 |
+
termination of this Agreement. Upon written request, you
|
| 435 |
+
will certify in writing that you have complied with your
|
| 436 |
+
commitments under this section. Upon any termination of
|
| 437 |
+
this Agreement all provisions survive except for the
|
| 438 |
+
license grant provisions.
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
1.7. General
|
| 442 |
+
|
| 443 |
+
If you wish to assign this Agreement or your rights and
|
| 444 |
+
obligations, including by merger, consolidation, dissolution
|
| 445 |
+
or operation of law, contact NVIDIA to ask for permission. Any
|
| 446 |
+
attempted assignment not approved by NVIDIA in writing shall
|
| 447 |
+
be void and of no effect. NVIDIA may assign, delegate or
|
| 448 |
+
transfer this Agreement and its rights and obligations, and if
|
| 449 |
+
to a non-affiliate you will be notified.
|
| 450 |
+
|
| 451 |
+
You agree to cooperate with NVIDIA and provide reasonably
|
| 452 |
+
requested information to verify your compliance with this
|
| 453 |
+
Agreement.
|
| 454 |
+
|
| 455 |
+
This Agreement will be governed in all respects by the laws of
|
| 456 |
+
the United States and of the State of Delaware, without regard to the
|
| 457 |
+
conflicts of laws principles. The United Nations Convention on
|
| 458 |
+
Contracts for the International Sale of Goods is specifically
|
| 459 |
+
disclaimed. You agree to all terms of this Agreement in the
|
| 460 |
+
English language.
|
| 461 |
+
|
| 462 |
+
The state or federal courts residing in Santa Clara County,
|
| 463 |
+
California shall have exclusive jurisdiction over any dispute
|
| 464 |
+
or claim arising out of this Agreement. Notwithstanding this,
|
| 465 |
+
you agree that NVIDIA shall still be allowed to apply for
|
| 466 |
+
injunctive remedies or an equivalent type of urgent legal
|
| 467 |
+
relief in any jurisdiction.
|
| 468 |
+
|
| 469 |
+
If any court of competent jurisdiction determines that any
|
| 470 |
+
provision of this Agreement is illegal, invalid or
|
| 471 |
+
unenforceable, such provision will be construed as limited to
|
| 472 |
+
the extent necessary to be consistent with and fully
|
| 473 |
+
enforceable under the law and the remaining provisions will
|
| 474 |
+
remain in full force and effect. Unless otherwise specified,
|
| 475 |
+
remedies are cumulative.
|
| 476 |
+
|
| 477 |
+
Each party acknowledges and agrees that the other is an
|
| 478 |
+
independent contractor in the performance of this Agreement.
|
| 479 |
+
|
| 480 |
+
The SDK has been developed entirely at private expense and is
|
| 481 |
+
“commercial items” consisting of “commercial computer
|
| 482 |
+
software” and “commercial computer software
|
| 483 |
+
documentation” provided with RESTRICTED RIGHTS. Use,
|
| 484 |
+
duplication or disclosure by the U.S. Government or a U.S.
|
| 485 |
+
Government subcontractor is subject to the restrictions in
|
| 486 |
+
this Agreement pursuant to DFARS 227.7202-3(a) or as set forth
|
| 487 |
+
in subparagraphs (c)(1) and (2) of the Commercial Computer
|
| 488 |
+
Software - Restricted Rights clause at FAR 52.227-19, as
|
| 489 |
+
applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas
|
| 490 |
+
Expressway, Santa Clara, CA 95051.
|
| 491 |
+
|
| 492 |
+
The SDK is subject to United States export laws and
|
| 493 |
+
regulations. You agree that you will not ship, transfer or
|
| 494 |
+
export the SDK into any country, or use the SDK in any manner,
|
| 495 |
+
prohibited by the United States Bureau of Industry and
|
| 496 |
+
Security or economic sanctions regulations administered by the
|
| 497 |
+
U.S. Department of Treasury’s Office of Foreign Assets
|
| 498 |
+
Control (OFAC), or any applicable export laws, restrictions or
|
| 499 |
+
regulations. These laws include restrictions on destinations,
|
| 500 |
+
end users and end use. By accepting this Agreement, you
|
| 501 |
+
confirm that you are not located in a country currently
|
| 502 |
+
embargoed by the U.S. or otherwise prohibited from receiving
|
| 503 |
+
the SDK under U.S. law.
|
| 504 |
+
|
| 505 |
+
Any notice delivered by NVIDIA to you under this Agreement
|
| 506 |
+
will be delivered via mail, email or fax. You agree that any
|
| 507 |
+
notices that NVIDIA sends you electronically will satisfy any
|
| 508 |
+
legal communication requirements. Please direct your legal
|
| 509 |
+
notices or other correspondence to NVIDIA Corporation, 2788
|
| 510 |
+
San Tomas Expressway, Santa Clara, California 95051, United
|
| 511 |
+
States of America, Attention: Legal Department.
|
| 512 |
+
|
| 513 |
+
This Agreement and any exhibits incorporated into this
|
| 514 |
+
Agreement constitute the entire agreement of the parties with
|
| 515 |
+
respect to the subject matter of this Agreement and supersede
|
| 516 |
+
all prior negotiations or documentation exchanged between the
|
| 517 |
+
parties relating to this SDK license. Any additional and/or
|
| 518 |
+
conflicting terms on documents issued by you are null, void,
|
| 519 |
+
and invalid. Any amendment or waiver under this Agreement
|
| 520 |
+
shall be in writing and signed by representatives of both
|
| 521 |
+
parties.
|
| 522 |
+
|
| 523 |
+
|
| 524 |
+
2. CUDA Toolkit Supplement to Software License Agreement for
|
| 525 |
+
NVIDIA Software Development Kits
|
| 526 |
+
------------------------------------------------------------
|
| 527 |
+
|
| 528 |
+
The terms in this supplement govern your use of the NVIDIA
|
| 529 |
+
CUDA Toolkit SDK under the terms of your license agreement
|
| 530 |
+
(“Agreement”) as modified by this supplement. Capitalized
|
| 531 |
+
terms used but not defined below have the meaning assigned to
|
| 532 |
+
them in the Agreement.
|
| 533 |
+
|
| 534 |
+
This supplement is an exhibit to the Agreement and is
|
| 535 |
+
incorporated as an integral part of the Agreement. In the
|
| 536 |
+
event of conflict between the terms in this supplement and the
|
| 537 |
+
terms in the Agreement, the terms in this supplement govern.
|
| 538 |
+
|
| 539 |
+
|
| 540 |
+
2.1. License Scope
|
| 541 |
+
|
| 542 |
+
The SDK is licensed for you to develop applications only for
|
| 543 |
+
use in systems with NVIDIA GPUs.
|
| 544 |
+
|
| 545 |
+
|
| 546 |
+
2.2. Distribution
|
| 547 |
+
|
| 548 |
+
The portions of the SDK that are distributable under the
|
| 549 |
+
Agreement are listed in Attachment A.
|
| 550 |
+
|
| 551 |
+
|
| 552 |
+
2.3. Operating Systems
|
| 553 |
+
|
| 554 |
+
Those portions of the SDK designed exclusively for use on the
|
| 555 |
+
Linux or FreeBSD operating systems, or other operating systems
|
| 556 |
+
derived from the source code to these operating systems, may
|
| 557 |
+
be copied and redistributed for use in accordance with this
|
| 558 |
+
Agreement, provided that the object code files are not
|
| 559 |
+
modified in any way (except for unzipping of compressed
|
| 560 |
+
files).
|
| 561 |
+
|
| 562 |
+
|
| 563 |
+
2.4. Audio and Video Encoders and Decoders
|
| 564 |
+
|
| 565 |
+
You acknowledge and agree that it is your sole responsibility
|
| 566 |
+
to obtain any additional third-party licenses required to
|
| 567 |
+
make, have made, use, have used, sell, import, and offer for
|
| 568 |
+
sale your products or services that include or incorporate any
|
| 569 |
+
third-party software and content relating to audio and/or
|
| 570 |
+
video encoders and decoders from, including but not limited
|
| 571 |
+
to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A.,
|
| 572 |
+
MPEG-LA, and Coding Technologies. NVIDIA does not grant to you
|
| 573 |
+
under this Agreement any necessary patent or other rights with
|
| 574 |
+
respect to any audio and/or video encoders and decoders.
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
2.5. Licensing
|
| 578 |
+
|
| 579 |
+
If the distribution terms in this Agreement are not suitable
|
| 580 |
+
for your organization, or for any questions regarding this
|
| 581 |
+
Agreement, please contact NVIDIA at
|
| 582 |
+
nvidia-compute-license-questions@nvidia.com.
|
| 583 |
+
|
| 584 |
+
|
| 585 |
+
2.6. Attachment A
|
| 586 |
+
|
| 587 |
+
The following CUDA Toolkit files may be distributed with
|
| 588 |
+
applications developed by you, including certain
|
| 589 |
+
variations of these files that have version number or
|
| 590 |
+
architecture specific information embedded in the file name -
|
| 591 |
+
as an example only, for release version 9.0 of the 64-bit
|
| 592 |
+
Windows software, the file cudart64_90.dll is redistributable.
|
| 593 |
+
|
| 594 |
+
Component
|
| 595 |
+
|
| 596 |
+
CUDA Runtime
|
| 597 |
+
|
| 598 |
+
Windows
|
| 599 |
+
|
| 600 |
+
cudart.dll, cudart_static.lib, cudadevrt.lib
|
| 601 |
+
|
| 602 |
+
Mac OSX
|
| 603 |
+
|
| 604 |
+
libcudart.dylib, libcudart_static.a, libcudadevrt.a
|
| 605 |
+
|
| 606 |
+
Linux
|
| 607 |
+
|
| 608 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 609 |
+
|
| 610 |
+
Android
|
| 611 |
+
|
| 612 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 613 |
+
|
| 614 |
+
Component
|
| 615 |
+
|
| 616 |
+
CUDA FFT Library
|
| 617 |
+
|
| 618 |
+
Windows
|
| 619 |
+
|
| 620 |
+
cufft.dll, cufftw.dll, cufft.lib, cufftw.lib
|
| 621 |
+
|
| 622 |
+
Mac OSX
|
| 623 |
+
|
| 624 |
+
libcufft.dylib, libcufft_static.a, libcufftw.dylib,
|
| 625 |
+
libcufftw_static.a
|
| 626 |
+
|
| 627 |
+
Linux
|
| 628 |
+
|
| 629 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 630 |
+
libcufftw_static.a
|
| 631 |
+
|
| 632 |
+
Android
|
| 633 |
+
|
| 634 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 635 |
+
libcufftw_static.a
|
| 636 |
+
|
| 637 |
+
Component
|
| 638 |
+
|
| 639 |
+
CUDA BLAS Library
|
| 640 |
+
|
| 641 |
+
Windows
|
| 642 |
+
|
| 643 |
+
cublas.dll, cublasLt.dll
|
| 644 |
+
|
| 645 |
+
Mac OSX
|
| 646 |
+
|
| 647 |
+
libcublas.dylib, libcublasLt.dylib, libcublas_static.a,
|
| 648 |
+
libcublasLt_static.a
|
| 649 |
+
|
| 650 |
+
Linux
|
| 651 |
+
|
| 652 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 653 |
+
libcublasLt_static.a
|
| 654 |
+
|
| 655 |
+
Android
|
| 656 |
+
|
| 657 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 658 |
+
libcublasLt_static.a
|
| 659 |
+
|
| 660 |
+
Component
|
| 661 |
+
|
| 662 |
+
NVIDIA "Drop-in" BLAS Library
|
| 663 |
+
|
| 664 |
+
Windows
|
| 665 |
+
|
| 666 |
+
nvblas.dll
|
| 667 |
+
|
| 668 |
+
Mac OSX
|
| 669 |
+
|
| 670 |
+
libnvblas.dylib
|
| 671 |
+
|
| 672 |
+
Linux
|
| 673 |
+
|
| 674 |
+
libnvblas.so
|
| 675 |
+
|
| 676 |
+
Component
|
| 677 |
+
|
| 678 |
+
CUDA Sparse Matrix Library
|
| 679 |
+
|
| 680 |
+
Windows
|
| 681 |
+
|
| 682 |
+
cusparse.dll, cusparse.lib
|
| 683 |
+
|
| 684 |
+
Mac OSX
|
| 685 |
+
|
| 686 |
+
libcusparse.dylib, libcusparse_static.a
|
| 687 |
+
|
| 688 |
+
Linux
|
| 689 |
+
|
| 690 |
+
libcusparse.so, libcusparse_static.a
|
| 691 |
+
|
| 692 |
+
Android
|
| 693 |
+
|
| 694 |
+
libcusparse.so, libcusparse_static.a
|
| 695 |
+
|
| 696 |
+
Component
|
| 697 |
+
|
| 698 |
+
CUDA Linear Solver Library
|
| 699 |
+
|
| 700 |
+
Windows
|
| 701 |
+
|
| 702 |
+
cusolver.dll, cusolver.lib
|
| 703 |
+
|
| 704 |
+
Mac OSX
|
| 705 |
+
|
| 706 |
+
libcusolver.dylib, libcusolver_static.a
|
| 707 |
+
|
| 708 |
+
Linux
|
| 709 |
+
|
| 710 |
+
libcusolver.so, libcusolver_static.a
|
| 711 |
+
|
| 712 |
+
Android
|
| 713 |
+
|
| 714 |
+
libcusolver.so, libcusolver_static.a
|
| 715 |
+
|
| 716 |
+
Component
|
| 717 |
+
|
| 718 |
+
CUDA Random Number Generation Library
|
| 719 |
+
|
| 720 |
+
Windows
|
| 721 |
+
|
| 722 |
+
curand.dll, curand.lib
|
| 723 |
+
|
| 724 |
+
Mac OSX
|
| 725 |
+
|
| 726 |
+
libcurand.dylib, libcurand_static.a
|
| 727 |
+
|
| 728 |
+
Linux
|
| 729 |
+
|
| 730 |
+
libcurand.so, libcurand_static.a
|
| 731 |
+
|
| 732 |
+
Android
|
| 733 |
+
|
| 734 |
+
libcurand.so, libcurand_static.a
|
| 735 |
+
|
| 736 |
+
Component
|
| 737 |
+
|
| 738 |
+
NVIDIA Performance Primitives Library
|
| 739 |
+
|
| 740 |
+
Windows
|
| 741 |
+
|
| 742 |
+
nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll,
|
| 743 |
+
nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll,
|
| 744 |
+
nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib,
|
| 745 |
+
nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll,
|
| 746 |
+
nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib
|
| 747 |
+
|
| 748 |
+
Mac OSX
|
| 749 |
+
|
| 750 |
+
libnppc.dylib, libnppc_static.a, libnppial.dylib,
|
| 751 |
+
libnppial_static.a, libnppicc.dylib, libnppicc_static.a,
|
| 752 |
+
libnppicom.dylib, libnppicom_static.a, libnppidei.dylib,
|
| 753 |
+
libnppidei_static.a, libnppif.dylib, libnppif_static.a,
|
| 754 |
+
libnppig.dylib, libnppig_static.a, libnppim.dylib,
|
| 755 |
+
libnppisu_static.a, libnppitc.dylib, libnppitc_static.a,
|
| 756 |
+
libnpps.dylib, libnpps_static.a
|
| 757 |
+
|
| 758 |
+
Linux
|
| 759 |
+
|
| 760 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 761 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 762 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 763 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 764 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 765 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 766 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 767 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 768 |
+
|
| 769 |
+
Android
|
| 770 |
+
|
| 771 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 772 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 773 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 774 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 775 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 776 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 777 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 778 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 779 |
+
|
| 780 |
+
Component
|
| 781 |
+
|
| 782 |
+
NVIDIA JPEG Library
|
| 783 |
+
|
| 784 |
+
Windows
|
| 785 |
+
|
| 786 |
+
nvjpeg.lib, nvjpeg.dll
|
| 787 |
+
|
| 788 |
+
Linux
|
| 789 |
+
|
| 790 |
+
libnvjpeg.so, libnvjpeg_static.a
|
| 791 |
+
|
| 792 |
+
Component
|
| 793 |
+
|
| 794 |
+
Internal common library required for statically linking to
|
| 795 |
+
cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP
|
| 796 |
+
|
| 797 |
+
Mac OSX
|
| 798 |
+
|
| 799 |
+
libculibos.a
|
| 800 |
+
|
| 801 |
+
Linux
|
| 802 |
+
|
| 803 |
+
libculibos.a
|
| 804 |
+
|
| 805 |
+
Component
|
| 806 |
+
|
| 807 |
+
NVIDIA Runtime Compilation Library and Header
|
| 808 |
+
|
| 809 |
+
All
|
| 810 |
+
|
| 811 |
+
nvrtc.h
|
| 812 |
+
|
| 813 |
+
Windows
|
| 814 |
+
|
| 815 |
+
nvrtc.dll, nvrtc-builtins.dll
|
| 816 |
+
|
| 817 |
+
Mac OSX
|
| 818 |
+
|
| 819 |
+
libnvrtc.dylib, libnvrtc-builtins.dylib
|
| 820 |
+
|
| 821 |
+
Linux
|
| 822 |
+
|
| 823 |
+
libnvrtc.so, libnvrtc-builtins.so, libnvrtc_static.a, libnvrtx-builtins_static.a
|
| 824 |
+
|
| 825 |
+
Component
|
| 826 |
+
|
| 827 |
+
NVIDIA Optimizing Compiler Library
|
| 828 |
+
|
| 829 |
+
Windows
|
| 830 |
+
|
| 831 |
+
nvvm.dll
|
| 832 |
+
|
| 833 |
+
Mac OSX
|
| 834 |
+
|
| 835 |
+
libnvvm.dylib
|
| 836 |
+
|
| 837 |
+
Linux
|
| 838 |
+
|
| 839 |
+
libnvvm.so
|
| 840 |
+
|
| 841 |
+
Component
|
| 842 |
+
|
| 843 |
+
NVIDIA JIT Linking Library
|
| 844 |
+
|
| 845 |
+
Windows
|
| 846 |
+
|
| 847 |
+
libnvJitLink.dll, libnvJitLink.lib
|
| 848 |
+
|
| 849 |
+
Linux
|
| 850 |
+
|
| 851 |
+
libnvJitLink.so, libnvJitLink_static.a
|
| 852 |
+
|
| 853 |
+
Component
|
| 854 |
+
|
| 855 |
+
NVIDIA Common Device Math Functions Library
|
| 856 |
+
|
| 857 |
+
Windows
|
| 858 |
+
|
| 859 |
+
libdevice.10.bc
|
| 860 |
+
|
| 861 |
+
Mac OSX
|
| 862 |
+
|
| 863 |
+
libdevice.10.bc
|
| 864 |
+
|
| 865 |
+
Linux
|
| 866 |
+
|
| 867 |
+
libdevice.10.bc
|
| 868 |
+
|
| 869 |
+
Component
|
| 870 |
+
|
| 871 |
+
CUDA Occupancy Calculation Header Library
|
| 872 |
+
|
| 873 |
+
All
|
| 874 |
+
|
| 875 |
+
cuda_occupancy.h
|
| 876 |
+
|
| 877 |
+
Component
|
| 878 |
+
|
| 879 |
+
CUDA Half Precision Headers
|
| 880 |
+
|
| 881 |
+
All
|
| 882 |
+
|
| 883 |
+
cuda_fp16.h, cuda_fp16.hpp
|
| 884 |
+
|
| 885 |
+
Component
|
| 886 |
+
|
| 887 |
+
CUDA Profiling Tools Interface (CUPTI) Library
|
| 888 |
+
|
| 889 |
+
Windows
|
| 890 |
+
|
| 891 |
+
cupti.dll
|
| 892 |
+
|
| 893 |
+
Mac OSX
|
| 894 |
+
|
| 895 |
+
libcupti.dylib
|
| 896 |
+
|
| 897 |
+
Linux
|
| 898 |
+
|
| 899 |
+
libcupti.so
|
| 900 |
+
|
| 901 |
+
Component
|
| 902 |
+
|
| 903 |
+
NVIDIA Tools Extension Library
|
| 904 |
+
|
| 905 |
+
Windows
|
| 906 |
+
|
| 907 |
+
nvToolsExt.dll, nvToolsExt.lib
|
| 908 |
+
|
| 909 |
+
Mac OSX
|
| 910 |
+
|
| 911 |
+
libnvToolsExt.dylib
|
| 912 |
+
|
| 913 |
+
Linux
|
| 914 |
+
|
| 915 |
+
libnvToolsExt.so
|
| 916 |
+
|
| 917 |
+
Component
|
| 918 |
+
|
| 919 |
+
NVIDIA CUDA Driver Libraries
|
| 920 |
+
|
| 921 |
+
Linux
|
| 922 |
+
|
| 923 |
+
libcuda.so, libnvidia-ptxjitcompiler.so, libnvptxcompiler_static.a
|
| 924 |
+
|
| 925 |
+
Component
|
| 926 |
+
|
| 927 |
+
NVIDIA CUDA File IO Libraries and Header
|
| 928 |
+
|
| 929 |
+
All
|
| 930 |
+
|
| 931 |
+
cufile.h
|
| 932 |
+
|
| 933 |
+
Linux
|
| 934 |
+
|
| 935 |
+
libcufile.so, libcufile_rdma.so, libcufile_static.a,
|
| 936 |
+
libcufile_rdma_static.a
|
| 937 |
+
|
| 938 |
+
In addition to the rights above, for parties that are
|
| 939 |
+
developing software intended solely for use on Jetson
|
| 940 |
+
development kits or Jetson modules, and running Linux for
|
| 941 |
+
Tegra software, the following shall apply:
|
| 942 |
+
|
| 943 |
+
* The SDK may be distributed in its entirety, as provided by
|
| 944 |
+
NVIDIA, and without separation of its components, for you
|
| 945 |
+
and/or your licensees to create software development kits
|
| 946 |
+
for use only on the Jetson platform and running Linux for
|
| 947 |
+
Tegra software.
|
| 948 |
+
|
| 949 |
+
|
| 950 |
+
2.7. Attachment B
|
| 951 |
+
|
| 952 |
+
|
| 953 |
+
Additional Licensing Obligations
|
| 954 |
+
|
| 955 |
+
The following third party components included in the SOFTWARE
|
| 956 |
+
are licensed to Licensee pursuant to the following terms and
|
| 957 |
+
conditions:
|
| 958 |
+
|
| 959 |
+
1. Licensee's use of the GDB third party component is
|
| 960 |
+
subject to the terms and conditions of GNU GPL v3:
|
| 961 |
+
|
| 962 |
+
This product includes copyrighted third-party software licensed
|
| 963 |
+
under the terms of the GNU General Public License v3 ("GPL v3").
|
| 964 |
+
All third-party software packages are copyright by their respective
|
| 965 |
+
authors. GPL v3 terms and conditions are hereby incorporated into
|
| 966 |
+
the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt
|
| 967 |
+
|
| 968 |
+
Consistent with these licensing requirements, the software
|
| 969 |
+
listed below is provided under the terms of the specified
|
| 970 |
+
open source software licenses. To obtain source code for
|
| 971 |
+
software provided under licenses that require
|
| 972 |
+
redistribution of source code, including the GNU General
|
| 973 |
+
Public License (GPL) and GNU Lesser General Public License
|
| 974 |
+
(LGPL), contact oss-requests@nvidia.com. This offer is
|
| 975 |
+
valid for a period of three (3) years from the date of the
|
| 976 |
+
distribution of this product by NVIDIA CORPORATION.
|
| 977 |
+
|
| 978 |
+
Component License
|
| 979 |
+
CUDA-GDB GPL v3
|
| 980 |
+
|
| 981 |
+
2. Licensee represents and warrants that any and all third
|
| 982 |
+
party licensing and/or royalty payment obligations in
|
| 983 |
+
connection with Licensee's use of the H.264 video codecs
|
| 984 |
+
are solely the responsibility of Licensee.
|
| 985 |
+
|
| 986 |
+
3. Licensee's use of the Thrust library is subject to the
|
| 987 |
+
terms and conditions of the Apache License Version 2.0.
|
| 988 |
+
All third-party software packages are copyright by their
|
| 989 |
+
respective authors. Apache License Version 2.0 terms and
|
| 990 |
+
conditions are hereby incorporated into the Agreement by
|
| 991 |
+
this reference.
|
| 992 |
+
http://www.apache.org/licenses/LICENSE-2.0.html
|
| 993 |
+
|
| 994 |
+
In addition, Licensee acknowledges the following notice:
|
| 995 |
+
Thrust includes source code from the Boost Iterator,
|
| 996 |
+
Tuple, System, and Random Number libraries.
|
| 997 |
+
|
| 998 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 999 |
+
. . . .
|
| 1000 |
+
|
| 1001 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1002 |
+
organization obtaining a copy of the software and accompanying
|
| 1003 |
+
documentation covered by this license (the "Software") to use,
|
| 1004 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1005 |
+
and to prepare derivative works of the Software, and to permit
|
| 1006 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1007 |
+
subject to the following:
|
| 1008 |
+
|
| 1009 |
+
The copyright notices in the Software and this entire statement,
|
| 1010 |
+
including the above license grant, this restriction and the following
|
| 1011 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1012 |
+
or in part, and all derivative works of the Software, unless such
|
| 1013 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1014 |
+
object code generated by a source language processor.
|
| 1015 |
+
|
| 1016 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1017 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1018 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1019 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1020 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1021 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1022 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1023 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1024 |
+
|
| 1025 |
+
4. Licensee's use of the LLVM third party component is
|
| 1026 |
+
subject to the following terms and conditions:
|
| 1027 |
+
|
| 1028 |
+
======================================================
|
| 1029 |
+
LLVM Release License
|
| 1030 |
+
======================================================
|
| 1031 |
+
University of Illinois/NCSA
|
| 1032 |
+
Open Source License
|
| 1033 |
+
|
| 1034 |
+
Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
|
| 1035 |
+
All rights reserved.
|
| 1036 |
+
|
| 1037 |
+
Developed by:
|
| 1038 |
+
|
| 1039 |
+
LLVM Team
|
| 1040 |
+
|
| 1041 |
+
University of Illinois at Urbana-Champaign
|
| 1042 |
+
|
| 1043 |
+
http://llvm.org
|
| 1044 |
+
|
| 1045 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1046 |
+
of this software and associated documentation files (the "Software"), to
|
| 1047 |
+
deal with the Software without restriction, including without limitation the
|
| 1048 |
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
| 1049 |
+
sell copies of the Software, and to permit persons to whom the Software is
|
| 1050 |
+
furnished to do so, subject to the following conditions:
|
| 1051 |
+
|
| 1052 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1053 |
+
this list of conditions and the following disclaimers.
|
| 1054 |
+
|
| 1055 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1056 |
+
notice, this list of conditions and the following disclaimers in the
|
| 1057 |
+
documentation and/or other materials provided with the distribution.
|
| 1058 |
+
|
| 1059 |
+
* Neither the names of the LLVM Team, University of Illinois at Urbana-
|
| 1060 |
+
Champaign, nor the names of its contributors may be used to endorse or
|
| 1061 |
+
promote products derived from this Software without specific prior
|
| 1062 |
+
written permission.
|
| 1063 |
+
|
| 1064 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1065 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1066 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
| 1067 |
+
THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
| 1068 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
| 1069 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 1070 |
+
DEALINGS WITH THE SOFTWARE.
|
| 1071 |
+
|
| 1072 |
+
5. Licensee's use of the PCRE third party component is
|
| 1073 |
+
subject to the following terms and conditions:
|
| 1074 |
+
|
| 1075 |
+
------------
|
| 1076 |
+
PCRE LICENCE
|
| 1077 |
+
------------
|
| 1078 |
+
PCRE is a library of functions to support regular expressions whose syntax
|
| 1079 |
+
and semantics are as close as possible to those of the Perl 5 language.
|
| 1080 |
+
Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
|
| 1081 |
+
specified below. The documentation for PCRE, supplied in the "doc"
|
| 1082 |
+
directory, is distributed under the same terms as the software itself. The
|
| 1083 |
+
basic library functions are written in C and are freestanding. Also
|
| 1084 |
+
included in the distribution is a set of C++ wrapper functions, and a just-
|
| 1085 |
+
in-time compiler that can be used to optimize pattern matching. These are
|
| 1086 |
+
both optional features that can be omitted when the library is built.
|
| 1087 |
+
|
| 1088 |
+
THE BASIC LIBRARY FUNCTIONS
|
| 1089 |
+
---------------------------
|
| 1090 |
+
Written by: Philip Hazel
|
| 1091 |
+
Email local part: ph10
|
| 1092 |
+
Email domain: cam.ac.uk
|
| 1093 |
+
University of Cambridge Computing Service,
|
| 1094 |
+
Cambridge, England.
|
| 1095 |
+
Copyright (c) 1997-2012 University of Cambridge
|
| 1096 |
+
All rights reserved.
|
| 1097 |
+
|
| 1098 |
+
PCRE JUST-IN-TIME COMPILATION SUPPORT
|
| 1099 |
+
-------------------------------------
|
| 1100 |
+
Written by: Zoltan Herczeg
|
| 1101 |
+
Email local part: hzmester
|
| 1102 |
+
Emain domain: freemail.hu
|
| 1103 |
+
Copyright(c) 2010-2012 Zoltan Herczeg
|
| 1104 |
+
All rights reserved.
|
| 1105 |
+
|
| 1106 |
+
STACK-LESS JUST-IN-TIME COMPILER
|
| 1107 |
+
--------------------------------
|
| 1108 |
+
Written by: Zoltan Herczeg
|
| 1109 |
+
Email local part: hzmester
|
| 1110 |
+
Emain domain: freemail.hu
|
| 1111 |
+
Copyright(c) 2009-2012 Zoltan Herczeg
|
| 1112 |
+
All rights reserved.
|
| 1113 |
+
|
| 1114 |
+
THE C++ WRAPPER FUNCTIONS
|
| 1115 |
+
-------------------------
|
| 1116 |
+
Contributed by: Google Inc.
|
| 1117 |
+
Copyright (c) 2007-2012, Google Inc.
|
| 1118 |
+
All rights reserved.
|
| 1119 |
+
|
| 1120 |
+
THE "BSD" LICENCE
|
| 1121 |
+
-----------------
|
| 1122 |
+
Redistribution and use in source and binary forms, with or without
|
| 1123 |
+
modification, are permitted provided that the following conditions are met:
|
| 1124 |
+
|
| 1125 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1126 |
+
this list of conditions and the following disclaimer.
|
| 1127 |
+
|
| 1128 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1129 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1130 |
+
documentation and/or other materials provided with the distribution.
|
| 1131 |
+
|
| 1132 |
+
* Neither the name of the University of Cambridge nor the name of Google
|
| 1133 |
+
Inc. nor the names of their contributors may be used to endorse or
|
| 1134 |
+
promote products derived from this software without specific prior
|
| 1135 |
+
written permission.
|
| 1136 |
+
|
| 1137 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 1138 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 1139 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 1140 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 1141 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1142 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1143 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 1144 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 1145 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1146 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1147 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1148 |
+
|
| 1149 |
+
6. Some of the cuBLAS library routines were written by or
|
| 1150 |
+
derived from code written by Vasily Volkov and are subject
|
| 1151 |
+
to the Modified Berkeley Software Distribution License as
|
| 1152 |
+
follows:
|
| 1153 |
+
|
| 1154 |
+
Copyright (c) 2007-2009, Regents of the University of California
|
| 1155 |
+
|
| 1156 |
+
All rights reserved.
|
| 1157 |
+
|
| 1158 |
+
Redistribution and use in source and binary forms, with or without
|
| 1159 |
+
modification, are permitted provided that the following conditions are
|
| 1160 |
+
met:
|
| 1161 |
+
* Redistributions of source code must retain the above copyright
|
| 1162 |
+
notice, this list of conditions and the following disclaimer.
|
| 1163 |
+
* Redistributions in binary form must reproduce the above
|
| 1164 |
+
copyright notice, this list of conditions and the following
|
| 1165 |
+
disclaimer in the documentation and/or other materials provided
|
| 1166 |
+
with the distribution.
|
| 1167 |
+
* Neither the name of the University of California, Berkeley nor
|
| 1168 |
+
the names of its contributors may be used to endorse or promote
|
| 1169 |
+
products derived from this software without specific prior
|
| 1170 |
+
written permission.
|
| 1171 |
+
|
| 1172 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1173 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1174 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1175 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1176 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1177 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1178 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1179 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1180 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1181 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1182 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1183 |
+
|
| 1184 |
+
7. Some of the cuBLAS library routines were written by or
|
| 1185 |
+
derived from code written by Davide Barbieri and are
|
| 1186 |
+
subject to the Modified Berkeley Software Distribution
|
| 1187 |
+
License as follows:
|
| 1188 |
+
|
| 1189 |
+
Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata.
|
| 1190 |
+
|
| 1191 |
+
All rights reserved.
|
| 1192 |
+
|
| 1193 |
+
Redistribution and use in source and binary forms, with or without
|
| 1194 |
+
modification, are permitted provided that the following conditions are
|
| 1195 |
+
met:
|
| 1196 |
+
* Redistributions of source code must retain the above copyright
|
| 1197 |
+
notice, this list of conditions and the following disclaimer.
|
| 1198 |
+
* Redistributions in binary form must reproduce the above
|
| 1199 |
+
copyright notice, this list of conditions and the following
|
| 1200 |
+
disclaimer in the documentation and/or other materials provided
|
| 1201 |
+
with the distribution.
|
| 1202 |
+
* The name of the author may not be used to endorse or promote
|
| 1203 |
+
products derived from this software without specific prior
|
| 1204 |
+
written permission.
|
| 1205 |
+
|
| 1206 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1207 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1208 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1209 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1210 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1211 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1212 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1213 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1214 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1215 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1216 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1217 |
+
|
| 1218 |
+
8. Some of the cuBLAS library routines were derived from
|
| 1219 |
+
code developed by the University of Tennessee and are
|
| 1220 |
+
subject to the Modified Berkeley Software Distribution
|
| 1221 |
+
License as follows:
|
| 1222 |
+
|
| 1223 |
+
Copyright (c) 2010 The University of Tennessee.
|
| 1224 |
+
|
| 1225 |
+
All rights reserved.
|
| 1226 |
+
|
| 1227 |
+
Redistribution and use in source and binary forms, with or without
|
| 1228 |
+
modification, are permitted provided that the following conditions are
|
| 1229 |
+
met:
|
| 1230 |
+
* Redistributions of source code must retain the above copyright
|
| 1231 |
+
notice, this list of conditions and the following disclaimer.
|
| 1232 |
+
* Redistributions in binary form must reproduce the above
|
| 1233 |
+
copyright notice, this list of conditions and the following
|
| 1234 |
+
disclaimer listed in this license in the documentation and/or
|
| 1235 |
+
other materials provided with the distribution.
|
| 1236 |
+
* Neither the name of the copyright holders nor the names of its
|
| 1237 |
+
contributors may be used to endorse or promote products derived
|
| 1238 |
+
from this software without specific prior written permission.
|
| 1239 |
+
|
| 1240 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1241 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1242 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1243 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1244 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1245 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1246 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1247 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1248 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1249 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1250 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1251 |
+
|
| 1252 |
+
9. Some of the cuBLAS library routines were written by or
|
| 1253 |
+
derived from code written by Jonathan Hogg and are subject
|
| 1254 |
+
to the Modified Berkeley Software Distribution License as
|
| 1255 |
+
follows:
|
| 1256 |
+
|
| 1257 |
+
Copyright (c) 2012, The Science and Technology Facilities Council (STFC).
|
| 1258 |
+
|
| 1259 |
+
All rights reserved.
|
| 1260 |
+
|
| 1261 |
+
Redistribution and use in source and binary forms, with or without
|
| 1262 |
+
modification, are permitted provided that the following conditions are
|
| 1263 |
+
met:
|
| 1264 |
+
* Redistributions of source code must retain the above copyright
|
| 1265 |
+
notice, this list of conditions and the following disclaimer.
|
| 1266 |
+
* Redistributions in binary form must reproduce the above
|
| 1267 |
+
copyright notice, this list of conditions and the following
|
| 1268 |
+
disclaimer in the documentation and/or other materials provided
|
| 1269 |
+
with the distribution.
|
| 1270 |
+
* Neither the name of the STFC nor the names of its contributors
|
| 1271 |
+
may be used to endorse or promote products derived from this
|
| 1272 |
+
software without specific prior written permission.
|
| 1273 |
+
|
| 1274 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1275 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1276 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1277 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE
|
| 1278 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1279 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1280 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
| 1281 |
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1282 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
| 1283 |
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
| 1284 |
+
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1285 |
+
|
| 1286 |
+
10. Some of the cuBLAS library routines were written by or
|
| 1287 |
+
derived from code written by Ahmad M. Abdelfattah, David
|
| 1288 |
+
Keyes, and Hatem Ltaief, and are subject to the Apache
|
| 1289 |
+
License, Version 2.0, as follows:
|
| 1290 |
+
|
| 1291 |
+
-- (C) Copyright 2013 King Abdullah University of Science and Technology
|
| 1292 |
+
Authors:
|
| 1293 |
+
Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa)
|
| 1294 |
+
David Keyes (david.keyes@kaust.edu.sa)
|
| 1295 |
+
Hatem Ltaief (hatem.ltaief@kaust.edu.sa)
|
| 1296 |
+
|
| 1297 |
+
Redistribution and use in source and binary forms, with or without
|
| 1298 |
+
modification, are permitted provided that the following conditions
|
| 1299 |
+
are met:
|
| 1300 |
+
|
| 1301 |
+
* Redistributions of source code must retain the above copyright
|
| 1302 |
+
notice, this list of conditions and the following disclaimer.
|
| 1303 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1304 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1305 |
+
documentation and/or other materials provided with the distribution.
|
| 1306 |
+
* Neither the name of the King Abdullah University of Science and
|
| 1307 |
+
Technology nor the names of its contributors may be used to endorse
|
| 1308 |
+
or promote products derived from this software without specific prior
|
| 1309 |
+
written permission.
|
| 1310 |
+
|
| 1311 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1312 |
+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1313 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1314 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1315 |
+
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1316 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1317 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1318 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1319 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1320 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1321 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
|
| 1322 |
+
|
| 1323 |
+
11. Some of the cuSPARSE library routines were written by or
|
| 1324 |
+
derived from code written by Li-Wen Chang and are subject
|
| 1325 |
+
to the NCSA Open Source License as follows:
|
| 1326 |
+
|
| 1327 |
+
Copyright (c) 2012, University of Illinois.
|
| 1328 |
+
|
| 1329 |
+
All rights reserved.
|
| 1330 |
+
|
| 1331 |
+
Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu
|
| 1332 |
+
|
| 1333 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 1334 |
+
a copy of this software and associated documentation files (the
|
| 1335 |
+
"Software"), to deal with the Software without restriction, including
|
| 1336 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 1337 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 1338 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 1339 |
+
the following conditions:
|
| 1340 |
+
* Redistributions of source code must retain the above copyright
|
| 1341 |
+
notice, this list of conditions and the following disclaimer.
|
| 1342 |
+
* Redistributions in binary form must reproduce the above
|
| 1343 |
+
copyright notice, this list of conditions and the following
|
| 1344 |
+
disclaimers in the documentation and/or other materials provided
|
| 1345 |
+
with the distribution.
|
| 1346 |
+
* Neither the names of IMPACT Group, University of Illinois, nor
|
| 1347 |
+
the names of its contributors may be used to endorse or promote
|
| 1348 |
+
products derived from this Software without specific prior
|
| 1349 |
+
written permission.
|
| 1350 |
+
|
| 1351 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1352 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1353 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 1354 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
|
| 1355 |
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
| 1356 |
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 1357 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
| 1358 |
+
SOFTWARE.
|
| 1359 |
+
|
| 1360 |
+
12. Some of the cuRAND library routines were written by or
|
| 1361 |
+
derived from code written by Mutsuo Saito and Makoto
|
| 1362 |
+
Matsumoto and are subject to the following license:
|
| 1363 |
+
|
| 1364 |
+
Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima
|
| 1365 |
+
University. All rights reserved.
|
| 1366 |
+
|
| 1367 |
+
Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima
|
| 1368 |
+
University and University of Tokyo. All rights reserved.
|
| 1369 |
+
|
| 1370 |
+
Redistribution and use in source and binary forms, with or without
|
| 1371 |
+
modification, are permitted provided that the following conditions are
|
| 1372 |
+
met:
|
| 1373 |
+
* Redistributions of source code must retain the above copyright
|
| 1374 |
+
notice, this list of conditions and the following disclaimer.
|
| 1375 |
+
* Redistributions in binary form must reproduce the above
|
| 1376 |
+
copyright notice, this list of conditions and the following
|
| 1377 |
+
disclaimer in the documentation and/or other materials provided
|
| 1378 |
+
with the distribution.
|
| 1379 |
+
* Neither the name of the Hiroshima University nor the names of
|
| 1380 |
+
its contributors may be used to endorse or promote products
|
| 1381 |
+
derived from this software without specific prior written
|
| 1382 |
+
permission.
|
| 1383 |
+
|
| 1384 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1385 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1386 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1387 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1388 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1389 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1390 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1391 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1392 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1393 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1394 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1395 |
+
|
| 1396 |
+
13. Some of the cuRAND library routines were derived from
|
| 1397 |
+
code developed by D. E. Shaw Research and are subject to
|
| 1398 |
+
the following license:
|
| 1399 |
+
|
| 1400 |
+
Copyright 2010-2011, D. E. Shaw Research.
|
| 1401 |
+
|
| 1402 |
+
All rights reserved.
|
| 1403 |
+
|
| 1404 |
+
Redistribution and use in source and binary forms, with or without
|
| 1405 |
+
modification, are permitted provided that the following conditions are
|
| 1406 |
+
met:
|
| 1407 |
+
* Redistributions of source code must retain the above copyright
|
| 1408 |
+
notice, this list of conditions, and the following disclaimer.
|
| 1409 |
+
* Redistributions in binary form must reproduce the above
|
| 1410 |
+
copyright notice, this list of conditions, and the following
|
| 1411 |
+
disclaimer in the documentation and/or other materials provided
|
| 1412 |
+
with the distribution.
|
| 1413 |
+
* Neither the name of D. E. Shaw Research nor the names of its
|
| 1414 |
+
contributors may be used to endorse or promote products derived
|
| 1415 |
+
from this software without specific prior written permission.
|
| 1416 |
+
|
| 1417 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1418 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1419 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1420 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1421 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1422 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1423 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1424 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1425 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1426 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1427 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1428 |
+
|
| 1429 |
+
14. Some of the Math library routines were written by or
|
| 1430 |
+
derived from code developed by Norbert Juffa and are
|
| 1431 |
+
subject to the following license:
|
| 1432 |
+
|
| 1433 |
+
Copyright (c) 2015-2017, Norbert Juffa
|
| 1434 |
+
All rights reserved.
|
| 1435 |
+
|
| 1436 |
+
Redistribution and use in source and binary forms, with or without
|
| 1437 |
+
modification, are permitted provided that the following conditions
|
| 1438 |
+
are met:
|
| 1439 |
+
|
| 1440 |
+
1. Redistributions of source code must retain the above copyright
|
| 1441 |
+
notice, this list of conditions and the following disclaimer.
|
| 1442 |
+
|
| 1443 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 1444 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1445 |
+
documentation and/or other materials provided with the distribution.
|
| 1446 |
+
|
| 1447 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1448 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1449 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1450 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1451 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1452 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1453 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1454 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1455 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1456 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1457 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1458 |
+
|
| 1459 |
+
15. Licensee's use of the lz4 third party component is
|
| 1460 |
+
subject to the following terms and conditions:
|
| 1461 |
+
|
| 1462 |
+
Copyright (C) 2011-2013, Yann Collet.
|
| 1463 |
+
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
|
| 1464 |
+
|
| 1465 |
+
Redistribution and use in source and binary forms, with or without
|
| 1466 |
+
modification, are permitted provided that the following conditions are
|
| 1467 |
+
met:
|
| 1468 |
+
|
| 1469 |
+
* Redistributions of source code must retain the above copyright
|
| 1470 |
+
notice, this list of conditions and the following disclaimer.
|
| 1471 |
+
* Redistributions in binary form must reproduce the above
|
| 1472 |
+
copyright notice, this list of conditions and the following disclaimer
|
| 1473 |
+
in the documentation and/or other materials provided with the
|
| 1474 |
+
distribution.
|
| 1475 |
+
|
| 1476 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1477 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1478 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1479 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1480 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1481 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1482 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1483 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1484 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1485 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1486 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1487 |
+
|
| 1488 |
+
16. The NPP library uses code from the Boost Math Toolkit,
|
| 1489 |
+
and is subject to the following license:
|
| 1490 |
+
|
| 1491 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 1492 |
+
. . . .
|
| 1493 |
+
|
| 1494 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1495 |
+
organization obtaining a copy of the software and accompanying
|
| 1496 |
+
documentation covered by this license (the "Software") to use,
|
| 1497 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1498 |
+
and to prepare derivative works of the Software, and to permit
|
| 1499 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1500 |
+
subject to the following:
|
| 1501 |
+
|
| 1502 |
+
The copyright notices in the Software and this entire statement,
|
| 1503 |
+
including the above license grant, this restriction and the following
|
| 1504 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1505 |
+
or in part, and all derivative works of the Software, unless such
|
| 1506 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1507 |
+
object code generated by a source language processor.
|
| 1508 |
+
|
| 1509 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1510 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1511 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1512 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1513 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1514 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1515 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1516 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1517 |
+
|
| 1518 |
+
17. Portions of the Nsight Eclipse Edition is subject to the
|
| 1519 |
+
following license:
|
| 1520 |
+
|
| 1521 |
+
The Eclipse Foundation makes available all content in this plug-in
|
| 1522 |
+
("Content"). Unless otherwise indicated below, the Content is provided
|
| 1523 |
+
to you under the terms and conditions of the Eclipse Public License
|
| 1524 |
+
Version 1.0 ("EPL"). A copy of the EPL is available at http://
|
| 1525 |
+
www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program"
|
| 1526 |
+
will mean the Content.
|
| 1527 |
+
|
| 1528 |
+
If you did not receive this Content directly from the Eclipse
|
| 1529 |
+
Foundation, the Content is being redistributed by another party
|
| 1530 |
+
("Redistributor") and different terms and conditions may apply to your
|
| 1531 |
+
use of any object code in the Content. Check the Redistributor's
|
| 1532 |
+
license that was provided with the Content. If no such license exists,
|
| 1533 |
+
contact the Redistributor. Unless otherwise indicated below, the terms
|
| 1534 |
+
and conditions of the EPL still apply to any source code in the
|
| 1535 |
+
Content and such source code may be obtained at http://www.eclipse.org.
|
| 1536 |
+
|
| 1537 |
+
18. Some of the cuBLAS library routines uses code from
|
| 1538 |
+
OpenAI, which is subject to the following license:
|
| 1539 |
+
|
| 1540 |
+
License URL
|
| 1541 |
+
https://github.com/openai/openai-gemm/blob/master/LICENSE
|
| 1542 |
+
|
| 1543 |
+
License Text
|
| 1544 |
+
The MIT License
|
| 1545 |
+
|
| 1546 |
+
Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc.
|
| 1547 |
+
|
| 1548 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1549 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 1550 |
+
in the Software without restriction, including without limitation the rights
|
| 1551 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 1552 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 1553 |
+
furnished to do so, subject to the following conditions:
|
| 1554 |
+
|
| 1555 |
+
The above copyright notice and this permission notice shall be included in
|
| 1556 |
+
all copies or substantial portions of the Software.
|
| 1557 |
+
|
| 1558 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1559 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1560 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1561 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1562 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1563 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 1564 |
+
THE SOFTWARE.
|
| 1565 |
+
|
| 1566 |
+
19. Licensee's use of the Visual Studio Setup Configuration
|
| 1567 |
+
Samples is subject to the following license:
|
| 1568 |
+
|
| 1569 |
+
The MIT License (MIT)
|
| 1570 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
| 1571 |
+
|
| 1572 |
+
Permission is hereby granted, free of charge, to any person
|
| 1573 |
+
obtaining a copy of this software and associated documentation
|
| 1574 |
+
files (the "Software"), to deal in the Software without restriction,
|
| 1575 |
+
including without limitation the rights to use, copy, modify, merge,
|
| 1576 |
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
| 1577 |
+
and to permit persons to whom the Software is furnished to do so,
|
| 1578 |
+
subject to the following conditions:
|
| 1579 |
+
|
| 1580 |
+
The above copyright notice and this permission notice shall be included
|
| 1581 |
+
in all copies or substantial portions of the Software.
|
| 1582 |
+
|
| 1583 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 1584 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1585 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1586 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1587 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1588 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 1589 |
+
|
| 1590 |
+
20. Licensee's use of linmath.h header for CPU functions for
|
| 1591 |
+
GL vector/matrix operations from lunarG is subject to the
|
| 1592 |
+
Apache License Version 2.0.
|
| 1593 |
+
|
| 1594 |
+
21. The DX12-CUDA sample uses the d3dx12.h header, which is
|
| 1595 |
+
subject to the MIT license.
|
| 1596 |
+
|
| 1597 |
+
22. Components of the driver and compiler used for binary management, including
|
| 1598 |
+
nvFatBin, nvcc, and cuobjdump, use the Zstandard library which is subject to
|
| 1599 |
+
the following license:
|
| 1600 |
+
|
| 1601 |
+
BSD License
|
| 1602 |
+
|
| 1603 |
+
For Zstandard software
|
| 1604 |
+
|
| 1605 |
+
Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
|
| 1606 |
+
|
| 1607 |
+
Redistribution and use in source and binary forms, with or without modification,
|
| 1608 |
+
are permitted provided that the following conditions are met:
|
| 1609 |
+
|
| 1610 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 1611 |
+
list of conditions and the following disclaimer.
|
| 1612 |
+
|
| 1613 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 1614 |
+
this list of conditions and the following disclaimer in the documentation
|
| 1615 |
+
and/or other materials provided with the distribution.
|
| 1616 |
+
|
| 1617 |
+
* Neither the name Facebook, nor Meta, nor the names of its contributors may
|
| 1618 |
+
be used to endorse or promote products derived from this software without
|
| 1619 |
+
specific prior written permission.
|
| 1620 |
+
|
| 1621 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 1622 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1623 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1624 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
|
| 1625 |
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 1626 |
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
| 1627 |
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1628 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1629 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
|
| 1630 |
+
OF SUCH DAMAGE.
|
| 1631 |
+
|
| 1632 |
+
-----------------
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/paths.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paths": [
|
| 3 |
+
{
|
| 4 |
+
"_path": "lib/libcudart.so.12",
|
| 5 |
+
"path_type": "softlink",
|
| 6 |
+
"sha256": "7b15fc50d4d6bc77dd66f64603d40d045545d92a7f1b38654389ad2b1e88de9e",
|
| 7 |
+
"size_in_bytes": 746033
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"_path": "lib/libcudart.so.12.8.90",
|
| 11 |
+
"path_type": "softlink",
|
| 12 |
+
"sha256": "7b15fc50d4d6bc77dd66f64603d40d045545d92a7f1b38654389ad2b1e88de9e",
|
| 13 |
+
"size_in_bytes": 746033
|
| 14 |
+
}
|
| 15 |
+
],
|
| 16 |
+
"paths_version": 1
|
| 17 |
+
}
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/repodata_record.json
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "cuda-cudart",
|
| 3 |
+
"version": "12.8.90",
|
| 4 |
+
"build": "0",
|
| 5 |
+
"build_number": 0,
|
| 6 |
+
"channel": "https://conda.anaconda.org/nvidia/linux-64",
|
| 7 |
+
"subdir": "linux-64",
|
| 8 |
+
"fn": "cuda-cudart-12.8.90-0.conda",
|
| 9 |
+
"md5": "1f08a30e0c3f7056cb10020107696928",
|
| 10 |
+
"url": "https://conda.anaconda.org/nvidia/linux-64/cuda-cudart-12.8.90-0.conda",
|
| 11 |
+
"sha256": "879f0dbda4464c0f9b4158e8bd6e521833ac95be3df9d432e988b10bbb0f54f8",
|
| 12 |
+
"arch": "x86_64",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"depends": [
|
| 15 |
+
"__glibc >=2.17,<3.0.a0",
|
| 16 |
+
"cuda-cudart_linux-64 12.8.90 0",
|
| 17 |
+
"cuda-version >=12.8,<12.9.0a0",
|
| 18 |
+
"libgcc-ng >=11.2.0",
|
| 19 |
+
"libstdcxx-ng >=11.2.0"
|
| 20 |
+
],
|
| 21 |
+
"constrains": [],
|
| 22 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 23 |
+
"timestamp": 1739446204000,
|
| 24 |
+
"size": 17666
|
| 25 |
+
}
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/test/run_test.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
set -ex
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
test -L $PREFIX/lib/libcudart.so.12
|
| 8 |
+
test -L $PREFIX/lib/libcudart.so.12.8.90
|
| 9 |
+
test -L $PREFIX/targets/x86_64-linux/lib/libcudart.so.12
|
| 10 |
+
test -f $PREFIX/targets/x86_64-linux/lib/libcudart.so.12.8.90
|
| 11 |
+
exit 0
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/test/test-rpath.sh
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux"
|
| 4 |
+
[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux"
|
| 5 |
+
[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux"
|
| 6 |
+
|
| 7 |
+
errors=""
|
| 8 |
+
|
| 9 |
+
for lib in `find ${PREFIX}/${targetsDir}/lib -type f`; do
|
| 10 |
+
[[ $lib =~ \.so ]] || continue
|
| 11 |
+
|
| 12 |
+
rpath=$(patchelf --print-rpath $lib)
|
| 13 |
+
echo "$lib rpath: $rpath"
|
| 14 |
+
if [[ $rpath != "\$ORIGIN" ]]; then
|
| 15 |
+
errors+="$lib\n"
|
| 16 |
+
elif [[ $(objdump -x ${lib} | grep "PATH") == *"RUNPATH"* ]]; then
|
| 17 |
+
errors+="$lib\n"
|
| 18 |
+
fi
|
| 19 |
+
done
|
| 20 |
+
|
| 21 |
+
if [[ $errors ]]; then
|
| 22 |
+
echo "The following libraries were found with an unexpected RPATH:"
|
| 23 |
+
echo -e "$errors"
|
| 24 |
+
|
| 25 |
+
exit 1
|
| 26 |
+
else
|
| 27 |
+
exit 0
|
| 28 |
+
fi
|
data/miniconda3/pkgs/cuda-cudart-12.8.90-0/info/test/test_time_dependencies.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
["patchelf"]
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/about.json
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"channels": [
|
| 3 |
+
"https://repo.anaconda.com/pkgs/main",
|
| 4 |
+
"https://conda.anaconda.org/nvidia/linux-64"
|
| 5 |
+
],
|
| 6 |
+
"conda_build_version": "24.1.2",
|
| 7 |
+
"conda_version": "24.1.2",
|
| 8 |
+
"description": "NPP native runtime libraries\n",
|
| 9 |
+
"doc_url": "https://docs.nvidia.com/cuda/npp/index.html",
|
| 10 |
+
"env_vars": {
|
| 11 |
+
"CIO_TEST": "<not set>"
|
| 12 |
+
},
|
| 13 |
+
"extra": {
|
| 14 |
+
"copy_test_source_files": true,
|
| 15 |
+
"final": true,
|
| 16 |
+
"recipe-maintainers": [
|
| 17 |
+
"conda-forge/cuda"
|
| 18 |
+
]
|
| 19 |
+
},
|
| 20 |
+
"home": "https://developer.nvidia.com/npp",
|
| 21 |
+
"identifiers": [],
|
| 22 |
+
"keywords": [],
|
| 23 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 24 |
+
"license_file": "LICENSE",
|
| 25 |
+
"license_url": "https://docs.nvidia.com/cuda/eula/index.html",
|
| 26 |
+
"root_pkgs": [
|
| 27 |
+
"_libgcc_mutex 0.1 main",
|
| 28 |
+
"_openmp_mutex 5.1 1_gnu",
|
| 29 |
+
"archspec 0.2.1 pyhd3eb1b0_0",
|
| 30 |
+
"boltons 23.0.0 py312h06a4308_0",
|
| 31 |
+
"brotli-python 1.0.9 py312h6a678d5_7",
|
| 32 |
+
"bzip2 1.0.8 h7b6447c_0",
|
| 33 |
+
"c-ares 1.19.1 h5eee18b_0",
|
| 34 |
+
"ca-certificates 2023.12.12 h06a4308_0",
|
| 35 |
+
"certifi 2024.2.2 py312h06a4308_0",
|
| 36 |
+
"cffi 1.16.0 py312h5eee18b_0",
|
| 37 |
+
"charset-normalizer 2.0.4 pyhd3eb1b0_0",
|
| 38 |
+
"conda 24.1.2 py312h06a4308_0",
|
| 39 |
+
"conda-content-trust 0.2.0 py312h06a4308_0",
|
| 40 |
+
"conda-libmamba-solver 23.12.0 pyhd3eb1b0_1",
|
| 41 |
+
"conda-package-handling 2.2.0 py312h06a4308_0",
|
| 42 |
+
"conda-package-streaming 0.9.0 py312h06a4308_0",
|
| 43 |
+
"cryptography 41.0.7 py312hdda0065_0",
|
| 44 |
+
"distro 1.8.0 py312h06a4308_0",
|
| 45 |
+
"expat 2.5.0 h6a678d5_0",
|
| 46 |
+
"fmt 9.1.0 hdb19cb5_0",
|
| 47 |
+
"icu 73.1 h6a678d5_0",
|
| 48 |
+
"idna 3.4 py312h06a4308_0",
|
| 49 |
+
"jsonpatch 1.32 pyhd3eb1b0_0",
|
| 50 |
+
"jsonpointer 2.1 pyhd3eb1b0_0",
|
| 51 |
+
"krb5 1.20.1 h143b758_1",
|
| 52 |
+
"ld_impl_linux-64 2.38 h1181459_1",
|
| 53 |
+
"libarchive 3.6.2 h6ac8c49_2",
|
| 54 |
+
"libcurl 8.5.0 h251f7ec_0",
|
| 55 |
+
"libedit 3.1.20230828 h5eee18b_0",
|
| 56 |
+
"libev 4.33 h7f8727e_1",
|
| 57 |
+
"libffi 3.4.4 h6a678d5_0",
|
| 58 |
+
"libgcc-ng 11.2.0 h1234567_1",
|
| 59 |
+
"libgomp 11.2.0 h1234567_1",
|
| 60 |
+
"libmamba 1.5.3 haf1ee3a_0",
|
| 61 |
+
"libmambapy 1.5.3 py312h2dafd23_0",
|
| 62 |
+
"libnghttp2 1.57.0 h2d74bed_0",
|
| 63 |
+
"libsolv 0.7.24 he621ea3_0",
|
| 64 |
+
"libssh2 1.10.0 hdbd6064_2",
|
| 65 |
+
"libstdcxx-ng 11.2.0 h1234567_1",
|
| 66 |
+
"libuuid 1.41.5 h5eee18b_0",
|
| 67 |
+
"libxml2 2.10.4 hf1b16e4_1",
|
| 68 |
+
"lz4-c 1.9.4 h6a678d5_0",
|
| 69 |
+
"menuinst 2.0.2 py312h06a4308_0",
|
| 70 |
+
"ncurses 6.4 h6a678d5_0",
|
| 71 |
+
"openssl 3.0.13 h7f8727e_0",
|
| 72 |
+
"packaging 23.1 py312h06a4308_0",
|
| 73 |
+
"pcre2 10.42 hebb0a14_0",
|
| 74 |
+
"pip 23.3.1 py312h06a4308_0",
|
| 75 |
+
"platformdirs 3.10.0 py312h06a4308_0",
|
| 76 |
+
"pluggy 1.0.0 py312h06a4308_1",
|
| 77 |
+
"pybind11-abi 4 hd3eb1b0_1",
|
| 78 |
+
"pycosat 0.6.6 py312h5eee18b_0",
|
| 79 |
+
"pycparser 2.21 pyhd3eb1b0_0",
|
| 80 |
+
"pysocks 1.7.1 py312h06a4308_0",
|
| 81 |
+
"python 3.12.1 h996f2a0_0",
|
| 82 |
+
"readline 8.2 h5eee18b_0",
|
| 83 |
+
"reproc 14.2.4 h295c915_1",
|
| 84 |
+
"reproc-cpp 14.2.4 h295c915_1",
|
| 85 |
+
"requests 2.31.0 py312h06a4308_1",
|
| 86 |
+
"ruamel.yaml 0.17.21 py312h5eee18b_0",
|
| 87 |
+
"setuptools 68.2.2 py312h06a4308_0",
|
| 88 |
+
"sqlite 3.41.2 h5eee18b_0",
|
| 89 |
+
"tk 8.6.12 h1ccaba5_0",
|
| 90 |
+
"tqdm 4.65.0 py312he106c6f_0",
|
| 91 |
+
"truststore 0.8.0 py312h06a4308_0",
|
| 92 |
+
"tzdata 2023d h04d1e81_0",
|
| 93 |
+
"urllib3 2.1.0 py312h06a4308_1",
|
| 94 |
+
"wheel 0.41.2 py312h06a4308_0",
|
| 95 |
+
"xz 5.4.5 h5eee18b_0",
|
| 96 |
+
"yaml-cpp 0.8.0 h6a678d5_0",
|
| 97 |
+
"zlib 1.2.13 h5eee18b_0",
|
| 98 |
+
"zstandard 0.19.0 py312h5eee18b_0",
|
| 99 |
+
"zstd 1.5.5 hc292b87_0",
|
| 100 |
+
"anaconda-anon-usage 0.4.3 py312hfc0e8ea_100",
|
| 101 |
+
"anaconda-client 1.12.3 py312h06a4308_0",
|
| 102 |
+
"attrs 23.1.0 py312h06a4308_0",
|
| 103 |
+
"beautifulsoup4 4.12.2 py312h06a4308_0",
|
| 104 |
+
"chardet 4.0.0 py312h06a4308_1003",
|
| 105 |
+
"click 8.1.7 py312h06a4308_0",
|
| 106 |
+
"conda-build 24.1.2 py312h06a4308_0",
|
| 107 |
+
"conda-index 0.4.0 pyhd3eb1b0_0",
|
| 108 |
+
"defusedxml 0.7.1 pyhd3eb1b0_0",
|
| 109 |
+
"filelock 3.13.1 py312h06a4308_0",
|
| 110 |
+
"jinja2 3.1.3 py312h06a4308_0",
|
| 111 |
+
"jsonschema 4.19.2 py312h06a4308_0",
|
| 112 |
+
"jsonschema-specifications 2023.7.1 py312h06a4308_0",
|
| 113 |
+
"jupyter_core 5.5.0 py312h06a4308_0",
|
| 114 |
+
"liblief 0.12.3 h6a678d5_0",
|
| 115 |
+
"markupsafe 2.1.3 py312h5eee18b_0",
|
| 116 |
+
"more-itertools 10.1.0 py312h06a4308_0",
|
| 117 |
+
"nbformat 5.9.2 py312h06a4308_0",
|
| 118 |
+
"patch 2.7.6 h7b6447c_1001",
|
| 119 |
+
"patchelf 0.17.2 h6a678d5_0",
|
| 120 |
+
"pkginfo 1.9.6 py312h06a4308_0",
|
| 121 |
+
"psutil 5.9.0 py312h5eee18b_0",
|
| 122 |
+
"py-lief 0.12.3 py312h6a678d5_0",
|
| 123 |
+
"python-dateutil 2.8.2 pyhd3eb1b0_0",
|
| 124 |
+
"python-fastjsonschema 2.16.2 py312h06a4308_0",
|
| 125 |
+
"python-libarchive-c 2.9 pyhd3eb1b0_1",
|
| 126 |
+
"pytz 2023.3.post1 py312h06a4308_0",
|
| 127 |
+
"pyyaml 6.0.1 py312h5eee18b_0",
|
| 128 |
+
"referencing 0.30.2 py312h06a4308_0",
|
| 129 |
+
"requests-toolbelt 1.0.0 py312h06a4308_0",
|
| 130 |
+
"rpds-py 0.10.6 py312hb02cf49_0",
|
| 131 |
+
"six 1.16.0 pyhd3eb1b0_1",
|
| 132 |
+
"soupsieve 2.5 py312h06a4308_0",
|
| 133 |
+
"traitlets 5.7.1 py312h06a4308_0",
|
| 134 |
+
"yaml 0.2.5 h7b6447c_0"
|
| 135 |
+
],
|
| 136 |
+
"summary": "NPP native runtime libraries",
|
| 137 |
+
"tags": []
|
| 138 |
+
}
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/files
ADDED
|
@@ -0,0 +1,44 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
lib/libnppc.so.12
|
| 2 |
+
lib/libnppc.so.12.4.1.87
|
| 3 |
+
lib/libnppial.so.12
|
| 4 |
+
lib/libnppial.so.12.4.1.87
|
| 5 |
+
lib/libnppicc.so.12
|
| 6 |
+
lib/libnppicc.so.12.4.1.87
|
| 7 |
+
lib/libnppidei.so.12
|
| 8 |
+
lib/libnppidei.so.12.4.1.87
|
| 9 |
+
lib/libnppif.so.12
|
| 10 |
+
lib/libnppif.so.12.4.1.87
|
| 11 |
+
lib/libnppig.so.12
|
| 12 |
+
lib/libnppig.so.12.4.1.87
|
| 13 |
+
lib/libnppim.so.12
|
| 14 |
+
lib/libnppim.so.12.4.1.87
|
| 15 |
+
lib/libnppist.so.12
|
| 16 |
+
lib/libnppist.so.12.4.1.87
|
| 17 |
+
lib/libnppisu.so.12
|
| 18 |
+
lib/libnppisu.so.12.4.1.87
|
| 19 |
+
lib/libnppitc.so.12
|
| 20 |
+
lib/libnppitc.so.12.4.1.87
|
| 21 |
+
lib/libnpps.so.12
|
| 22 |
+
lib/libnpps.so.12.4.1.87
|
| 23 |
+
targets/x86_64-linux/lib/libnppc.so.12
|
| 24 |
+
targets/x86_64-linux/lib/libnppc.so.12.4.1.87
|
| 25 |
+
targets/x86_64-linux/lib/libnppial.so.12
|
| 26 |
+
targets/x86_64-linux/lib/libnppial.so.12.4.1.87
|
| 27 |
+
targets/x86_64-linux/lib/libnppicc.so.12
|
| 28 |
+
targets/x86_64-linux/lib/libnppicc.so.12.4.1.87
|
| 29 |
+
targets/x86_64-linux/lib/libnppidei.so.12
|
| 30 |
+
targets/x86_64-linux/lib/libnppidei.so.12.4.1.87
|
| 31 |
+
targets/x86_64-linux/lib/libnppif.so.12
|
| 32 |
+
targets/x86_64-linux/lib/libnppif.so.12.4.1.87
|
| 33 |
+
targets/x86_64-linux/lib/libnppig.so.12
|
| 34 |
+
targets/x86_64-linux/lib/libnppig.so.12.4.1.87
|
| 35 |
+
targets/x86_64-linux/lib/libnppim.so.12
|
| 36 |
+
targets/x86_64-linux/lib/libnppim.so.12.4.1.87
|
| 37 |
+
targets/x86_64-linux/lib/libnppist.so.12
|
| 38 |
+
targets/x86_64-linux/lib/libnppist.so.12.4.1.87
|
| 39 |
+
targets/x86_64-linux/lib/libnppisu.so.12
|
| 40 |
+
targets/x86_64-linux/lib/libnppisu.so.12.4.1.87
|
| 41 |
+
targets/x86_64-linux/lib/libnppitc.so.12
|
| 42 |
+
targets/x86_64-linux/lib/libnppitc.so.12.4.1.87
|
| 43 |
+
targets/x86_64-linux/lib/libnpps.so.12
|
| 44 |
+
targets/x86_64-linux/lib/libnpps.so.12.4.1.87
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/git
ADDED
|
File without changes
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/index.json
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "x86_64",
|
| 3 |
+
"build": "0",
|
| 4 |
+
"build_number": 0,
|
| 5 |
+
"depends": [
|
| 6 |
+
"__glibc >=2.17,<3.0.a0",
|
| 7 |
+
"cuda-version >=12.9,<12.10.0a0",
|
| 8 |
+
"libgcc-ng >=11.2.0",
|
| 9 |
+
"libstdcxx-ng >=11.2.0"
|
| 10 |
+
],
|
| 11 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 12 |
+
"name": "libnpp",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"subdir": "linux-64",
|
| 15 |
+
"timestamp": 1747091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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
End User License Agreement
|
| 2 |
+
--------------------------
|
| 3 |
+
|
| 4 |
+
NVIDIA Software License Agreement and CUDA Supplement to
|
| 5 |
+
Software License Agreement.
|
| 6 |
+
|
| 7 |
+
The CUDA Toolkit End User License Agreement applies to the
|
| 8 |
+
NVIDIA CUDA Toolkit, the NVIDIA CUDA Samples, the NVIDIA
|
| 9 |
+
Display Driver, NVIDIA Nsight tools (Visual Studio Edition),
|
| 10 |
+
and the associated documentation on CUDA APIs, programming
|
| 11 |
+
model and development tools. If you do not agree with the
|
| 12 |
+
terms and conditions of the license agreement, then do not
|
| 13 |
+
download or use the software.
|
| 14 |
+
|
| 15 |
+
Last updated: January 12, 2025
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
Preface
|
| 19 |
+
-------
|
| 20 |
+
|
| 21 |
+
The Software License Agreement in Chapter 1 and the Supplement
|
| 22 |
+
in Chapter 2 contain license terms and conditions that govern
|
| 23 |
+
the use of NVIDIA toolkit. By accepting this agreement, you
|
| 24 |
+
agree to comply with all the terms and conditions applicable
|
| 25 |
+
to the product(s) included herein.
|
| 26 |
+
|
| 27 |
+
|
| 28 |
+
NVIDIA Driver
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
Description
|
| 32 |
+
|
| 33 |
+
This package contains the operating system driver and
|
| 34 |
+
fundamental system software components for NVIDIA GPUs.
|
| 35 |
+
|
| 36 |
+
|
| 37 |
+
NVIDIA CUDA Toolkit
|
| 38 |
+
|
| 39 |
+
|
| 40 |
+
Description
|
| 41 |
+
|
| 42 |
+
The NVIDIA CUDA Toolkit provides command-line and graphical
|
| 43 |
+
tools for building, debugging and optimizing the performance
|
| 44 |
+
of applications accelerated by NVIDIA GPUs, runtime and math
|
| 45 |
+
libraries, and documentation including programming guides,
|
| 46 |
+
user manuals, and API references.
|
| 47 |
+
|
| 48 |
+
|
| 49 |
+
Default Install Location of CUDA Toolkit
|
| 50 |
+
|
| 51 |
+
Windows platform:
|
| 52 |
+
|
| 53 |
+
%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v#.#
|
| 54 |
+
|
| 55 |
+
Linux platform:
|
| 56 |
+
|
| 57 |
+
/usr/local/cuda-#.#
|
| 58 |
+
|
| 59 |
+
Mac platform:
|
| 60 |
+
|
| 61 |
+
/Developer/NVIDIA/CUDA-#.#
|
| 62 |
+
|
| 63 |
+
|
| 64 |
+
NVIDIA CUDA Samples
|
| 65 |
+
|
| 66 |
+
|
| 67 |
+
Description
|
| 68 |
+
|
| 69 |
+
CUDA Samples are now located in
|
| 70 |
+
https://github.com/nvidia/cuda-samples, which includes
|
| 71 |
+
instructions for obtaining, building, and running the samples.
|
| 72 |
+
They are no longer included in the CUDA toolkit.
|
| 73 |
+
|
| 74 |
+
|
| 75 |
+
NVIDIA Nsight Visual Studio Edition (Windows only)
|
| 76 |
+
|
| 77 |
+
|
| 78 |
+
Description
|
| 79 |
+
|
| 80 |
+
NVIDIA Nsight Development Platform, Visual Studio Edition is a
|
| 81 |
+
development environment integrated into Microsoft Visual
|
| 82 |
+
Studio that provides tools for debugging, profiling, analyzing
|
| 83 |
+
and optimizing your GPU computing and graphics applications.
|
| 84 |
+
|
| 85 |
+
|
| 86 |
+
Default Install Location of Nsight Visual Studio Edition
|
| 87 |
+
|
| 88 |
+
Windows platform:
|
| 89 |
+
|
| 90 |
+
%ProgramFiles(x86)%\NVIDIA Corporation\Nsight Visual Studio Edition #.#
|
| 91 |
+
|
| 92 |
+
|
| 93 |
+
1. License Agreement for NVIDIA Software Development Kits
|
| 94 |
+
---------------------------------------------------------
|
| 95 |
+
|
| 96 |
+
|
| 97 |
+
Important Notice—Read before downloading, installing,
|
| 98 |
+
copying or using the licensed software:
|
| 99 |
+
-------------------------------------------------------
|
| 100 |
+
|
| 101 |
+
This license agreement, including exhibits attached
|
| 102 |
+
("Agreement”) is a legal agreement between you and NVIDIA
|
| 103 |
+
Corporation ("NVIDIA") and governs your use of a NVIDIA
|
| 104 |
+
software development kit (“SDK”).
|
| 105 |
+
|
| 106 |
+
Each SDK has its own set of software and materials, but here
|
| 107 |
+
is a description of the types of items that may be included in
|
| 108 |
+
a SDK: source code, header files, APIs, data sets and assets
|
| 109 |
+
(examples include images, textures, models, scenes, videos,
|
| 110 |
+
native API input/output files), binary software, sample code,
|
| 111 |
+
libraries, utility programs, programming code and
|
| 112 |
+
documentation.
|
| 113 |
+
|
| 114 |
+
This Agreement can be accepted only by an adult of legal age
|
| 115 |
+
of majority in the country in which the SDK is used.
|
| 116 |
+
|
| 117 |
+
If you are entering into this Agreement on behalf of a company
|
| 118 |
+
or other legal entity, you represent that you have the legal
|
| 119 |
+
authority to bind the entity to this Agreement, in which case
|
| 120 |
+
“you” will mean the entity you represent.
|
| 121 |
+
|
| 122 |
+
If you don’t have the required age or authority to accept
|
| 123 |
+
this Agreement, or if you don’t accept all the terms and
|
| 124 |
+
conditions of this Agreement, do not download, install or use
|
| 125 |
+
the SDK.
|
| 126 |
+
|
| 127 |
+
You agree to use the SDK only for purposes that are permitted
|
| 128 |
+
by (a) this Agreement, and (b) any applicable law, regulation
|
| 129 |
+
or generally accepted practices or guidelines in the relevant
|
| 130 |
+
jurisdictions.
|
| 131 |
+
|
| 132 |
+
|
| 133 |
+
1.1. License
|
| 134 |
+
|
| 135 |
+
|
| 136 |
+
1.1.1. License Grant
|
| 137 |
+
|
| 138 |
+
Subject to the terms of this Agreement, NVIDIA hereby grants
|
| 139 |
+
you a non-exclusive, non-transferable license, without the
|
| 140 |
+
right to sublicense (except as expressly provided in this
|
| 141 |
+
Agreement) to:
|
| 142 |
+
|
| 143 |
+
1. Install and use the SDK,
|
| 144 |
+
|
| 145 |
+
2. Modify and create derivative works of sample source code
|
| 146 |
+
delivered in the SDK, and
|
| 147 |
+
|
| 148 |
+
3. Distribute those portions of the SDK that are identified
|
| 149 |
+
in this Agreement as distributable, as incorporated in
|
| 150 |
+
object code format into a software application that meets
|
| 151 |
+
the distribution requirements indicated in this Agreement.
|
| 152 |
+
|
| 153 |
+
|
| 154 |
+
1.1.2. Distribution Requirements
|
| 155 |
+
|
| 156 |
+
These are the distribution requirements for you to exercise
|
| 157 |
+
the distribution grant:
|
| 158 |
+
|
| 159 |
+
1. Your application must have material additional
|
| 160 |
+
functionality, beyond the included portions of the SDK.
|
| 161 |
+
|
| 162 |
+
2. The distributable portions of the SDK shall only be
|
| 163 |
+
accessed by your application.
|
| 164 |
+
|
| 165 |
+
3. The following notice shall be included in modifications
|
| 166 |
+
and derivative works of sample source code distributed:
|
| 167 |
+
“This software contains source code provided by NVIDIA
|
| 168 |
+
Corporation.”
|
| 169 |
+
|
| 170 |
+
4. Unless a developer tool is identified in this Agreement
|
| 171 |
+
as distributable, it is delivered for your internal use
|
| 172 |
+
only.
|
| 173 |
+
|
| 174 |
+
5. The terms under which you distribute your application
|
| 175 |
+
must be consistent with the terms of this Agreement,
|
| 176 |
+
including (without limitation) terms relating to the
|
| 177 |
+
license grant and license restrictions and protection of
|
| 178 |
+
NVIDIA’s intellectual property rights. Additionally, you
|
| 179 |
+
agree that you will protect the privacy, security and
|
| 180 |
+
legal rights of your application users.
|
| 181 |
+
|
| 182 |
+
6. You agree to notify NVIDIA in writing of any known or
|
| 183 |
+
suspected distribution or use of the SDK not in compliance
|
| 184 |
+
with the requirements of this Agreement, and to enforce
|
| 185 |
+
the terms of your agreements with respect to distributed
|
| 186 |
+
SDK.
|
| 187 |
+
|
| 188 |
+
|
| 189 |
+
1.1.3. Authorized Users
|
| 190 |
+
|
| 191 |
+
You may allow employees and contractors of your entity or of
|
| 192 |
+
your subsidiary(ies) to access and use the SDK from your
|
| 193 |
+
secure network to perform work on your behalf.
|
| 194 |
+
|
| 195 |
+
If you are an academic institution you may allow users
|
| 196 |
+
enrolled or employed by the academic institution to access and
|
| 197 |
+
use the SDK from your secure network.
|
| 198 |
+
|
| 199 |
+
You are responsible for the compliance with the terms of this
|
| 200 |
+
Agreement by your authorized users. If you become aware that
|
| 201 |
+
your authorized users didn’t follow the terms of this
|
| 202 |
+
Agreement, you agree to take reasonable steps to resolve the
|
| 203 |
+
non-compliance and prevent new occurrences.
|
| 204 |
+
|
| 205 |
+
|
| 206 |
+
1.1.4. Pre-Release SDK
|
| 207 |
+
|
| 208 |
+
The SDK versions identified as alpha, beta, preview or
|
| 209 |
+
otherwise as pre-release, may not be fully functional, may
|
| 210 |
+
contain errors or design flaws, and may have reduced or
|
| 211 |
+
different security, privacy, accessibility, availability, and
|
| 212 |
+
reliability standards relative to commercial versions of
|
| 213 |
+
NVIDIA software and materials. Use of a pre-release SDK may
|
| 214 |
+
result in unexpected results, loss of data, project delays or
|
| 215 |
+
other unpredictable damage or loss.
|
| 216 |
+
|
| 217 |
+
You may use a pre-release SDK at your own risk, understanding
|
| 218 |
+
that pre-release SDKs are not intended for use in production
|
| 219 |
+
or business-critical systems.
|
| 220 |
+
|
| 221 |
+
NVIDIA may choose not to make available a commercial version
|
| 222 |
+
of any pre-release SDK. NVIDIA may also choose to abandon
|
| 223 |
+
development and terminate the availability of a pre-release
|
| 224 |
+
SDK at any time without liability.
|
| 225 |
+
|
| 226 |
+
|
| 227 |
+
1.1.5. Updates
|
| 228 |
+
|
| 229 |
+
NVIDIA may, at its option, make available patches, workarounds
|
| 230 |
+
or other updates to this SDK. Unless the updates are provided
|
| 231 |
+
with their separate governing terms, they are deemed part of
|
| 232 |
+
the SDK licensed to you as provided in this Agreement. You
|
| 233 |
+
agree that the form and content of the SDK that NVIDIA
|
| 234 |
+
provides may change without prior notice to you. While NVIDIA
|
| 235 |
+
generally maintains compatibility between versions, NVIDIA may
|
| 236 |
+
in some cases make changes that introduce incompatibilities in
|
| 237 |
+
future versions of the SDK.
|
| 238 |
+
|
| 239 |
+
|
| 240 |
+
1.1.6. Components Under Other Licenses
|
| 241 |
+
|
| 242 |
+
The SDK may come bundled with, or otherwise include or be
|
| 243 |
+
distributed with, NVIDIA or third-party components with
|
| 244 |
+
separate legal notices or terms as may be described in
|
| 245 |
+
proprietary notices accompanying the SDK. If and to the extent
|
| 246 |
+
there is a conflict between the terms in this Agreement and
|
| 247 |
+
the license terms associated with the component, the license
|
| 248 |
+
terms associated with the components control only to the
|
| 249 |
+
extent necessary to resolve the conflict.
|
| 250 |
+
|
| 251 |
+
Subject to the other terms of this Agreement, you may use the
|
| 252 |
+
SDK to develop and test applications released under Open
|
| 253 |
+
Source Initiative (OSI) approved open source software
|
| 254 |
+
licenses.
|
| 255 |
+
|
| 256 |
+
|
| 257 |
+
1.1.7. Reservation of Rights
|
| 258 |
+
|
| 259 |
+
NVIDIA reserves all rights, title, and interest in and to the
|
| 260 |
+
SDK, not expressly granted to you under this Agreement.
|
| 261 |
+
|
| 262 |
+
|
| 263 |
+
1.2. Limitations
|
| 264 |
+
|
| 265 |
+
The following license limitations apply to your use of the
|
| 266 |
+
SDK:
|
| 267 |
+
|
| 268 |
+
1. You may not reverse engineer, decompile or disassemble,
|
| 269 |
+
or remove copyright or other proprietary notices from any
|
| 270 |
+
portion of the SDK or copies of the SDK.
|
| 271 |
+
|
| 272 |
+
2. Except as expressly provided in this Agreement, you may
|
| 273 |
+
not copy, sell, rent, sublicense, transfer, distribute,
|
| 274 |
+
modify, or create derivative works of any portion of the
|
| 275 |
+
SDK. For clarity, you may not distribute or sublicense the
|
| 276 |
+
SDK as a stand-alone product.
|
| 277 |
+
|
| 278 |
+
3. Unless you have an agreement with NVIDIA for this
|
| 279 |
+
purpose, you may not indicate that an application created
|
| 280 |
+
with the SDK is sponsored or endorsed by NVIDIA.
|
| 281 |
+
|
| 282 |
+
4. You may not bypass, disable, or circumvent any
|
| 283 |
+
encryption, security, digital rights management or
|
| 284 |
+
authentication mechanism in the SDK.
|
| 285 |
+
|
| 286 |
+
5. You may not use the SDK in any manner that would cause it
|
| 287 |
+
to become subject to an open source software license. As
|
| 288 |
+
examples, licenses that require as a condition of use,
|
| 289 |
+
modification, and/or distribution that the SDK be:
|
| 290 |
+
|
| 291 |
+
a. Disclosed or distributed in source code form;
|
| 292 |
+
|
| 293 |
+
b. Licensed for the purpose of making derivative works;
|
| 294 |
+
or
|
| 295 |
+
|
| 296 |
+
c. Redistributable at no charge.
|
| 297 |
+
|
| 298 |
+
6. You acknowledge that the SDK as delivered is not tested
|
| 299 |
+
or certified by NVIDIA for use in connection with the
|
| 300 |
+
design, construction, maintenance, and/or operation of any
|
| 301 |
+
system where the use or failure of such system could
|
| 302 |
+
result in a situation that threatens the safety of human
|
| 303 |
+
life or results in catastrophic damages (each, a "Critical
|
| 304 |
+
Application"). Examples of Critical Applications include
|
| 305 |
+
use in avionics, navigation, autonomous vehicle
|
| 306 |
+
applications, ai solutions for automotive products,
|
| 307 |
+
military, medical, life support or other life critical
|
| 308 |
+
applications. NVIDIA shall not be liable to you or any
|
| 309 |
+
third party, in whole or in part, for any claims or
|
| 310 |
+
damages arising from such uses. You are solely responsible
|
| 311 |
+
for ensuring that any product or service developed with
|
| 312 |
+
the SDK as a whole includes sufficient features to comply
|
| 313 |
+
with all applicable legal and regulatory standards and
|
| 314 |
+
requirements.
|
| 315 |
+
|
| 316 |
+
7. You agree to defend, indemnify and hold harmless NVIDIA
|
| 317 |
+
and its affiliates, and their respective employees,
|
| 318 |
+
contractors, agents, officers and directors, from and
|
| 319 |
+
against any and all claims, damages, obligations, losses,
|
| 320 |
+
liabilities, costs or debt, fines, restitutions and
|
| 321 |
+
expenses (including but not limited to attorney’s fees
|
| 322 |
+
and costs incident to establishing the right of
|
| 323 |
+
indemnification) arising out of or related to products or
|
| 324 |
+
services that use the SDK in or for Critical Applications,
|
| 325 |
+
and for use of the SDK outside of the scope of this
|
| 326 |
+
Agreement or not in compliance with its terms.
|
| 327 |
+
|
| 328 |
+
8. You may not reverse engineer, decompile or disassemble
|
| 329 |
+
any portion of the output generated using SDK elements for
|
| 330 |
+
the purpose of translating such output artifacts to target
|
| 331 |
+
a non-NVIDIA platform.
|
| 332 |
+
|
| 333 |
+
|
| 334 |
+
1.3. Ownership
|
| 335 |
+
|
| 336 |
+
1. NVIDIA or its licensors hold all rights, title and
|
| 337 |
+
interest in and to the SDK and its modifications and
|
| 338 |
+
derivative works, including their respective intellectual
|
| 339 |
+
property rights, subject to your rights under Section
|
| 340 |
+
1.3.2. This SDK may include software and materials from
|
| 341 |
+
NVIDIA’s licensors, and these licensors are intended
|
| 342 |
+
third party beneficiaries that may enforce this Agreement
|
| 343 |
+
with respect to their intellectual property rights.
|
| 344 |
+
|
| 345 |
+
2. You hold all rights, title and interest in and to your
|
| 346 |
+
applications and your derivative works of the sample
|
| 347 |
+
source code delivered in the SDK, including their
|
| 348 |
+
respective intellectual property rights, subject to
|
| 349 |
+
NVIDIA’s rights under Section 1.3.1.
|
| 350 |
+
|
| 351 |
+
3. You may, but don’t have to, provide to NVIDIA
|
| 352 |
+
suggestions, feature requests or other feedback regarding
|
| 353 |
+
the SDK, including possible enhancements or modifications
|
| 354 |
+
to the SDK. For any feedback that you voluntarily provide,
|
| 355 |
+
you hereby grant NVIDIA and its affiliates a perpetual,
|
| 356 |
+
non-exclusive, worldwide, irrevocable license to use,
|
| 357 |
+
reproduce, modify, license, sublicense (through multiple
|
| 358 |
+
tiers of sublicensees), and distribute (through multiple
|
| 359 |
+
tiers of distributors) it without the payment of any
|
| 360 |
+
royalties or fees to you. NVIDIA will use feedback at its
|
| 361 |
+
choice. NVIDIA is constantly looking for ways to improve
|
| 362 |
+
its products, so you may send feedback to NVIDIA through
|
| 363 |
+
the developer portal at https://developer.nvidia.com.
|
| 364 |
+
|
| 365 |
+
|
| 366 |
+
1.4. No Warranties
|
| 367 |
+
|
| 368 |
+
THE SDK IS PROVIDED BY NVIDIA “AS IS” AND “WITH ALL
|
| 369 |
+
FAULTS.” TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND
|
| 370 |
+
ITS AFFILIATES EXPRESSLY DISCLAIM ALL WARRANTIES OF ANY KIND
|
| 371 |
+
OR NATURE, WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING,
|
| 372 |
+
BUT NOT LIMITED TO, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
|
| 373 |
+
FOR A PARTICULAR PURPOSE, TITLE, NON-INFRINGEMENT, OR THE
|
| 374 |
+
ABSENCE OF ANY DEFECTS THEREIN, WHETHER LATENT OR PATENT. NO
|
| 375 |
+
WARRANTY IS MADE ON THE BASIS OF TRADE USAGE, COURSE OF
|
| 376 |
+
DEALING OR COURSE OF TRADE.
|
| 377 |
+
|
| 378 |
+
|
| 379 |
+
1.5. Limitation of Liability
|
| 380 |
+
|
| 381 |
+
TO THE MAXIMUM EXTENT PERMITTED BY LAW, NVIDIA AND ITS
|
| 382 |
+
AFFILIATES SHALL NOT BE LIABLE FOR ANY (I) SPECIAL, INCIDENTAL,
|
| 383 |
+
PUNITIVE OR CONSEQUENTIAL DAMAGES, OR (II) DAMAGES FOR (A) ANY
|
| 384 |
+
LOST PROFITS, LOSS OF USE, LOSS OF DATA OR LOSS OF GOODWILL,
|
| 385 |
+
OR THE COSTS OF PROCURING SUBSTITUTE PRODUCTS, ARISING OUT OF
|
| 386 |
+
OR IN CONNECTION WITH THIS AGREEMENT OR THE USE OR PERFORMANCE
|
| 387 |
+
OF THE SDK, WHETHER SUCH LIABILITY ARISES FROM ANY CLAIM BASED
|
| 388 |
+
UPON BREACH OF CONTRACT, BREACH OF WARRANTY, TORT (INCLUDING
|
| 389 |
+
NEGLIGENCE), PRODUCT LIABILITY OR ANY OTHER CAUSE OF ACTION OR
|
| 390 |
+
THEORY OF LIABILITY. IN NO EVENT WILL NVIDIA’S AND ITS AFFILIATES
|
| 391 |
+
TOTAL CUMULATIVE LIABILITY UNDER OR ARISING OUT OF THIS
|
| 392 |
+
AGREEMENT EXCEED US$10.00. THE NATURE OF THE LIABILITY OR THE
|
| 393 |
+
NUMBER OF CLAIMS OR SUITS SHALL NOT ENLARGE OR EXTEND THIS
|
| 394 |
+
LIMIT.
|
| 395 |
+
|
| 396 |
+
These exclusions and limitations of liability shall apply
|
| 397 |
+
regardless if NVIDIA or its affiliates have been advised of
|
| 398 |
+
the possibility of such damages, and regardless of whether a
|
| 399 |
+
remedy fails its essential purpose. These exclusions and
|
| 400 |
+
limitations of liability form an essential basis of the
|
| 401 |
+
bargain between the parties, and, absent any of these
|
| 402 |
+
exclusions or limitations of liability, the provisions of this
|
| 403 |
+
Agreement, including, without limitation, the economic terms,
|
| 404 |
+
would be substantially different.
|
| 405 |
+
|
| 406 |
+
|
| 407 |
+
1.6. Termination
|
| 408 |
+
|
| 409 |
+
1. This Agreement will continue to apply until terminated by
|
| 410 |
+
either you or NVIDIA as described below.
|
| 411 |
+
|
| 412 |
+
2. If you want to terminate this Agreement, you may do so by
|
| 413 |
+
stopping to use the SDK.
|
| 414 |
+
|
| 415 |
+
3. NVIDIA may, at any time, terminate this Agreement if:
|
| 416 |
+
|
| 417 |
+
a. (i) you fail to comply with any term of this
|
| 418 |
+
Agreement and the non-compliance is not fixed within
|
| 419 |
+
thirty (30) days following notice from NVIDIA (or
|
| 420 |
+
immediately if you violate NVIDIA’s intellectual
|
| 421 |
+
property rights);
|
| 422 |
+
|
| 423 |
+
b. (ii) you commence or participate in any legal
|
| 424 |
+
proceeding against NVIDIA with respect to the SDK; or
|
| 425 |
+
|
| 426 |
+
c. (iii) NVIDIA decides to no longer provide the SDK in
|
| 427 |
+
a country or, in NVIDIA’s sole discretion, the
|
| 428 |
+
continued use of it is no longer commercially viable.
|
| 429 |
+
|
| 430 |
+
4. Upon any termination of this Agreement, you agree to
|
| 431 |
+
promptly discontinue use of the SDK and destroy all copies
|
| 432 |
+
in your possession or control. Your prior distributions in
|
| 433 |
+
accordance with this Agreement are not affected by the
|
| 434 |
+
termination of this Agreement. Upon written request, you
|
| 435 |
+
will certify in writing that you have complied with your
|
| 436 |
+
commitments under this section. Upon any termination of
|
| 437 |
+
this Agreement all provisions survive except for the
|
| 438 |
+
license grant provisions.
|
| 439 |
+
|
| 440 |
+
|
| 441 |
+
1.7. General
|
| 442 |
+
|
| 443 |
+
If you wish to assign this Agreement or your rights and
|
| 444 |
+
obligations, including by merger, consolidation, dissolution
|
| 445 |
+
or operation of law, contact NVIDIA to ask for permission. Any
|
| 446 |
+
attempted assignment not approved by NVIDIA in writing shall
|
| 447 |
+
be void and of no effect. NVIDIA may assign, delegate or
|
| 448 |
+
transfer this Agreement and its rights and obligations, and if
|
| 449 |
+
to a non-affiliate you will be notified.
|
| 450 |
+
|
| 451 |
+
You agree to cooperate with NVIDIA and provide reasonably
|
| 452 |
+
requested information to verify your compliance with this
|
| 453 |
+
Agreement.
|
| 454 |
+
|
| 455 |
+
This Agreement will be governed in all respects by the laws of
|
| 456 |
+
the United States and of the State of Delaware, without regard to the
|
| 457 |
+
conflicts of laws principles. The United Nations Convention on
|
| 458 |
+
Contracts for the International Sale of Goods is specifically
|
| 459 |
+
disclaimed. You agree to all terms of this Agreement in the
|
| 460 |
+
English language.
|
| 461 |
+
|
| 462 |
+
The state or federal courts residing in Santa Clara County,
|
| 463 |
+
California shall have exclusive jurisdiction over any dispute
|
| 464 |
+
or claim arising out of this Agreement. Notwithstanding this,
|
| 465 |
+
you agree that NVIDIA shall still be allowed to apply for
|
| 466 |
+
injunctive remedies or an equivalent type of urgent legal
|
| 467 |
+
relief in any jurisdiction.
|
| 468 |
+
|
| 469 |
+
If any court of competent jurisdiction determines that any
|
| 470 |
+
provision of this Agreement is illegal, invalid or
|
| 471 |
+
unenforceable, such provision will be construed as limited to
|
| 472 |
+
the extent necessary to be consistent with and fully
|
| 473 |
+
enforceable under the law and the remaining provisions will
|
| 474 |
+
remain in full force and effect. Unless otherwise specified,
|
| 475 |
+
remedies are cumulative.
|
| 476 |
+
|
| 477 |
+
Each party acknowledges and agrees that the other is an
|
| 478 |
+
independent contractor in the performance of this Agreement.
|
| 479 |
+
|
| 480 |
+
The SDK has been developed entirely at private expense and is
|
| 481 |
+
“commercial items” consisting of “commercial computer
|
| 482 |
+
software” and “commercial computer software
|
| 483 |
+
documentation” provided with RESTRICTED RIGHTS. Use,
|
| 484 |
+
duplication or disclosure by the U.S. Government or a U.S.
|
| 485 |
+
Government subcontractor is subject to the restrictions in
|
| 486 |
+
this Agreement pursuant to DFARS 227.7202-3(a) or as set forth
|
| 487 |
+
in subparagraphs (c)(1) and (2) of the Commercial Computer
|
| 488 |
+
Software - Restricted Rights clause at FAR 52.227-19, as
|
| 489 |
+
applicable. Contractor/manufacturer is NVIDIA, 2788 San Tomas
|
| 490 |
+
Expressway, Santa Clara, CA 95051.
|
| 491 |
+
|
| 492 |
+
The SDK is subject to United States export laws and
|
| 493 |
+
regulations. You agree that you will not ship, transfer or
|
| 494 |
+
export the SDK into any country, or use the SDK in any manner,
|
| 495 |
+
prohibited by the United States Bureau of Industry and
|
| 496 |
+
Security or economic sanctions regulations administered by the
|
| 497 |
+
U.S. Department of Treasury’s Office of Foreign Assets
|
| 498 |
+
Control (OFAC), or any applicable export laws, restrictions or
|
| 499 |
+
regulations. These laws include restrictions on destinations,
|
| 500 |
+
end users and end use. By accepting this Agreement, you
|
| 501 |
+
confirm that you are not located in a country currently
|
| 502 |
+
embargoed by the U.S. or otherwise prohibited from receiving
|
| 503 |
+
the SDK under U.S. law.
|
| 504 |
+
|
| 505 |
+
Any notice delivered by NVIDIA to you under this Agreement
|
| 506 |
+
will be delivered via mail, email or fax. You agree that any
|
| 507 |
+
notices that NVIDIA sends you electronically will satisfy any
|
| 508 |
+
legal communication requirements. Please direct your legal
|
| 509 |
+
notices or other correspondence to NVIDIA Corporation, 2788
|
| 510 |
+
San Tomas Expressway, Santa Clara, California 95051, United
|
| 511 |
+
States of America, Attention: Legal Department.
|
| 512 |
+
|
| 513 |
+
This Agreement and any exhibits incorporated into this
|
| 514 |
+
Agreement constitute the entire agreement of the parties with
|
| 515 |
+
respect to the subject matter of this Agreement and supersede
|
| 516 |
+
all prior negotiations or documentation exchanged between the
|
| 517 |
+
parties relating to this SDK license. Any additional and/or
|
| 518 |
+
conflicting terms on documents issued by you are null, void,
|
| 519 |
+
and invalid. Any amendment or waiver under this Agreement
|
| 520 |
+
shall be in writing and signed by representatives of both
|
| 521 |
+
parties.
|
| 522 |
+
|
| 523 |
+
|
| 524 |
+
2. CUDA Toolkit Supplement to Software License Agreement for
|
| 525 |
+
NVIDIA Software Development Kits
|
| 526 |
+
------------------------------------------------------------
|
| 527 |
+
|
| 528 |
+
The terms in this supplement govern your use of the NVIDIA
|
| 529 |
+
CUDA Toolkit SDK under the terms of your license agreement
|
| 530 |
+
(“Agreement”) as modified by this supplement. Capitalized
|
| 531 |
+
terms used but not defined below have the meaning assigned to
|
| 532 |
+
them in the Agreement.
|
| 533 |
+
|
| 534 |
+
This supplement is an exhibit to the Agreement and is
|
| 535 |
+
incorporated as an integral part of the Agreement. In the
|
| 536 |
+
event of conflict between the terms in this supplement and the
|
| 537 |
+
terms in the Agreement, the terms in this supplement govern.
|
| 538 |
+
|
| 539 |
+
|
| 540 |
+
2.1. License Scope
|
| 541 |
+
|
| 542 |
+
The SDK is licensed for you to develop applications only for
|
| 543 |
+
use in systems with NVIDIA GPUs.
|
| 544 |
+
|
| 545 |
+
|
| 546 |
+
2.2. Distribution
|
| 547 |
+
|
| 548 |
+
The portions of the SDK that are distributable under the
|
| 549 |
+
Agreement are listed in Attachment A.
|
| 550 |
+
|
| 551 |
+
|
| 552 |
+
2.3. Operating Systems
|
| 553 |
+
|
| 554 |
+
Those portions of the SDK designed exclusively for use on the
|
| 555 |
+
Linux or FreeBSD operating systems, or other operating systems
|
| 556 |
+
derived from the source code to these operating systems, may
|
| 557 |
+
be copied and redistributed for use in accordance with this
|
| 558 |
+
Agreement, provided that the object code files are not
|
| 559 |
+
modified in any way (except for unzipping of compressed
|
| 560 |
+
files).
|
| 561 |
+
|
| 562 |
+
|
| 563 |
+
2.4. Audio and Video Encoders and Decoders
|
| 564 |
+
|
| 565 |
+
You acknowledge and agree that it is your sole responsibility
|
| 566 |
+
to obtain any additional third-party licenses required to
|
| 567 |
+
make, have made, use, have used, sell, import, and offer for
|
| 568 |
+
sale your products or services that include or incorporate any
|
| 569 |
+
third-party software and content relating to audio and/or
|
| 570 |
+
video encoders and decoders from, including but not limited
|
| 571 |
+
to, Microsoft, Thomson, Fraunhofer IIS, Sisvel S.p.A.,
|
| 572 |
+
MPEG-LA, and Coding Technologies. NVIDIA does not grant to you
|
| 573 |
+
under this Agreement any necessary patent or other rights with
|
| 574 |
+
respect to any audio and/or video encoders and decoders.
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
2.5. Licensing
|
| 578 |
+
|
| 579 |
+
If the distribution terms in this Agreement are not suitable
|
| 580 |
+
for your organization, or for any questions regarding this
|
| 581 |
+
Agreement, please contact NVIDIA at
|
| 582 |
+
nvidia-compute-license-questions@nvidia.com.
|
| 583 |
+
|
| 584 |
+
|
| 585 |
+
2.6. Attachment A
|
| 586 |
+
|
| 587 |
+
The following CUDA Toolkit files may be distributed with
|
| 588 |
+
applications developed by you, including certain
|
| 589 |
+
variations of these files that have version number or
|
| 590 |
+
architecture specific information embedded in the file name -
|
| 591 |
+
as an example only, for release version 9.0 of the 64-bit
|
| 592 |
+
Windows software, the file cudart64_90.dll is redistributable.
|
| 593 |
+
|
| 594 |
+
Component
|
| 595 |
+
|
| 596 |
+
CUDA Runtime
|
| 597 |
+
|
| 598 |
+
Windows
|
| 599 |
+
|
| 600 |
+
cudart.dll, cudart_static.lib, cudadevrt.lib
|
| 601 |
+
|
| 602 |
+
Mac OSX
|
| 603 |
+
|
| 604 |
+
libcudart.dylib, libcudart_static.a, libcudadevrt.a
|
| 605 |
+
|
| 606 |
+
Linux
|
| 607 |
+
|
| 608 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 609 |
+
|
| 610 |
+
Android
|
| 611 |
+
|
| 612 |
+
libcudart.so, libcudart_static.a, libcudadevrt.a
|
| 613 |
+
|
| 614 |
+
Component
|
| 615 |
+
|
| 616 |
+
CUDA FFT Library
|
| 617 |
+
|
| 618 |
+
Windows
|
| 619 |
+
|
| 620 |
+
cufft.dll, cufftw.dll, cufft.lib, cufftw.lib
|
| 621 |
+
|
| 622 |
+
Mac OSX
|
| 623 |
+
|
| 624 |
+
libcufft.dylib, libcufft_static.a, libcufftw.dylib,
|
| 625 |
+
libcufftw_static.a
|
| 626 |
+
|
| 627 |
+
Linux
|
| 628 |
+
|
| 629 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 630 |
+
libcufftw_static.a
|
| 631 |
+
|
| 632 |
+
Android
|
| 633 |
+
|
| 634 |
+
libcufft.so, libcufft_static.a, libcufftw.so,
|
| 635 |
+
libcufftw_static.a
|
| 636 |
+
|
| 637 |
+
Component
|
| 638 |
+
|
| 639 |
+
CUDA BLAS Library
|
| 640 |
+
|
| 641 |
+
Windows
|
| 642 |
+
|
| 643 |
+
cublas.dll, cublasLt.dll
|
| 644 |
+
|
| 645 |
+
Mac OSX
|
| 646 |
+
|
| 647 |
+
libcublas.dylib, libcublasLt.dylib, libcublas_static.a,
|
| 648 |
+
libcublasLt_static.a
|
| 649 |
+
|
| 650 |
+
Linux
|
| 651 |
+
|
| 652 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 653 |
+
libcublasLt_static.a
|
| 654 |
+
|
| 655 |
+
Android
|
| 656 |
+
|
| 657 |
+
libcublas.so, libcublasLt.so, libcublas_static.a,
|
| 658 |
+
libcublasLt_static.a
|
| 659 |
+
|
| 660 |
+
Component
|
| 661 |
+
|
| 662 |
+
NVIDIA "Drop-in" BLAS Library
|
| 663 |
+
|
| 664 |
+
Windows
|
| 665 |
+
|
| 666 |
+
nvblas.dll
|
| 667 |
+
|
| 668 |
+
Mac OSX
|
| 669 |
+
|
| 670 |
+
libnvblas.dylib
|
| 671 |
+
|
| 672 |
+
Linux
|
| 673 |
+
|
| 674 |
+
libnvblas.so
|
| 675 |
+
|
| 676 |
+
Component
|
| 677 |
+
|
| 678 |
+
CUDA Sparse Matrix Library
|
| 679 |
+
|
| 680 |
+
Windows
|
| 681 |
+
|
| 682 |
+
cusparse.dll, cusparse.lib
|
| 683 |
+
|
| 684 |
+
Mac OSX
|
| 685 |
+
|
| 686 |
+
libcusparse.dylib, libcusparse_static.a
|
| 687 |
+
|
| 688 |
+
Linux
|
| 689 |
+
|
| 690 |
+
libcusparse.so, libcusparse_static.a
|
| 691 |
+
|
| 692 |
+
Android
|
| 693 |
+
|
| 694 |
+
libcusparse.so, libcusparse_static.a
|
| 695 |
+
|
| 696 |
+
Component
|
| 697 |
+
|
| 698 |
+
CUDA Linear Solver Library
|
| 699 |
+
|
| 700 |
+
Windows
|
| 701 |
+
|
| 702 |
+
cusolver.dll, cusolver.lib
|
| 703 |
+
|
| 704 |
+
Mac OSX
|
| 705 |
+
|
| 706 |
+
libcusolver.dylib, libcusolver_static.a
|
| 707 |
+
|
| 708 |
+
Linux
|
| 709 |
+
|
| 710 |
+
libcusolver.so, libcusolver_static.a
|
| 711 |
+
|
| 712 |
+
Android
|
| 713 |
+
|
| 714 |
+
libcusolver.so, libcusolver_static.a
|
| 715 |
+
|
| 716 |
+
Component
|
| 717 |
+
|
| 718 |
+
CUDA Random Number Generation Library
|
| 719 |
+
|
| 720 |
+
Windows
|
| 721 |
+
|
| 722 |
+
curand.dll, curand.lib
|
| 723 |
+
|
| 724 |
+
Mac OSX
|
| 725 |
+
|
| 726 |
+
libcurand.dylib, libcurand_static.a
|
| 727 |
+
|
| 728 |
+
Linux
|
| 729 |
+
|
| 730 |
+
libcurand.so, libcurand_static.a
|
| 731 |
+
|
| 732 |
+
Android
|
| 733 |
+
|
| 734 |
+
libcurand.so, libcurand_static.a
|
| 735 |
+
|
| 736 |
+
Component
|
| 737 |
+
|
| 738 |
+
NVIDIA Performance Primitives Library
|
| 739 |
+
|
| 740 |
+
Windows
|
| 741 |
+
|
| 742 |
+
nppc.dll, nppc.lib, nppial.dll, nppial.lib, nppicc.dll,
|
| 743 |
+
nppicc.lib, nppicom.dll, nppicom.lib, nppidei.dll,
|
| 744 |
+
nppidei.lib, nppif.dll, nppif.lib, nppig.dll, nppig.lib,
|
| 745 |
+
nppim.dll, nppim.lib, nppist.dll, nppist.lib, nppisu.dll,
|
| 746 |
+
nppisu.lib, nppitc.dll, nppitc.lib, npps.dll, npps.lib
|
| 747 |
+
|
| 748 |
+
Mac OSX
|
| 749 |
+
|
| 750 |
+
libnppc.dylib, libnppc_static.a, libnppial.dylib,
|
| 751 |
+
libnppial_static.a, libnppicc.dylib, libnppicc_static.a,
|
| 752 |
+
libnppicom.dylib, libnppicom_static.a, libnppidei.dylib,
|
| 753 |
+
libnppidei_static.a, libnppif.dylib, libnppif_static.a,
|
| 754 |
+
libnppig.dylib, libnppig_static.a, libnppim.dylib,
|
| 755 |
+
libnppisu_static.a, libnppitc.dylib, libnppitc_static.a,
|
| 756 |
+
libnpps.dylib, libnpps_static.a
|
| 757 |
+
|
| 758 |
+
Linux
|
| 759 |
+
|
| 760 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 761 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 762 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 763 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 764 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 765 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 766 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 767 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 768 |
+
|
| 769 |
+
Android
|
| 770 |
+
|
| 771 |
+
libnppc.so, libnppc_static.a, libnppial.so,
|
| 772 |
+
libnppial_static.a, libnppicc.so, libnppicc_static.a,
|
| 773 |
+
libnppicom.so, libnppicom_static.a, libnppidei.so,
|
| 774 |
+
libnppidei_static.a, libnppif.so, libnppif_static.a
|
| 775 |
+
libnppig.so, libnppig_static.a, libnppim.so,
|
| 776 |
+
libnppim_static.a, libnppist.so, libnppist_static.a,
|
| 777 |
+
libnppisu.so, libnppisu_static.a, libnppitc.so
|
| 778 |
+
libnppitc_static.a, libnpps.so, libnpps_static.a
|
| 779 |
+
|
| 780 |
+
Component
|
| 781 |
+
|
| 782 |
+
NVIDIA JPEG Library
|
| 783 |
+
|
| 784 |
+
Windows
|
| 785 |
+
|
| 786 |
+
nvjpeg.lib, nvjpeg.dll
|
| 787 |
+
|
| 788 |
+
Linux
|
| 789 |
+
|
| 790 |
+
libnvjpeg.so, libnvjpeg_static.a
|
| 791 |
+
|
| 792 |
+
Component
|
| 793 |
+
|
| 794 |
+
Internal common library required for statically linking to
|
| 795 |
+
cuBLAS, cuSPARSE, cuFFT, cuRAND, nvJPEG and NPP
|
| 796 |
+
|
| 797 |
+
Mac OSX
|
| 798 |
+
|
| 799 |
+
libculibos.a
|
| 800 |
+
|
| 801 |
+
Linux
|
| 802 |
+
|
| 803 |
+
libculibos.a
|
| 804 |
+
|
| 805 |
+
Component
|
| 806 |
+
|
| 807 |
+
NVIDIA Runtime Compilation Library and Header
|
| 808 |
+
|
| 809 |
+
All
|
| 810 |
+
|
| 811 |
+
nvrtc.h
|
| 812 |
+
|
| 813 |
+
Windows
|
| 814 |
+
|
| 815 |
+
nvrtc.dll, nvrtc-builtins.dll
|
| 816 |
+
|
| 817 |
+
Mac OSX
|
| 818 |
+
|
| 819 |
+
libnvrtc.dylib, libnvrtc-builtins.dylib
|
| 820 |
+
|
| 821 |
+
Linux
|
| 822 |
+
|
| 823 |
+
libnvrtc.so, libnvrtc-builtins.so, libnvrtc_static.a, libnvrtx-builtins_static.a
|
| 824 |
+
|
| 825 |
+
Component
|
| 826 |
+
|
| 827 |
+
NVIDIA Optimizing Compiler Library
|
| 828 |
+
|
| 829 |
+
Windows
|
| 830 |
+
|
| 831 |
+
nvvm.dll
|
| 832 |
+
|
| 833 |
+
Mac OSX
|
| 834 |
+
|
| 835 |
+
libnvvm.dylib
|
| 836 |
+
|
| 837 |
+
Linux
|
| 838 |
+
|
| 839 |
+
libnvvm.so
|
| 840 |
+
|
| 841 |
+
Component
|
| 842 |
+
|
| 843 |
+
NVIDIA JIT Linking Library
|
| 844 |
+
|
| 845 |
+
Windows
|
| 846 |
+
|
| 847 |
+
libnvJitLink.dll, libnvJitLink.lib
|
| 848 |
+
|
| 849 |
+
Linux
|
| 850 |
+
|
| 851 |
+
libnvJitLink.so, libnvJitLink_static.a
|
| 852 |
+
|
| 853 |
+
Component
|
| 854 |
+
|
| 855 |
+
NVIDIA Common Device Math Functions Library
|
| 856 |
+
|
| 857 |
+
Windows
|
| 858 |
+
|
| 859 |
+
libdevice.10.bc
|
| 860 |
+
|
| 861 |
+
Mac OSX
|
| 862 |
+
|
| 863 |
+
libdevice.10.bc
|
| 864 |
+
|
| 865 |
+
Linux
|
| 866 |
+
|
| 867 |
+
libdevice.10.bc
|
| 868 |
+
|
| 869 |
+
Component
|
| 870 |
+
|
| 871 |
+
CUDA Occupancy Calculation Header Library
|
| 872 |
+
|
| 873 |
+
All
|
| 874 |
+
|
| 875 |
+
cuda_occupancy.h
|
| 876 |
+
|
| 877 |
+
Component
|
| 878 |
+
|
| 879 |
+
CUDA Floating Point Type Headers
|
| 880 |
+
|
| 881 |
+
All
|
| 882 |
+
|
| 883 |
+
cuda_fp16.h, cuda_fp16.hpp, cuda_bf16.h, cuda_bf16.hpp, cuda_fp8.h, cuda_fp8.hpp, cuda_fp6.h, cuda_fp6.hpp, cuda_fp4.h, cuda_fp4.hpp
|
| 884 |
+
|
| 885 |
+
Component
|
| 886 |
+
|
| 887 |
+
CUDA Headers for Runtime Compilation
|
| 888 |
+
|
| 889 |
+
All
|
| 890 |
+
|
| 891 |
+
crt/host_defines.h, cuComplex.h, cuda_awbarrier_helpers.h, cuda_awbarrier_primitives.h, cuda_awbarrier.h, cuda_pipeline_helpers.h, ccuda_pipeline_primitives.h, ccuda_pipeline.h, cuda_runtime_api.h, cuda.h, cuda/std/tuple, cuda/std/type_traits, cuda/std/type_traits, cuda/std/utility, device_types.h, vector_functions.h, vector_types.h
|
| 892 |
+
|
| 893 |
+
Component
|
| 894 |
+
|
| 895 |
+
CUDA Profiling Tools Interface (CUPTI) Library
|
| 896 |
+
|
| 897 |
+
Windows
|
| 898 |
+
|
| 899 |
+
cupti.dll
|
| 900 |
+
|
| 901 |
+
Mac OSX
|
| 902 |
+
|
| 903 |
+
libcupti.dylib
|
| 904 |
+
|
| 905 |
+
Linux
|
| 906 |
+
|
| 907 |
+
libcupti.so
|
| 908 |
+
|
| 909 |
+
Component
|
| 910 |
+
|
| 911 |
+
NVIDIA Tools Extension Library
|
| 912 |
+
|
| 913 |
+
Windows
|
| 914 |
+
|
| 915 |
+
nvToolsExt.dll, nvToolsExt.lib
|
| 916 |
+
|
| 917 |
+
Mac OSX
|
| 918 |
+
|
| 919 |
+
libnvToolsExt.dylib
|
| 920 |
+
|
| 921 |
+
Linux
|
| 922 |
+
|
| 923 |
+
libnvToolsExt.so
|
| 924 |
+
|
| 925 |
+
Component
|
| 926 |
+
|
| 927 |
+
NVIDIA CUDA Driver Libraries
|
| 928 |
+
|
| 929 |
+
Linux
|
| 930 |
+
|
| 931 |
+
libcuda.so, libnvidia-ptxjitcompiler.so, libnvptxcompiler_static.a
|
| 932 |
+
|
| 933 |
+
Component
|
| 934 |
+
|
| 935 |
+
NVIDIA CUDA File IO Libraries and Header
|
| 936 |
+
|
| 937 |
+
All
|
| 938 |
+
|
| 939 |
+
cufile.h
|
| 940 |
+
|
| 941 |
+
Linux
|
| 942 |
+
|
| 943 |
+
libcufile.so, libcufile_rdma.so, libcufile_static.a,
|
| 944 |
+
libcufile_rdma_static.a
|
| 945 |
+
|
| 946 |
+
In addition to the rights above, for parties that are
|
| 947 |
+
developing software intended solely for use on Jetson
|
| 948 |
+
development kits or Jetson modules, and running Linux for
|
| 949 |
+
Tegra software, the following shall apply:
|
| 950 |
+
|
| 951 |
+
* The SDK may be distributed in its entirety, as provided by
|
| 952 |
+
NVIDIA, and without separation of its components, for you
|
| 953 |
+
and/or your licensees to create software development kits
|
| 954 |
+
for use only on the Jetson platform and running Linux for
|
| 955 |
+
Tegra software.
|
| 956 |
+
|
| 957 |
+
|
| 958 |
+
2.7. Attachment B
|
| 959 |
+
|
| 960 |
+
|
| 961 |
+
Additional Licensing Obligations
|
| 962 |
+
|
| 963 |
+
The following third party components included in the SOFTWARE
|
| 964 |
+
are licensed to Licensee pursuant to the following terms and
|
| 965 |
+
conditions:
|
| 966 |
+
|
| 967 |
+
1. Licensee's use of the GDB third party component is
|
| 968 |
+
subject to the terms and conditions of GNU GPL v3:
|
| 969 |
+
|
| 970 |
+
This product includes copyrighted third-party software licensed
|
| 971 |
+
under the terms of the GNU General Public License v3 ("GPL v3").
|
| 972 |
+
All third-party software packages are copyright by their respective
|
| 973 |
+
authors. GPL v3 terms and conditions are hereby incorporated into
|
| 974 |
+
the Agreement by this reference: http://www.gnu.org/licenses/gpl.txt
|
| 975 |
+
|
| 976 |
+
Consistent with these licensing requirements, the software
|
| 977 |
+
listed below is provided under the terms of the specified
|
| 978 |
+
open source software licenses. To obtain source code for
|
| 979 |
+
software provided under licenses that require
|
| 980 |
+
redistribution of source code, including the GNU General
|
| 981 |
+
Public License (GPL) and GNU Lesser General Public License
|
| 982 |
+
(LGPL), contact oss-requests@nvidia.com. This offer is
|
| 983 |
+
valid for a period of three (3) years from the date of the
|
| 984 |
+
distribution of this product by NVIDIA CORPORATION.
|
| 985 |
+
|
| 986 |
+
Component License
|
| 987 |
+
CUDA-GDB GPL v3
|
| 988 |
+
|
| 989 |
+
2. Licensee represents and warrants that any and all third
|
| 990 |
+
party licensing and/or royalty payment obligations in
|
| 991 |
+
connection with Licensee's use of the H.264 video codecs
|
| 992 |
+
are solely the responsibility of Licensee.
|
| 993 |
+
|
| 994 |
+
3. Licensee's use of the Thrust library is subject to the
|
| 995 |
+
terms and conditions of the Apache License Version 2.0.
|
| 996 |
+
All third-party software packages are copyright by their
|
| 997 |
+
respective authors. Apache License Version 2.0 terms and
|
| 998 |
+
conditions are hereby incorporated into the Agreement by
|
| 999 |
+
this reference.
|
| 1000 |
+
http://www.apache.org/licenses/LICENSE-2.0.html
|
| 1001 |
+
|
| 1002 |
+
In addition, Licensee acknowledges the following notice:
|
| 1003 |
+
Thrust includes source code from the Boost Iterator,
|
| 1004 |
+
Tuple, System, and Random Number libraries.
|
| 1005 |
+
|
| 1006 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 1007 |
+
. . . .
|
| 1008 |
+
|
| 1009 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1010 |
+
organization obtaining a copy of the software and accompanying
|
| 1011 |
+
documentation covered by this license (the "Software") to use,
|
| 1012 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1013 |
+
and to prepare derivative works of the Software, and to permit
|
| 1014 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1015 |
+
subject to the following:
|
| 1016 |
+
|
| 1017 |
+
The copyright notices in the Software and this entire statement,
|
| 1018 |
+
including the above license grant, this restriction and the following
|
| 1019 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1020 |
+
or in part, and all derivative works of the Software, unless such
|
| 1021 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1022 |
+
object code generated by a source language processor.
|
| 1023 |
+
|
| 1024 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1025 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1026 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1027 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1028 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1029 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1030 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1031 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1032 |
+
|
| 1033 |
+
4. Licensee's use of the LLVM third party component is
|
| 1034 |
+
subject to the following terms and conditions:
|
| 1035 |
+
|
| 1036 |
+
======================================================
|
| 1037 |
+
LLVM Release License
|
| 1038 |
+
======================================================
|
| 1039 |
+
University of Illinois/NCSA
|
| 1040 |
+
Open Source License
|
| 1041 |
+
|
| 1042 |
+
Copyright (c) 2003-2010 University of Illinois at Urbana-Champaign.
|
| 1043 |
+
All rights reserved.
|
| 1044 |
+
|
| 1045 |
+
Developed by:
|
| 1046 |
+
|
| 1047 |
+
LLVM Team
|
| 1048 |
+
|
| 1049 |
+
University of Illinois at Urbana-Champaign
|
| 1050 |
+
|
| 1051 |
+
http://llvm.org
|
| 1052 |
+
|
| 1053 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1054 |
+
of this software and associated documentation files (the "Software"), to
|
| 1055 |
+
deal with the Software without restriction, including without limitation the
|
| 1056 |
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
| 1057 |
+
sell copies of the Software, and to permit persons to whom the Software is
|
| 1058 |
+
furnished to do so, subject to the following conditions:
|
| 1059 |
+
|
| 1060 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1061 |
+
this list of conditions and the following disclaimers.
|
| 1062 |
+
|
| 1063 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1064 |
+
notice, this list of conditions and the following disclaimers in the
|
| 1065 |
+
documentation and/or other materials provided with the distribution.
|
| 1066 |
+
|
| 1067 |
+
* Neither the names of the LLVM Team, University of Illinois at Urbana-
|
| 1068 |
+
Champaign, nor the names of its contributors may be used to endorse or
|
| 1069 |
+
promote products derived from this Software without specific prior
|
| 1070 |
+
written permission.
|
| 1071 |
+
|
| 1072 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1073 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1074 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
| 1075 |
+
THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
| 1076 |
+
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
| 1077 |
+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
| 1078 |
+
DEALINGS WITH THE SOFTWARE.
|
| 1079 |
+
|
| 1080 |
+
5. Licensee's use of the PCRE third party component is
|
| 1081 |
+
subject to the following terms and conditions:
|
| 1082 |
+
|
| 1083 |
+
------------
|
| 1084 |
+
PCRE LICENCE
|
| 1085 |
+
------------
|
| 1086 |
+
PCRE is a library of functions to support regular expressions whose syntax
|
| 1087 |
+
and semantics are as close as possible to those of the Perl 5 language.
|
| 1088 |
+
Release 8 of PCRE is distributed under the terms of the "BSD" licence, as
|
| 1089 |
+
specified below. The documentation for PCRE, supplied in the "doc"
|
| 1090 |
+
directory, is distributed under the same terms as the software itself. The
|
| 1091 |
+
basic library functions are written in C and are freestanding. Also
|
| 1092 |
+
included in the distribution is a set of C++ wrapper functions, and a just-
|
| 1093 |
+
in-time compiler that can be used to optimize pattern matching. These are
|
| 1094 |
+
both optional features that can be omitted when the library is built.
|
| 1095 |
+
|
| 1096 |
+
THE BASIC LIBRARY FUNCTIONS
|
| 1097 |
+
---------------------------
|
| 1098 |
+
Written by: Philip Hazel
|
| 1099 |
+
Email local part: ph10
|
| 1100 |
+
Email domain: cam.ac.uk
|
| 1101 |
+
University of Cambridge Computing Service,
|
| 1102 |
+
Cambridge, England.
|
| 1103 |
+
Copyright (c) 1997-2012 University of Cambridge
|
| 1104 |
+
All rights reserved.
|
| 1105 |
+
|
| 1106 |
+
PCRE JUST-IN-TIME COMPILATION SUPPORT
|
| 1107 |
+
-------------------------------------
|
| 1108 |
+
Written by: Zoltan Herczeg
|
| 1109 |
+
Email local part: hzmester
|
| 1110 |
+
Emain domain: freemail.hu
|
| 1111 |
+
Copyright(c) 2010-2012 Zoltan Herczeg
|
| 1112 |
+
All rights reserved.
|
| 1113 |
+
|
| 1114 |
+
STACK-LESS JUST-IN-TIME COMPILER
|
| 1115 |
+
--------------------------------
|
| 1116 |
+
Written by: Zoltan Herczeg
|
| 1117 |
+
Email local part: hzmester
|
| 1118 |
+
Emain domain: freemail.hu
|
| 1119 |
+
Copyright(c) 2009-2012 Zoltan Herczeg
|
| 1120 |
+
All rights reserved.
|
| 1121 |
+
|
| 1122 |
+
THE C++ WRAPPER FUNCTIONS
|
| 1123 |
+
-------------------------
|
| 1124 |
+
Contributed by: Google Inc.
|
| 1125 |
+
Copyright (c) 2007-2012, Google Inc.
|
| 1126 |
+
All rights reserved.
|
| 1127 |
+
|
| 1128 |
+
THE "BSD" LICENCE
|
| 1129 |
+
-----------------
|
| 1130 |
+
Redistribution and use in source and binary forms, with or without
|
| 1131 |
+
modification, are permitted provided that the following conditions are met:
|
| 1132 |
+
|
| 1133 |
+
* Redistributions of source code must retain the above copyright notice,
|
| 1134 |
+
this list of conditions and the following disclaimer.
|
| 1135 |
+
|
| 1136 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1137 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1138 |
+
documentation and/or other materials provided with the distribution.
|
| 1139 |
+
|
| 1140 |
+
* Neither the name of the University of Cambridge nor the name of Google
|
| 1141 |
+
Inc. nor the names of their contributors may be used to endorse or
|
| 1142 |
+
promote products derived from this software without specific prior
|
| 1143 |
+
written permission.
|
| 1144 |
+
|
| 1145 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
| 1146 |
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
| 1147 |
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
| 1148 |
+
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
| 1149 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1150 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1151 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
| 1152 |
+
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
| 1153 |
+
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1154 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1155 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1156 |
+
|
| 1157 |
+
6. Some of the cuBLAS library routines were written by or
|
| 1158 |
+
derived from code written by Vasily Volkov and are subject
|
| 1159 |
+
to the Modified Berkeley Software Distribution License as
|
| 1160 |
+
follows:
|
| 1161 |
+
|
| 1162 |
+
Copyright (c) 2007-2009, Regents of the University of California
|
| 1163 |
+
|
| 1164 |
+
All rights reserved.
|
| 1165 |
+
|
| 1166 |
+
Redistribution and use in source and binary forms, with or without
|
| 1167 |
+
modification, are permitted provided that the following conditions are
|
| 1168 |
+
met:
|
| 1169 |
+
* Redistributions of source code must retain the above copyright
|
| 1170 |
+
notice, this list of conditions and the following disclaimer.
|
| 1171 |
+
* Redistributions in binary form must reproduce the above
|
| 1172 |
+
copyright notice, this list of conditions and the following
|
| 1173 |
+
disclaimer in the documentation and/or other materials provided
|
| 1174 |
+
with the distribution.
|
| 1175 |
+
* Neither the name of the University of California, Berkeley nor
|
| 1176 |
+
the names of its contributors may be used to endorse or promote
|
| 1177 |
+
products derived from this software without specific prior
|
| 1178 |
+
written permission.
|
| 1179 |
+
|
| 1180 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1181 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1182 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1183 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1184 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1185 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1186 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1187 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1188 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1189 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1190 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1191 |
+
|
| 1192 |
+
7. Some of the cuBLAS library routines were written by or
|
| 1193 |
+
derived from code written by Davide Barbieri and are
|
| 1194 |
+
subject to the Modified Berkeley Software Distribution
|
| 1195 |
+
License as follows:
|
| 1196 |
+
|
| 1197 |
+
Copyright (c) 2008-2009 Davide Barbieri @ University of Rome Tor Vergata.
|
| 1198 |
+
|
| 1199 |
+
All rights reserved.
|
| 1200 |
+
|
| 1201 |
+
Redistribution and use in source and binary forms, with or without
|
| 1202 |
+
modification, are permitted provided that the following conditions are
|
| 1203 |
+
met:
|
| 1204 |
+
* Redistributions of source code must retain the above copyright
|
| 1205 |
+
notice, this list of conditions and the following disclaimer.
|
| 1206 |
+
* Redistributions in binary form must reproduce the above
|
| 1207 |
+
copyright notice, this list of conditions and the following
|
| 1208 |
+
disclaimer in the documentation and/or other materials provided
|
| 1209 |
+
with the distribution.
|
| 1210 |
+
* The name of the author may not be used to endorse or promote
|
| 1211 |
+
products derived from this software without specific prior
|
| 1212 |
+
written permission.
|
| 1213 |
+
|
| 1214 |
+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR
|
| 1215 |
+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1216 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1217 |
+
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT,
|
| 1218 |
+
INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
|
| 1219 |
+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
| 1220 |
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
| 1221 |
+
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
|
| 1222 |
+
STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
|
| 1223 |
+
IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
| 1224 |
+
POSSIBILITY OF SUCH DAMAGE.
|
| 1225 |
+
|
| 1226 |
+
8. Some of the cuBLAS library routines were derived from
|
| 1227 |
+
code developed by the University of Tennessee and are
|
| 1228 |
+
subject to the Modified Berkeley Software Distribution
|
| 1229 |
+
License as follows:
|
| 1230 |
+
|
| 1231 |
+
Copyright (c) 2010 The University of Tennessee.
|
| 1232 |
+
|
| 1233 |
+
All rights reserved.
|
| 1234 |
+
|
| 1235 |
+
Redistribution and use in source and binary forms, with or without
|
| 1236 |
+
modification, are permitted provided that the following conditions are
|
| 1237 |
+
met:
|
| 1238 |
+
* Redistributions of source code must retain the above copyright
|
| 1239 |
+
notice, this list of conditions and the following disclaimer.
|
| 1240 |
+
* Redistributions in binary form must reproduce the above
|
| 1241 |
+
copyright notice, this list of conditions and the following
|
| 1242 |
+
disclaimer listed in this license in the documentation and/or
|
| 1243 |
+
other materials provided with the distribution.
|
| 1244 |
+
* Neither the name of the copyright holders nor the names of its
|
| 1245 |
+
contributors may be used to endorse or promote products derived
|
| 1246 |
+
from this software without specific prior written permission.
|
| 1247 |
+
|
| 1248 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1249 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1250 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1251 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1252 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1253 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1254 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1255 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1256 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1257 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1258 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1259 |
+
|
| 1260 |
+
9. Some of the cuBLAS library routines were written by or
|
| 1261 |
+
derived from code written by Jonathan Hogg and are subject
|
| 1262 |
+
to the Modified Berkeley Software Distribution License as
|
| 1263 |
+
follows:
|
| 1264 |
+
|
| 1265 |
+
Copyright (c) 2012, The Science and Technology Facilities Council (STFC).
|
| 1266 |
+
|
| 1267 |
+
All rights reserved.
|
| 1268 |
+
|
| 1269 |
+
Redistribution and use in source and binary forms, with or without
|
| 1270 |
+
modification, are permitted provided that the following conditions are
|
| 1271 |
+
met:
|
| 1272 |
+
* Redistributions of source code must retain the above copyright
|
| 1273 |
+
notice, this list of conditions and the following disclaimer.
|
| 1274 |
+
* Redistributions in binary form must reproduce the above
|
| 1275 |
+
copyright notice, this list of conditions and the following
|
| 1276 |
+
disclaimer in the documentation and/or other materials provided
|
| 1277 |
+
with the distribution.
|
| 1278 |
+
* Neither the name of the STFC nor the names of its contributors
|
| 1279 |
+
may be used to endorse or promote products derived from this
|
| 1280 |
+
software without specific prior written permission.
|
| 1281 |
+
|
| 1282 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1283 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1284 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1285 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE STFC BE
|
| 1286 |
+
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
| 1287 |
+
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
| 1288 |
+
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
| 1289 |
+
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1290 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
|
| 1291 |
+
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
|
| 1292 |
+
IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1293 |
+
|
| 1294 |
+
10. Some of the cuBLAS library routines were written by or
|
| 1295 |
+
derived from code written by Ahmad M. Abdelfattah, David
|
| 1296 |
+
Keyes, and Hatem Ltaief, and are subject to the Apache
|
| 1297 |
+
License, Version 2.0, as follows:
|
| 1298 |
+
|
| 1299 |
+
-- (C) Copyright 2013 King Abdullah University of Science and Technology
|
| 1300 |
+
Authors:
|
| 1301 |
+
Ahmad Abdelfattah (ahmad.ahmad@kaust.edu.sa)
|
| 1302 |
+
David Keyes (david.keyes@kaust.edu.sa)
|
| 1303 |
+
Hatem Ltaief (hatem.ltaief@kaust.edu.sa)
|
| 1304 |
+
|
| 1305 |
+
Redistribution and use in source and binary forms, with or without
|
| 1306 |
+
modification, are permitted provided that the following conditions
|
| 1307 |
+
are met:
|
| 1308 |
+
|
| 1309 |
+
* Redistributions of source code must retain the above copyright
|
| 1310 |
+
notice, this list of conditions and the following disclaimer.
|
| 1311 |
+
* Redistributions in binary form must reproduce the above copyright
|
| 1312 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1313 |
+
documentation and/or other materials provided with the distribution.
|
| 1314 |
+
* Neither the name of the King Abdullah University of Science and
|
| 1315 |
+
Technology nor the names of its contributors may be used to endorse
|
| 1316 |
+
or promote products derived from this software without specific prior
|
| 1317 |
+
written permission.
|
| 1318 |
+
|
| 1319 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1320 |
+
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1321 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1322 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1323 |
+
HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1324 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1325 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1326 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1327 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1328 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1329 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE
|
| 1330 |
+
|
| 1331 |
+
11. Some of the cuSPARSE library routines were written by or
|
| 1332 |
+
derived from code written by Li-Wen Chang and are subject
|
| 1333 |
+
to the NCSA Open Source License as follows:
|
| 1334 |
+
|
| 1335 |
+
Copyright (c) 2012, University of Illinois.
|
| 1336 |
+
|
| 1337 |
+
All rights reserved.
|
| 1338 |
+
|
| 1339 |
+
Developed by: IMPACT Group, University of Illinois, http://impact.crhc.illinois.edu
|
| 1340 |
+
|
| 1341 |
+
Permission is hereby granted, free of charge, to any person obtaining
|
| 1342 |
+
a copy of this software and associated documentation files (the
|
| 1343 |
+
"Software"), to deal with the Software without restriction, including
|
| 1344 |
+
without limitation the rights to use, copy, modify, merge, publish,
|
| 1345 |
+
distribute, sublicense, and/or sell copies of the Software, and to
|
| 1346 |
+
permit persons to whom the Software is furnished to do so, subject to
|
| 1347 |
+
the following conditions:
|
| 1348 |
+
* Redistributions of source code must retain the above copyright
|
| 1349 |
+
notice, this list of conditions and the following disclaimer.
|
| 1350 |
+
* Redistributions in binary form must reproduce the above
|
| 1351 |
+
copyright notice, this list of conditions and the following
|
| 1352 |
+
disclaimers in the documentation and/or other materials provided
|
| 1353 |
+
with the distribution.
|
| 1354 |
+
* Neither the names of IMPACT Group, University of Illinois, nor
|
| 1355 |
+
the names of its contributors may be used to endorse or promote
|
| 1356 |
+
products derived from this Software without specific prior
|
| 1357 |
+
written permission.
|
| 1358 |
+
|
| 1359 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1360 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1361 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
| 1362 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT
|
| 1363 |
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
| 1364 |
+
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR
|
| 1365 |
+
IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE
|
| 1366 |
+
SOFTWARE.
|
| 1367 |
+
|
| 1368 |
+
12. Some of the cuRAND library routines were written by or
|
| 1369 |
+
derived from code written by Mutsuo Saito and Makoto
|
| 1370 |
+
Matsumoto and are subject to the following license:
|
| 1371 |
+
|
| 1372 |
+
Copyright (c) 2009, 2010 Mutsuo Saito, Makoto Matsumoto and Hiroshima
|
| 1373 |
+
University. All rights reserved.
|
| 1374 |
+
|
| 1375 |
+
Copyright (c) 2011 Mutsuo Saito, Makoto Matsumoto, Hiroshima
|
| 1376 |
+
University and University of Tokyo. All rights reserved.
|
| 1377 |
+
|
| 1378 |
+
Redistribution and use in source and binary forms, with or without
|
| 1379 |
+
modification, are permitted provided that the following conditions are
|
| 1380 |
+
met:
|
| 1381 |
+
* Redistributions of source code must retain the above copyright
|
| 1382 |
+
notice, this list of conditions and the following disclaimer.
|
| 1383 |
+
* Redistributions in binary form must reproduce the above
|
| 1384 |
+
copyright notice, this list of conditions and the following
|
| 1385 |
+
disclaimer in the documentation and/or other materials provided
|
| 1386 |
+
with the distribution.
|
| 1387 |
+
* Neither the name of the Hiroshima University nor the names of
|
| 1388 |
+
its contributors may be used to endorse or promote products
|
| 1389 |
+
derived from this software without specific prior written
|
| 1390 |
+
permission.
|
| 1391 |
+
|
| 1392 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1393 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1394 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1395 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1396 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1397 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1398 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1399 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1400 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1401 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1402 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1403 |
+
|
| 1404 |
+
13. Some of the cuRAND library routines were derived from
|
| 1405 |
+
code developed by D. E. Shaw Research and are subject to
|
| 1406 |
+
the following license:
|
| 1407 |
+
|
| 1408 |
+
Copyright 2010-2011, D. E. Shaw Research.
|
| 1409 |
+
|
| 1410 |
+
All rights reserved.
|
| 1411 |
+
|
| 1412 |
+
Redistribution and use in source and binary forms, with or without
|
| 1413 |
+
modification, are permitted provided that the following conditions are
|
| 1414 |
+
met:
|
| 1415 |
+
* Redistributions of source code must retain the above copyright
|
| 1416 |
+
notice, this list of conditions, and the following disclaimer.
|
| 1417 |
+
* Redistributions in binary form must reproduce the above
|
| 1418 |
+
copyright notice, this list of conditions, and the following
|
| 1419 |
+
disclaimer in the documentation and/or other materials provided
|
| 1420 |
+
with the distribution.
|
| 1421 |
+
* Neither the name of D. E. Shaw Research nor the names of its
|
| 1422 |
+
contributors may be used to endorse or promote products derived
|
| 1423 |
+
from this software without specific prior written permission.
|
| 1424 |
+
|
| 1425 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1426 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1427 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1428 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1429 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1430 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1431 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1432 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1433 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1434 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1435 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1436 |
+
|
| 1437 |
+
14. Some of the Math library routines were written by or
|
| 1438 |
+
derived from code developed by Norbert Juffa and are
|
| 1439 |
+
subject to the following license:
|
| 1440 |
+
|
| 1441 |
+
Copyright (c) 2015-2017, Norbert Juffa
|
| 1442 |
+
All rights reserved.
|
| 1443 |
+
|
| 1444 |
+
Redistribution and use in source and binary forms, with or without
|
| 1445 |
+
modification, are permitted provided that the following conditions
|
| 1446 |
+
are met:
|
| 1447 |
+
|
| 1448 |
+
1. Redistributions of source code must retain the above copyright
|
| 1449 |
+
notice, this list of conditions and the following disclaimer.
|
| 1450 |
+
|
| 1451 |
+
2. Redistributions in binary form must reproduce the above copyright
|
| 1452 |
+
notice, this list of conditions and the following disclaimer in the
|
| 1453 |
+
documentation and/or other materials provided with the distribution.
|
| 1454 |
+
|
| 1455 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1456 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1457 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1458 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1459 |
+
HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1460 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1461 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1462 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1463 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1464 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1465 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1466 |
+
|
| 1467 |
+
15. Licensee's use of the lz4 third party component is
|
| 1468 |
+
subject to the following terms and conditions:
|
| 1469 |
+
|
| 1470 |
+
Copyright (C) 2011-2013, Yann Collet.
|
| 1471 |
+
BSD 2-Clause License (http://www.opensource.org/licenses/bsd-license.php)
|
| 1472 |
+
|
| 1473 |
+
Redistribution and use in source and binary forms, with or without
|
| 1474 |
+
modification, are permitted provided that the following conditions are
|
| 1475 |
+
met:
|
| 1476 |
+
|
| 1477 |
+
* Redistributions of source code must retain the above copyright
|
| 1478 |
+
notice, this list of conditions and the following disclaimer.
|
| 1479 |
+
* Redistributions in binary form must reproduce the above
|
| 1480 |
+
copyright notice, this list of conditions and the following disclaimer
|
| 1481 |
+
in the documentation and/or other materials provided with the
|
| 1482 |
+
distribution.
|
| 1483 |
+
|
| 1484 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
| 1485 |
+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
| 1486 |
+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
| 1487 |
+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
| 1488 |
+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
| 1489 |
+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
| 1490 |
+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
| 1491 |
+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
| 1492 |
+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
| 1493 |
+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
| 1494 |
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
| 1495 |
+
|
| 1496 |
+
16. The NPP library uses code from the Boost Math Toolkit,
|
| 1497 |
+
and is subject to the following license:
|
| 1498 |
+
|
| 1499 |
+
Boost Software License - Version 1.0 - August 17th, 2003
|
| 1500 |
+
. . . .
|
| 1501 |
+
|
| 1502 |
+
Permission is hereby granted, free of charge, to any person or
|
| 1503 |
+
organization obtaining a copy of the software and accompanying
|
| 1504 |
+
documentation covered by this license (the "Software") to use,
|
| 1505 |
+
reproduce, display, distribute, execute, and transmit the Software,
|
| 1506 |
+
and to prepare derivative works of the Software, and to permit
|
| 1507 |
+
third-parties to whom the Software is furnished to do so, all
|
| 1508 |
+
subject to the following:
|
| 1509 |
+
|
| 1510 |
+
The copyright notices in the Software and this entire statement,
|
| 1511 |
+
including the above license grant, this restriction and the following
|
| 1512 |
+
disclaimer, must be included in all copies of the Software, in whole
|
| 1513 |
+
or in part, and all derivative works of the Software, unless such
|
| 1514 |
+
copies or derivative works are solely in the form of machine-executable
|
| 1515 |
+
object code generated by a source language processor.
|
| 1516 |
+
|
| 1517 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
| 1518 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
| 1519 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND
|
| 1520 |
+
NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR
|
| 1521 |
+
ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR
|
| 1522 |
+
OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING
|
| 1523 |
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
| 1524 |
+
OTHER DEALINGS IN THE SOFTWARE.
|
| 1525 |
+
|
| 1526 |
+
17. Portions of the Nsight Eclipse Edition is subject to the
|
| 1527 |
+
following license:
|
| 1528 |
+
|
| 1529 |
+
The Eclipse Foundation makes available all content in this plug-in
|
| 1530 |
+
("Content"). Unless otherwise indicated below, the Content is provided
|
| 1531 |
+
to you under the terms and conditions of the Eclipse Public License
|
| 1532 |
+
Version 1.0 ("EPL"). A copy of the EPL is available at http://
|
| 1533 |
+
www.eclipse.org/legal/epl-v10.html. For purposes of the EPL, "Program"
|
| 1534 |
+
will mean the Content.
|
| 1535 |
+
|
| 1536 |
+
If you did not receive this Content directly from the Eclipse
|
| 1537 |
+
Foundation, the Content is being redistributed by another party
|
| 1538 |
+
("Redistributor") and different terms and conditions may apply to your
|
| 1539 |
+
use of any object code in the Content. Check the Redistributor's
|
| 1540 |
+
license that was provided with the Content. If no such license exists,
|
| 1541 |
+
contact the Redistributor. Unless otherwise indicated below, the terms
|
| 1542 |
+
and conditions of the EPL still apply to any source code in the
|
| 1543 |
+
Content and such source code may be obtained at http://www.eclipse.org.
|
| 1544 |
+
|
| 1545 |
+
18. Some of the cuBLAS library routines uses code from
|
| 1546 |
+
OpenAI, which is subject to the following license:
|
| 1547 |
+
|
| 1548 |
+
License URL
|
| 1549 |
+
https://github.com/openai/openai-gemm/blob/master/LICENSE
|
| 1550 |
+
|
| 1551 |
+
License Text
|
| 1552 |
+
The MIT License
|
| 1553 |
+
|
| 1554 |
+
Copyright (c) 2016 OpenAI (http://openai.com), 2016 Google Inc.
|
| 1555 |
+
|
| 1556 |
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
| 1557 |
+
of this software and associated documentation files (the "Software"), to deal
|
| 1558 |
+
in the Software without restriction, including without limitation the rights
|
| 1559 |
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
| 1560 |
+
copies of the Software, and to permit persons to whom the Software is
|
| 1561 |
+
furnished to do so, subject to the following conditions:
|
| 1562 |
+
|
| 1563 |
+
The above copyright notice and this permission notice shall be included in
|
| 1564 |
+
all copies or substantial portions of the Software.
|
| 1565 |
+
|
| 1566 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
| 1567 |
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1568 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1569 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1570 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1571 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
| 1572 |
+
THE SOFTWARE.
|
| 1573 |
+
|
| 1574 |
+
19. Licensee's use of the Visual Studio Setup Configuration
|
| 1575 |
+
Samples is subject to the following license:
|
| 1576 |
+
|
| 1577 |
+
The MIT License (MIT)
|
| 1578 |
+
Copyright (C) Microsoft Corporation. All rights reserved.
|
| 1579 |
+
|
| 1580 |
+
Permission is hereby granted, free of charge, to any person
|
| 1581 |
+
obtaining a copy of this software and associated documentation
|
| 1582 |
+
files (the "Software"), to deal in the Software without restriction,
|
| 1583 |
+
including without limitation the rights to use, copy, modify, merge,
|
| 1584 |
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
| 1585 |
+
and to permit persons to whom the Software is furnished to do so,
|
| 1586 |
+
subject to the following conditions:
|
| 1587 |
+
|
| 1588 |
+
The above copyright notice and this permission notice shall be included
|
| 1589 |
+
in all copies or substantial portions of the Software.
|
| 1590 |
+
|
| 1591 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
| 1592 |
+
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
| 1593 |
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
| 1594 |
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
| 1595 |
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
| 1596 |
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
| 1597 |
+
|
| 1598 |
+
20. Licensee's use of linmath.h header for CPU functions for
|
| 1599 |
+
GL vector/matrix operations from lunarG is subject to the
|
| 1600 |
+
Apache License Version 2.0.
|
| 1601 |
+
|
| 1602 |
+
21. The DX12-CUDA sample uses the d3dx12.h header, which is
|
| 1603 |
+
subject to the MIT license.
|
| 1604 |
+
|
| 1605 |
+
22. Components of the driver and compiler used for binary management, including
|
| 1606 |
+
nvFatBin, nvcc, and cuobjdump, use the Zstandard library which is subject to
|
| 1607 |
+
the following license:
|
| 1608 |
+
|
| 1609 |
+
BSD License
|
| 1610 |
+
|
| 1611 |
+
For Zstandard software
|
| 1612 |
+
|
| 1613 |
+
Copyright (c) Meta Platforms, Inc. and affiliates. All rights reserved.
|
| 1614 |
+
|
| 1615 |
+
Redistribution and use in source and binary forms, with or without modification,
|
| 1616 |
+
are permitted provided that the following conditions are met:
|
| 1617 |
+
|
| 1618 |
+
* Redistributions of source code must retain the above copyright notice, this
|
| 1619 |
+
list of conditions and the following disclaimer.
|
| 1620 |
+
|
| 1621 |
+
* Redistributions in binary form must reproduce the above copyright notice,
|
| 1622 |
+
this list of conditions and the following disclaimer in the documentation
|
| 1623 |
+
and/or other materials provided with the distribution.
|
| 1624 |
+
|
| 1625 |
+
* Neither the name Facebook, nor Meta, nor the names of its contributors may
|
| 1626 |
+
be used to endorse or promote products derived from this software without
|
| 1627 |
+
specific prior written permission.
|
| 1628 |
+
|
| 1629 |
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
| 1630 |
+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
|
| 1631 |
+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
| 1632 |
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY
|
| 1633 |
+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
|
| 1634 |
+
BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
|
| 1635 |
+
OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
|
| 1636 |
+
WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
| 1637 |
+
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"paths": [
|
| 3 |
+
{
|
| 4 |
+
"_path": "lib/libnppc.so.12",
|
| 5 |
+
"path_type": "softlink",
|
| 6 |
+
"sha256": "604a5c2e6a4d311d9a227f88de3f0e5612ba6805d233fa86f5e07e810a377a97",
|
| 7 |
+
"size_in_bytes": 1668368
|
| 8 |
+
},
|
| 9 |
+
{
|
| 10 |
+
"_path": "lib/libnppc.so.12.4.1.87",
|
| 11 |
+
"path_type": "softlink",
|
| 12 |
+
"sha256": "604a5c2e6a4d311d9a227f88de3f0e5612ba6805d233fa86f5e07e810a377a97",
|
| 13 |
+
"size_in_bytes": 1668368
|
| 14 |
+
},
|
| 15 |
+
{
|
| 16 |
+
"_path": "lib/libnppial.so.12",
|
| 17 |
+
"path_type": "softlink",
|
| 18 |
+
"sha256": "68f8e406380c0c3a02ca76edab48f90498b1fef6b8bb3a9a280646804a721dba",
|
| 19 |
+
"size_in_bytes": 30389840
|
| 20 |
+
},
|
| 21 |
+
{
|
| 22 |
+
"_path": "lib/libnppial.so.12.4.1.87",
|
| 23 |
+
"path_type": "softlink",
|
| 24 |
+
"sha256": "68f8e406380c0c3a02ca76edab48f90498b1fef6b8bb3a9a280646804a721dba",
|
| 25 |
+
"size_in_bytes": 30389840
|
| 26 |
+
},
|
| 27 |
+
{
|
| 28 |
+
"_path": "lib/libnppicc.so.12",
|
| 29 |
+
"path_type": "softlink",
|
| 30 |
+
"sha256": "d38438ff8069dac6a01d6cb7d16275b69d942e57d13b1ed249ce42e7a1692287",
|
| 31 |
+
"size_in_bytes": 11294312
|
| 32 |
+
},
|
| 33 |
+
{
|
| 34 |
+
"_path": "lib/libnppicc.so.12.4.1.87",
|
| 35 |
+
"path_type": "softlink",
|
| 36 |
+
"sha256": "d38438ff8069dac6a01d6cb7d16275b69d942e57d13b1ed249ce42e7a1692287",
|
| 37 |
+
"size_in_bytes": 11294312
|
| 38 |
+
},
|
| 39 |
+
{
|
| 40 |
+
"_path": "lib/libnppidei.so.12",
|
| 41 |
+
"path_type": "softlink",
|
| 42 |
+
"sha256": "0ff29412c5fba25c5a302ec3b7bbcc94b7af3827351a4885e2894818ec5f00b3",
|
| 43 |
+
"size_in_bytes": 16504760
|
| 44 |
+
},
|
| 45 |
+
{
|
| 46 |
+
"_path": "lib/libnppidei.so.12.4.1.87",
|
| 47 |
+
"path_type": "softlink",
|
| 48 |
+
"sha256": "0ff29412c5fba25c5a302ec3b7bbcc94b7af3827351a4885e2894818ec5f00b3",
|
| 49 |
+
"size_in_bytes": 16504760
|
| 50 |
+
},
|
| 51 |
+
{
|
| 52 |
+
"_path": "lib/libnppif.so.12",
|
| 53 |
+
"path_type": "softlink",
|
| 54 |
+
"sha256": "00936321133e82375cf3edd64872a073681e277e1fb9cd1f226c0448276d6237",
|
| 55 |
+
"size_in_bytes": 163167080
|
| 56 |
+
},
|
| 57 |
+
{
|
| 58 |
+
"_path": "lib/libnppif.so.12.4.1.87",
|
| 59 |
+
"path_type": "softlink",
|
| 60 |
+
"sha256": "00936321133e82375cf3edd64872a073681e277e1fb9cd1f226c0448276d6237",
|
| 61 |
+
"size_in_bytes": 163167080
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"_path": "lib/libnppig.so.12",
|
| 65 |
+
"path_type": "softlink",
|
| 66 |
+
"sha256": "1d27a17d0329c23f68986b9b4a2bf5d109043337aaf22b2bb84e593973b776e7",
|
| 67 |
+
"size_in_bytes": 70424240
|
| 68 |
+
},
|
| 69 |
+
{
|
| 70 |
+
"_path": "lib/libnppig.so.12.4.1.87",
|
| 71 |
+
"path_type": "softlink",
|
| 72 |
+
"sha256": "1d27a17d0329c23f68986b9b4a2bf5d109043337aaf22b2bb84e593973b776e7",
|
| 73 |
+
"size_in_bytes": 70424240
|
| 74 |
+
},
|
| 75 |
+
{
|
| 76 |
+
"_path": "lib/libnppim.so.12",
|
| 77 |
+
"path_type": "softlink",
|
| 78 |
+
"sha256": "f137922c57ebf6adc7ee28c6f323a7e524ab6897e61141b90ae34a8e5611e3f8",
|
| 79 |
+
"size_in_bytes": 15869544
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"_path": "lib/libnppim.so.12.4.1.87",
|
| 83 |
+
"path_type": "softlink",
|
| 84 |
+
"sha256": "f137922c57ebf6adc7ee28c6f323a7e524ab6897e61141b90ae34a8e5611e3f8",
|
| 85 |
+
"size_in_bytes": 15869544
|
| 86 |
+
},
|
| 87 |
+
{
|
| 88 |
+
"_path": "lib/libnppist.so.12",
|
| 89 |
+
"path_type": "softlink",
|
| 90 |
+
"sha256": "051bcf910e85002046c6cfb1c2403f5473184999509f6326ed89be624ed992fc",
|
| 91 |
+
"size_in_bytes": 70682536
|
| 92 |
+
},
|
| 93 |
+
{
|
| 94 |
+
"_path": "lib/libnppist.so.12.4.1.87",
|
| 95 |
+
"path_type": "softlink",
|
| 96 |
+
"sha256": "051bcf910e85002046c6cfb1c2403f5473184999509f6326ed89be624ed992fc",
|
| 97 |
+
"size_in_bytes": 70682536
|
| 98 |
+
},
|
| 99 |
+
{
|
| 100 |
+
"_path": "lib/libnppisu.so.12",
|
| 101 |
+
"path_type": "softlink",
|
| 102 |
+
"sha256": "5b1cafb00334bcf8048a05b13af8eea348c4b645e81934c083f8f0474a36e7ab",
|
| 103 |
+
"size_in_bytes": 1664224
|
| 104 |
+
},
|
| 105 |
+
{
|
| 106 |
+
"_path": "lib/libnppisu.so.12.4.1.87",
|
| 107 |
+
"path_type": "softlink",
|
| 108 |
+
"sha256": "5b1cafb00334bcf8048a05b13af8eea348c4b645e81934c083f8f0474a36e7ab",
|
| 109 |
+
"size_in_bytes": 1664224
|
| 110 |
+
},
|
| 111 |
+
{
|
| 112 |
+
"_path": "lib/libnppitc.so.12",
|
| 113 |
+
"path_type": "softlink",
|
| 114 |
+
"sha256": "d71e2ff540bbab01947a9bbcfbb1b9b0abdd2e17ba82c41a20064b0da984e7ae",
|
| 115 |
+
"size_in_bytes": 8107408
|
| 116 |
+
},
|
| 117 |
+
{
|
| 118 |
+
"_path": "lib/libnppitc.so.12.4.1.87",
|
| 119 |
+
"path_type": "softlink",
|
| 120 |
+
"sha256": "d71e2ff540bbab01947a9bbcfbb1b9b0abdd2e17ba82c41a20064b0da984e7ae",
|
| 121 |
+
"size_in_bytes": 8107408
|
| 122 |
+
},
|
| 123 |
+
{
|
| 124 |
+
"_path": "lib/libnpps.so.12",
|
| 125 |
+
"path_type": "softlink",
|
| 126 |
+
"sha256": "d785aaaf0ebe119aea77d5c0f1a3ec963013244e9458b8b89726e6b324ec90a1",
|
| 127 |
+
"size_in_bytes": 22296600
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"_path": "lib/libnpps.so.12.4.1.87",
|
| 131 |
+
"path_type": "softlink",
|
| 132 |
+
"sha256": "d785aaaf0ebe119aea77d5c0f1a3ec963013244e9458b8b89726e6b324ec90a1",
|
| 133 |
+
"size_in_bytes": 22296600
|
| 134 |
+
},
|
| 135 |
+
{
|
| 136 |
+
"_path": "targets/x86_64-linux/lib/libnppc.so.12",
|
| 137 |
+
"path_type": "softlink",
|
| 138 |
+
"sha256": "604a5c2e6a4d311d9a227f88de3f0e5612ba6805d233fa86f5e07e810a377a97",
|
| 139 |
+
"size_in_bytes": 1668368
|
| 140 |
+
},
|
| 141 |
+
{
|
| 142 |
+
"_path": "targets/x86_64-linux/lib/libnppc.so.12.4.1.87",
|
| 143 |
+
"path_type": "hardlink",
|
| 144 |
+
"sha256": "604a5c2e6a4d311d9a227f88de3f0e5612ba6805d233fa86f5e07e810a377a97",
|
| 145 |
+
"size_in_bytes": 1668368
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"_path": "targets/x86_64-linux/lib/libnppial.so.12",
|
| 149 |
+
"path_type": "softlink",
|
| 150 |
+
"sha256": "68f8e406380c0c3a02ca76edab48f90498b1fef6b8bb3a9a280646804a721dba",
|
| 151 |
+
"size_in_bytes": 30389840
|
| 152 |
+
},
|
| 153 |
+
{
|
| 154 |
+
"_path": "targets/x86_64-linux/lib/libnppial.so.12.4.1.87",
|
| 155 |
+
"path_type": "hardlink",
|
| 156 |
+
"sha256": "68f8e406380c0c3a02ca76edab48f90498b1fef6b8bb3a9a280646804a721dba",
|
| 157 |
+
"size_in_bytes": 30389840
|
| 158 |
+
},
|
| 159 |
+
{
|
| 160 |
+
"_path": "targets/x86_64-linux/lib/libnppicc.so.12",
|
| 161 |
+
"path_type": "softlink",
|
| 162 |
+
"sha256": "d38438ff8069dac6a01d6cb7d16275b69d942e57d13b1ed249ce42e7a1692287",
|
| 163 |
+
"size_in_bytes": 11294312
|
| 164 |
+
},
|
| 165 |
+
{
|
| 166 |
+
"_path": "targets/x86_64-linux/lib/libnppicc.so.12.4.1.87",
|
| 167 |
+
"path_type": "hardlink",
|
| 168 |
+
"sha256": "d38438ff8069dac6a01d6cb7d16275b69d942e57d13b1ed249ce42e7a1692287",
|
| 169 |
+
"size_in_bytes": 11294312
|
| 170 |
+
},
|
| 171 |
+
{
|
| 172 |
+
"_path": "targets/x86_64-linux/lib/libnppidei.so.12",
|
| 173 |
+
"path_type": "softlink",
|
| 174 |
+
"sha256": "0ff29412c5fba25c5a302ec3b7bbcc94b7af3827351a4885e2894818ec5f00b3",
|
| 175 |
+
"size_in_bytes": 16504760
|
| 176 |
+
},
|
| 177 |
+
{
|
| 178 |
+
"_path": "targets/x86_64-linux/lib/libnppidei.so.12.4.1.87",
|
| 179 |
+
"path_type": "hardlink",
|
| 180 |
+
"sha256": "0ff29412c5fba25c5a302ec3b7bbcc94b7af3827351a4885e2894818ec5f00b3",
|
| 181 |
+
"size_in_bytes": 16504760
|
| 182 |
+
},
|
| 183 |
+
{
|
| 184 |
+
"_path": "targets/x86_64-linux/lib/libnppif.so.12",
|
| 185 |
+
"path_type": "softlink",
|
| 186 |
+
"sha256": "00936321133e82375cf3edd64872a073681e277e1fb9cd1f226c0448276d6237",
|
| 187 |
+
"size_in_bytes": 163167080
|
| 188 |
+
},
|
| 189 |
+
{
|
| 190 |
+
"_path": "targets/x86_64-linux/lib/libnppif.so.12.4.1.87",
|
| 191 |
+
"path_type": "hardlink",
|
| 192 |
+
"sha256": "00936321133e82375cf3edd64872a073681e277e1fb9cd1f226c0448276d6237",
|
| 193 |
+
"size_in_bytes": 163167080
|
| 194 |
+
},
|
| 195 |
+
{
|
| 196 |
+
"_path": "targets/x86_64-linux/lib/libnppig.so.12",
|
| 197 |
+
"path_type": "softlink",
|
| 198 |
+
"sha256": "1d27a17d0329c23f68986b9b4a2bf5d109043337aaf22b2bb84e593973b776e7",
|
| 199 |
+
"size_in_bytes": 70424240
|
| 200 |
+
},
|
| 201 |
+
{
|
| 202 |
+
"_path": "targets/x86_64-linux/lib/libnppig.so.12.4.1.87",
|
| 203 |
+
"path_type": "hardlink",
|
| 204 |
+
"sha256": "1d27a17d0329c23f68986b9b4a2bf5d109043337aaf22b2bb84e593973b776e7",
|
| 205 |
+
"size_in_bytes": 70424240
|
| 206 |
+
},
|
| 207 |
+
{
|
| 208 |
+
"_path": "targets/x86_64-linux/lib/libnppim.so.12",
|
| 209 |
+
"path_type": "softlink",
|
| 210 |
+
"sha256": "f137922c57ebf6adc7ee28c6f323a7e524ab6897e61141b90ae34a8e5611e3f8",
|
| 211 |
+
"size_in_bytes": 15869544
|
| 212 |
+
},
|
| 213 |
+
{
|
| 214 |
+
"_path": "targets/x86_64-linux/lib/libnppim.so.12.4.1.87",
|
| 215 |
+
"path_type": "hardlink",
|
| 216 |
+
"sha256": "f137922c57ebf6adc7ee28c6f323a7e524ab6897e61141b90ae34a8e5611e3f8",
|
| 217 |
+
"size_in_bytes": 15869544
|
| 218 |
+
},
|
| 219 |
+
{
|
| 220 |
+
"_path": "targets/x86_64-linux/lib/libnppist.so.12",
|
| 221 |
+
"path_type": "softlink",
|
| 222 |
+
"sha256": "051bcf910e85002046c6cfb1c2403f5473184999509f6326ed89be624ed992fc",
|
| 223 |
+
"size_in_bytes": 70682536
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"_path": "targets/x86_64-linux/lib/libnppist.so.12.4.1.87",
|
| 227 |
+
"path_type": "hardlink",
|
| 228 |
+
"sha256": "051bcf910e85002046c6cfb1c2403f5473184999509f6326ed89be624ed992fc",
|
| 229 |
+
"size_in_bytes": 70682536
|
| 230 |
+
},
|
| 231 |
+
{
|
| 232 |
+
"_path": "targets/x86_64-linux/lib/libnppisu.so.12",
|
| 233 |
+
"path_type": "softlink",
|
| 234 |
+
"sha256": "5b1cafb00334bcf8048a05b13af8eea348c4b645e81934c083f8f0474a36e7ab",
|
| 235 |
+
"size_in_bytes": 1664224
|
| 236 |
+
},
|
| 237 |
+
{
|
| 238 |
+
"_path": "targets/x86_64-linux/lib/libnppisu.so.12.4.1.87",
|
| 239 |
+
"path_type": "hardlink",
|
| 240 |
+
"sha256": "5b1cafb00334bcf8048a05b13af8eea348c4b645e81934c083f8f0474a36e7ab",
|
| 241 |
+
"size_in_bytes": 1664224
|
| 242 |
+
},
|
| 243 |
+
{
|
| 244 |
+
"_path": "targets/x86_64-linux/lib/libnppitc.so.12",
|
| 245 |
+
"path_type": "softlink",
|
| 246 |
+
"sha256": "d71e2ff540bbab01947a9bbcfbb1b9b0abdd2e17ba82c41a20064b0da984e7ae",
|
| 247 |
+
"size_in_bytes": 8107408
|
| 248 |
+
},
|
| 249 |
+
{
|
| 250 |
+
"_path": "targets/x86_64-linux/lib/libnppitc.so.12.4.1.87",
|
| 251 |
+
"path_type": "hardlink",
|
| 252 |
+
"sha256": "d71e2ff540bbab01947a9bbcfbb1b9b0abdd2e17ba82c41a20064b0da984e7ae",
|
| 253 |
+
"size_in_bytes": 8107408
|
| 254 |
+
},
|
| 255 |
+
{
|
| 256 |
+
"_path": "targets/x86_64-linux/lib/libnpps.so.12",
|
| 257 |
+
"path_type": "softlink",
|
| 258 |
+
"sha256": "d785aaaf0ebe119aea77d5c0f1a3ec963013244e9458b8b89726e6b324ec90a1",
|
| 259 |
+
"size_in_bytes": 22296600
|
| 260 |
+
},
|
| 261 |
+
{
|
| 262 |
+
"_path": "targets/x86_64-linux/lib/libnpps.so.12.4.1.87",
|
| 263 |
+
"path_type": "hardlink",
|
| 264 |
+
"sha256": "d785aaaf0ebe119aea77d5c0f1a3ec963013244e9458b8b89726e6b324ec90a1",
|
| 265 |
+
"size_in_bytes": 22296600
|
| 266 |
+
}
|
| 267 |
+
],
|
| 268 |
+
"paths_version": 1
|
| 269 |
+
}
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/repodata_record.json
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"name": "libnpp",
|
| 3 |
+
"version": "12.4.1.87",
|
| 4 |
+
"build": "0",
|
| 5 |
+
"build_number": 0,
|
| 6 |
+
"channel": "https://conda.anaconda.org/nvidia/linux-64",
|
| 7 |
+
"subdir": "linux-64",
|
| 8 |
+
"fn": "libnpp-12.4.1.87-0.conda",
|
| 9 |
+
"md5": "6a87f8edc9f58733aeb398f2a4b88bd2",
|
| 10 |
+
"url": "https://conda.anaconda.org/nvidia/linux-64/libnpp-12.4.1.87-0.conda",
|
| 11 |
+
"sha256": "50e5e90742140c64006af03857aa603ee280d3e4dab7d2583ffaede585221b68",
|
| 12 |
+
"arch": "x86_64",
|
| 13 |
+
"platform": "linux",
|
| 14 |
+
"depends": [
|
| 15 |
+
"__glibc >=2.17,<3.0.a0",
|
| 16 |
+
"cuda-version >=12.9,<12.10.0a0",
|
| 17 |
+
"libgcc-ng >=11.2.0",
|
| 18 |
+
"libstdcxx-ng >=11.2.0"
|
| 19 |
+
],
|
| 20 |
+
"constrains": [],
|
| 21 |
+
"license": "LicenseRef-NVIDIA-End-User-License-Agreement",
|
| 22 |
+
"timestamp": 1747091236000,
|
| 23 |
+
"size": 175699456
|
| 24 |
+
}
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/test/run_test.sh
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
|
| 3 |
+
set -ex
|
| 4 |
+
|
| 5 |
+
|
| 6 |
+
|
| 7 |
+
test -L $PREFIX/lib/libnppc.so.12.4.1.87
|
| 8 |
+
test -L $PREFIX/lib/libnppc.so.12
|
| 9 |
+
test -L $PREFIX/targets/x86_64-linux/lib/libnppc.so.12
|
| 10 |
+
test -f $PREFIX/targets/x86_64-linux/lib/libnppc.so.12.4.1.87
|
| 11 |
+
exit 0
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/test/test-rpath.sh
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
[[ ${target_platform} == "linux-64" ]] && targetsDir="targets/x86_64-linux"
|
| 4 |
+
[[ ${target_platform} == "linux-ppc64le" ]] && targetsDir="targets/ppc64le-linux"
|
| 5 |
+
[[ ${target_platform} == "linux-aarch64" ]] && targetsDir="targets/sbsa-linux"
|
| 6 |
+
|
| 7 |
+
errors=""
|
| 8 |
+
|
| 9 |
+
for lib in `find ${PREFIX}/${targetsDir}/lib -type f`; do
|
| 10 |
+
[[ $lib =~ \.so ]] || continue
|
| 11 |
+
|
| 12 |
+
rpath=$(patchelf --print-rpath $lib)
|
| 13 |
+
echo "$lib rpath: $rpath"
|
| 14 |
+
if [[ $rpath != "\$ORIGIN" ]]; then
|
| 15 |
+
errors+="$lib\n"
|
| 16 |
+
elif [[ $(objdump -x ${lib} | grep "PATH") == *"RUNPATH"* ]]; then
|
| 17 |
+
errors+="$lib\n"
|
| 18 |
+
fi
|
| 19 |
+
done
|
| 20 |
+
|
| 21 |
+
if [[ $errors ]]; then
|
| 22 |
+
echo "The following libraries were found with an unexpected RPATH:"
|
| 23 |
+
echo -e "$errors"
|
| 24 |
+
|
| 25 |
+
exit 1
|
| 26 |
+
else
|
| 27 |
+
exit 0
|
| 28 |
+
fi
|
data/miniconda3/pkgs/libnpp-12.4.1.87-0/info/test/test_time_dependencies.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
["patchelf"]
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/bin/pango-list
ADDED
|
Binary file (22.2 kB). View file
|
|
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/bin/pango-segmentation
ADDED
|
Binary file (21.5 kB). View file
|
|
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/bin/pango-view
ADDED
|
Binary file (75.9 kB). View file
|
|
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-attributes.h
ADDED
|
@@ -0,0 +1,748 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-attributes.h: Attributed text
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_ATTRIBUTES_H__
|
| 23 |
+
#define __PANGO_ATTRIBUTES_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-font.h>
|
| 26 |
+
#include <pango/pango-color.h>
|
| 27 |
+
#include <glib-object.h>
|
| 28 |
+
|
| 29 |
+
G_BEGIN_DECLS
|
| 30 |
+
|
| 31 |
+
|
| 32 |
+
typedef struct _PangoAttribute PangoAttribute;
|
| 33 |
+
typedef struct _PangoAttrClass PangoAttrClass;
|
| 34 |
+
|
| 35 |
+
typedef struct _PangoAttrString PangoAttrString;
|
| 36 |
+
typedef struct _PangoAttrLanguage PangoAttrLanguage;
|
| 37 |
+
typedef struct _PangoAttrInt PangoAttrInt;
|
| 38 |
+
typedef struct _PangoAttrSize PangoAttrSize;
|
| 39 |
+
typedef struct _PangoAttrFloat PangoAttrFloat;
|
| 40 |
+
typedef struct _PangoAttrColor PangoAttrColor;
|
| 41 |
+
typedef struct _PangoAttrFontDesc PangoAttrFontDesc;
|
| 42 |
+
typedef struct _PangoAttrShape PangoAttrShape;
|
| 43 |
+
typedef struct _PangoAttrFontFeatures PangoAttrFontFeatures;
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* PangoAttrType:
|
| 47 |
+
* @PANGO_ATTR_INVALID: does not happen
|
| 48 |
+
* @PANGO_ATTR_LANGUAGE: language ([struct@Pango.AttrLanguage])
|
| 49 |
+
* @PANGO_ATTR_FAMILY: font family name list ([struct@Pango.AttrString])
|
| 50 |
+
* @PANGO_ATTR_STYLE: font slant style ([struct@Pango.AttrInt])
|
| 51 |
+
* @PANGO_ATTR_WEIGHT: font weight ([struct@Pango.AttrInt])
|
| 52 |
+
* @PANGO_ATTR_VARIANT: font variant (normal or small caps) ([struct@Pango.AttrInt])
|
| 53 |
+
* @PANGO_ATTR_STRETCH: font stretch ([struct@Pango.AttrInt])
|
| 54 |
+
* @PANGO_ATTR_SIZE: font size in points scaled by %PANGO_SCALE ([struct@Pango.AttrInt])
|
| 55 |
+
* @PANGO_ATTR_FONT_DESC: font description ([struct@Pango.AttrFontDesc])
|
| 56 |
+
* @PANGO_ATTR_FOREGROUND: foreground color ([struct@Pango.AttrColor])
|
| 57 |
+
* @PANGO_ATTR_BACKGROUND: background color ([struct@Pango.AttrColor])
|
| 58 |
+
* @PANGO_ATTR_UNDERLINE: whether the text has an underline ([struct@Pango.AttrInt])
|
| 59 |
+
* @PANGO_ATTR_STRIKETHROUGH: whether the text is struck-through ([struct@Pango.AttrInt])
|
| 60 |
+
* @PANGO_ATTR_RISE: baseline displacement ([struct@Pango.AttrInt])
|
| 61 |
+
* @PANGO_ATTR_SHAPE: shape ([struct@Pango.AttrShape])
|
| 62 |
+
* @PANGO_ATTR_SCALE: font size scale factor ([struct@Pango.AttrFloat])
|
| 63 |
+
* @PANGO_ATTR_FALLBACK: whether fallback is enabled ([struct@Pango.AttrInt])
|
| 64 |
+
* @PANGO_ATTR_LETTER_SPACING: letter spacing ([struct@PangoAttrInt])
|
| 65 |
+
* @PANGO_ATTR_UNDERLINE_COLOR: underline color ([struct@Pango.AttrColor])
|
| 66 |
+
* @PANGO_ATTR_STRIKETHROUGH_COLOR: strikethrough color ([struct@Pango.AttrColor])
|
| 67 |
+
* @PANGO_ATTR_ABSOLUTE_SIZE: font size in pixels scaled by %PANGO_SCALE ([struct@Pango.AttrInt])
|
| 68 |
+
* @PANGO_ATTR_GRAVITY: base text gravity ([struct@Pango.AttrInt])
|
| 69 |
+
* @PANGO_ATTR_GRAVITY_HINT: gravity hint ([struct@Pango.AttrInt])
|
| 70 |
+
* @PANGO_ATTR_FONT_FEATURES: OpenType font features ([struct@Pango.AttrFontFeatures]). Since 1.38
|
| 71 |
+
* @PANGO_ATTR_FOREGROUND_ALPHA: foreground alpha ([struct@Pango.AttrInt]). Since 1.38
|
| 72 |
+
* @PANGO_ATTR_BACKGROUND_ALPHA: background alpha ([struct@Pango.AttrInt]). Since 1.38
|
| 73 |
+
* @PANGO_ATTR_ALLOW_BREAKS: whether breaks are allowed ([struct@Pango.AttrInt]). Since 1.44
|
| 74 |
+
* @PANGO_ATTR_SHOW: how to render invisible characters ([struct@Pango.AttrInt]). Since 1.44
|
| 75 |
+
* @PANGO_ATTR_INSERT_HYPHENS: whether to insert hyphens at intra-word line breaks ([struct@Pango.AttrInt]). Since 1.44
|
| 76 |
+
* @PANGO_ATTR_OVERLINE: whether the text has an overline ([struct@Pango.AttrInt]). Since 1.46
|
| 77 |
+
* @PANGO_ATTR_OVERLINE_COLOR: overline color ([struct@Pango.AttrColor]). Since 1.46
|
| 78 |
+
* @PANGO_ATTR_LINE_HEIGHT: line height factor ([struct@Pango.AttrFloat]). Since: 1.50
|
| 79 |
+
* @PANGO_ATTR_ABSOLUTE_LINE_HEIGHT: line height ([struct@Pango.AttrInt]). Since: 1.50
|
| 80 |
+
* @PANGO_ATTR_WORD: override segmentation to classify the range of the attribute as a single word ([struct@Pango.AttrInt]). Since 1.50
|
| 81 |
+
* @PANGO_ATTR_SENTENCE: override segmentation to classify the range of the attribute as a single sentence ([struct@Pango.AttrInt]). Since 1.50
|
| 82 |
+
* @PANGO_ATTR_BASELINE_SHIFT: baseline displacement ([struct@Pango.AttrInt]). Since 1.50
|
| 83 |
+
* @PANGO_ATTR_FONT_SCALE: font-relative size change ([struct@Pango.AttrInt]). Since 1.50
|
| 84 |
+
*
|
| 85 |
+
* The `PangoAttrType` distinguishes between different types of attributes.
|
| 86 |
+
*
|
| 87 |
+
* Along with the predefined values, it is possible to allocate additional
|
| 88 |
+
* values for custom attributes using [func@AttrType.register]. The predefined
|
| 89 |
+
* values are given below. The type of structure used to store the attribute is
|
| 90 |
+
* listed in parentheses after the description.
|
| 91 |
+
*/
|
| 92 |
+
typedef enum
|
| 93 |
+
{
|
| 94 |
+
PANGO_ATTR_INVALID, /* 0 is an invalid attribute type */
|
| 95 |
+
PANGO_ATTR_LANGUAGE, /* PangoAttrLanguage */
|
| 96 |
+
PANGO_ATTR_FAMILY, /* PangoAttrString */
|
| 97 |
+
PANGO_ATTR_STYLE, /* PangoAttrInt */
|
| 98 |
+
PANGO_ATTR_WEIGHT, /* PangoAttrInt */
|
| 99 |
+
PANGO_ATTR_VARIANT, /* PangoAttrInt */
|
| 100 |
+
PANGO_ATTR_STRETCH, /* PangoAttrInt */
|
| 101 |
+
PANGO_ATTR_SIZE, /* PangoAttrSize */
|
| 102 |
+
PANGO_ATTR_FONT_DESC, /* PangoAttrFontDesc */
|
| 103 |
+
PANGO_ATTR_FOREGROUND, /* PangoAttrColor */
|
| 104 |
+
PANGO_ATTR_BACKGROUND, /* PangoAttrColor */
|
| 105 |
+
PANGO_ATTR_UNDERLINE, /* PangoAttrInt */
|
| 106 |
+
PANGO_ATTR_STRIKETHROUGH, /* PangoAttrInt */
|
| 107 |
+
PANGO_ATTR_RISE, /* PangoAttrInt */
|
| 108 |
+
PANGO_ATTR_SHAPE, /* PangoAttrShape */
|
| 109 |
+
PANGO_ATTR_SCALE, /* PangoAttrFloat */
|
| 110 |
+
PANGO_ATTR_FALLBACK, /* PangoAttrInt */
|
| 111 |
+
PANGO_ATTR_LETTER_SPACING, /* PangoAttrInt */
|
| 112 |
+
PANGO_ATTR_UNDERLINE_COLOR, /* PangoAttrColor */
|
| 113 |
+
PANGO_ATTR_STRIKETHROUGH_COLOR,/* PangoAttrColor */
|
| 114 |
+
PANGO_ATTR_ABSOLUTE_SIZE, /* PangoAttrSize */
|
| 115 |
+
PANGO_ATTR_GRAVITY, /* PangoAttrInt */
|
| 116 |
+
PANGO_ATTR_GRAVITY_HINT, /* PangoAttrInt */
|
| 117 |
+
PANGO_ATTR_FONT_FEATURES, /* PangoAttrFontFeatures */
|
| 118 |
+
PANGO_ATTR_FOREGROUND_ALPHA, /* PangoAttrInt */
|
| 119 |
+
PANGO_ATTR_BACKGROUND_ALPHA, /* PangoAttrInt */
|
| 120 |
+
PANGO_ATTR_ALLOW_BREAKS, /* PangoAttrInt */
|
| 121 |
+
PANGO_ATTR_SHOW, /* PangoAttrInt */
|
| 122 |
+
PANGO_ATTR_INSERT_HYPHENS, /* PangoAttrInt */
|
| 123 |
+
PANGO_ATTR_OVERLINE, /* PangoAttrInt */
|
| 124 |
+
PANGO_ATTR_OVERLINE_COLOR, /* PangoAttrColor */
|
| 125 |
+
PANGO_ATTR_LINE_HEIGHT, /* PangoAttrFloat */
|
| 126 |
+
PANGO_ATTR_ABSOLUTE_LINE_HEIGHT, /* PangoAttrInt */
|
| 127 |
+
PANGO_ATTR_TEXT_TRANSFORM, /* PangoAttrInt */
|
| 128 |
+
PANGO_ATTR_WORD, /* PangoAttrInt */
|
| 129 |
+
PANGO_ATTR_SENTENCE, /* PangoAttrInt */
|
| 130 |
+
PANGO_ATTR_BASELINE_SHIFT, /* PangoAttrSize */
|
| 131 |
+
PANGO_ATTR_FONT_SCALE, /* PangoAttrInt */
|
| 132 |
+
} PangoAttrType;
|
| 133 |
+
|
| 134 |
+
/**
|
| 135 |
+
* PangoUnderline:
|
| 136 |
+
* @PANGO_UNDERLINE_NONE: no underline should be drawn
|
| 137 |
+
* @PANGO_UNDERLINE_SINGLE: a single underline should be drawn
|
| 138 |
+
* @PANGO_UNDERLINE_DOUBLE: a double underline should be drawn
|
| 139 |
+
* @PANGO_UNDERLINE_LOW: a single underline should be drawn at a
|
| 140 |
+
* position beneath the ink extents of the text being
|
| 141 |
+
* underlined. This should be used only for underlining
|
| 142 |
+
* single characters, such as for keyboard accelerators.
|
| 143 |
+
* %PANGO_UNDERLINE_SINGLE should be used for extended
|
| 144 |
+
* portions of text.
|
| 145 |
+
* @PANGO_UNDERLINE_ERROR: an underline indicating an error should
|
| 146 |
+
* be drawn below. The exact style of rendering is up to the
|
| 147 |
+
* `PangoRenderer` in use, but typical styles include wavy
|
| 148 |
+
* or dotted lines.
|
| 149 |
+
* This underline is typically used to indicate an error such
|
| 150 |
+
* as a possible mispelling; in some cases a contrasting color
|
| 151 |
+
* may automatically be used. This type of underlining is
|
| 152 |
+
* available since Pango 1.4.
|
| 153 |
+
* @PANGO_UNDERLINE_SINGLE_LINE: Like @PANGO_UNDERLINE_SINGLE, but
|
| 154 |
+
* drawn continuously across multiple runs. This type
|
| 155 |
+
* of underlining is available since Pango 1.46.
|
| 156 |
+
* @PANGO_UNDERLINE_DOUBLE_LINE: Like @PANGO_UNDERLINE_DOUBLE, but
|
| 157 |
+
* drawn continuously across multiple runs. This type
|
| 158 |
+
* of underlining is available since Pango 1.46.
|
| 159 |
+
* @PANGO_UNDERLINE_ERROR_LINE: Like @PANGO_UNDERLINE_ERROR, but
|
| 160 |
+
* drawn continuously across multiple runs. This type
|
| 161 |
+
* of underlining is available since Pango 1.46.
|
| 162 |
+
*
|
| 163 |
+
* The `PangoUnderline` enumeration is used to specify whether text
|
| 164 |
+
* should be underlined, and if so, the type of underlining.
|
| 165 |
+
*/
|
| 166 |
+
typedef enum {
|
| 167 |
+
PANGO_UNDERLINE_NONE,
|
| 168 |
+
PANGO_UNDERLINE_SINGLE,
|
| 169 |
+
PANGO_UNDERLINE_DOUBLE,
|
| 170 |
+
PANGO_UNDERLINE_LOW,
|
| 171 |
+
PANGO_UNDERLINE_ERROR,
|
| 172 |
+
PANGO_UNDERLINE_SINGLE_LINE,
|
| 173 |
+
PANGO_UNDERLINE_DOUBLE_LINE,
|
| 174 |
+
PANGO_UNDERLINE_ERROR_LINE
|
| 175 |
+
} PangoUnderline;
|
| 176 |
+
|
| 177 |
+
|
| 178 |
+
/**
|
| 179 |
+
* PangoOverline:
|
| 180 |
+
* @PANGO_OVERLINE_NONE: no overline should be drawn
|
| 181 |
+
* @PANGO_OVERLINE_SINGLE: Draw a single line above the ink
|
| 182 |
+
* extents of the text being underlined.
|
| 183 |
+
*
|
| 184 |
+
* The `PangoOverline` enumeration is used to specify whether text
|
| 185 |
+
* should be overlined, and if so, the type of line.
|
| 186 |
+
*
|
| 187 |
+
* Since: 1.46
|
| 188 |
+
*/
|
| 189 |
+
typedef enum {
|
| 190 |
+
PANGO_OVERLINE_NONE,
|
| 191 |
+
PANGO_OVERLINE_SINGLE
|
| 192 |
+
} PangoOverline;
|
| 193 |
+
|
| 194 |
+
/**
|
| 195 |
+
* PangoShowFlags:
|
| 196 |
+
* @PANGO_SHOW_NONE: No special treatment for invisible characters
|
| 197 |
+
* @PANGO_SHOW_SPACES: Render spaces, tabs and newlines visibly
|
| 198 |
+
* @PANGO_SHOW_LINE_BREAKS: Render line breaks visibly
|
| 199 |
+
* @PANGO_SHOW_IGNORABLES: Render default-ignorable Unicode
|
| 200 |
+
* characters visibly
|
| 201 |
+
*
|
| 202 |
+
* These flags affect how Pango treats characters that are normally
|
| 203 |
+
* not visible in the output.
|
| 204 |
+
*
|
| 205 |
+
* Since: 1.44
|
| 206 |
+
*/
|
| 207 |
+
typedef enum {
|
| 208 |
+
PANGO_SHOW_NONE = 0,
|
| 209 |
+
PANGO_SHOW_SPACES = 1 << 0,
|
| 210 |
+
PANGO_SHOW_LINE_BREAKS = 1 << 1,
|
| 211 |
+
PANGO_SHOW_IGNORABLES = 1 << 2
|
| 212 |
+
} PangoShowFlags;
|
| 213 |
+
|
| 214 |
+
/**
|
| 215 |
+
* PangoTextTransform:
|
| 216 |
+
* @PANGO_TEXT_TRANSFORM_NONE: Leave text unchanged
|
| 217 |
+
* @PANGO_TEXT_TRANSFORM_LOWERCASE: Display letters and numbers as lowercase
|
| 218 |
+
* @PANGO_TEXT_TRANSFORM_UPPERCASE: Display letters and numbers as uppercase
|
| 219 |
+
* @PANGO_TEXT_TRANSFORM_CAPITALIZE: Display the first character of a word
|
| 220 |
+
* in titlecase
|
| 221 |
+
*
|
| 222 |
+
* An enumeration that affects how Pango treats characters during shaping.
|
| 223 |
+
*
|
| 224 |
+
* Since: 1.50
|
| 225 |
+
*/
|
| 226 |
+
typedef enum {
|
| 227 |
+
PANGO_TEXT_TRANSFORM_NONE,
|
| 228 |
+
PANGO_TEXT_TRANSFORM_LOWERCASE,
|
| 229 |
+
PANGO_TEXT_TRANSFORM_UPPERCASE,
|
| 230 |
+
PANGO_TEXT_TRANSFORM_CAPITALIZE,
|
| 231 |
+
} PangoTextTransform;
|
| 232 |
+
|
| 233 |
+
/**
|
| 234 |
+
* PangoBaselineShift:
|
| 235 |
+
* @PANGO_BASELINE_SHIFT_NONE: Leave the baseline unchanged
|
| 236 |
+
* @PANGO_BASELINE_SHIFT_SUPERSCRIPT: Shift the baseline to the superscript position,
|
| 237 |
+
* relative to the previous run
|
| 238 |
+
* @PANGO_BASELINE_SHIFT_SUBSCRIPT: Shift the baseline to the subscript position,
|
| 239 |
+
* relative to the previous run
|
| 240 |
+
*
|
| 241 |
+
* An enumeration that affects baseline shifts between runs.
|
| 242 |
+
*
|
| 243 |
+
* Since: 1.50
|
| 244 |
+
*/
|
| 245 |
+
typedef enum {
|
| 246 |
+
PANGO_BASELINE_SHIFT_NONE,
|
| 247 |
+
PANGO_BASELINE_SHIFT_SUPERSCRIPT,
|
| 248 |
+
PANGO_BASELINE_SHIFT_SUBSCRIPT,
|
| 249 |
+
} PangoBaselineShift;
|
| 250 |
+
|
| 251 |
+
/**
|
| 252 |
+
* PangoFontScale:
|
| 253 |
+
* @PANGO_FONT_SCALE_NONE: Leave the font size unchanged
|
| 254 |
+
* @PANGO_FONT_SCALE_SUPERSCRIPT: Change the font to a size suitable for superscripts
|
| 255 |
+
* @PANGO_FONT_SCALE_SUBSCRIPT: Change the font to a size suitable for subscripts
|
| 256 |
+
* @PANGO_FONT_SCALE_SMALL_CAPS: Change the font to a size suitable for Small Caps
|
| 257 |
+
*
|
| 258 |
+
* An enumeration that affects font sizes for superscript
|
| 259 |
+
* and subscript positioning and for (emulated) Small Caps.
|
| 260 |
+
*
|
| 261 |
+
* Since: 1.50
|
| 262 |
+
*/
|
| 263 |
+
typedef enum {
|
| 264 |
+
PANGO_FONT_SCALE_NONE,
|
| 265 |
+
PANGO_FONT_SCALE_SUPERSCRIPT,
|
| 266 |
+
PANGO_FONT_SCALE_SUBSCRIPT,
|
| 267 |
+
PANGO_FONT_SCALE_SMALL_CAPS,
|
| 268 |
+
} PangoFontScale;
|
| 269 |
+
|
| 270 |
+
/**
|
| 271 |
+
* PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING:
|
| 272 |
+
*
|
| 273 |
+
* Value for @start_index in `PangoAttribute` that indicates
|
| 274 |
+
* the beginning of the text.
|
| 275 |
+
*
|
| 276 |
+
* Since: 1.24
|
| 277 |
+
*/
|
| 278 |
+
#define PANGO_ATTR_INDEX_FROM_TEXT_BEGINNING ((guint)0)
|
| 279 |
+
|
| 280 |
+
/**
|
| 281 |
+
* PANGO_ATTR_INDEX_TO_TEXT_END: (value 4294967295)
|
| 282 |
+
*
|
| 283 |
+
* Value for @end_index in `PangoAttribute` that indicates
|
| 284 |
+
* the end of the text.
|
| 285 |
+
*
|
| 286 |
+
* Since: 1.24
|
| 287 |
+
*/
|
| 288 |
+
#define PANGO_ATTR_INDEX_TO_TEXT_END ((guint)(G_MAXUINT + 0))
|
| 289 |
+
|
| 290 |
+
/**
|
| 291 |
+
* PangoAttribute: (copy-func pango_attribute_copy) (free-func pango_attribute_destroy)
|
| 292 |
+
* @klass: the class structure holding information about the type of the attribute
|
| 293 |
+
* @start_index: the start index of the range (in bytes).
|
| 294 |
+
* @end_index: end index of the range (in bytes). The character at this index
|
| 295 |
+
* is not included in the range.
|
| 296 |
+
*
|
| 297 |
+
* The `PangoAttribute` structure represents the common portions of all
|
| 298 |
+
* attributes.
|
| 299 |
+
*
|
| 300 |
+
* Particular types of attributes include this structure as their initial
|
| 301 |
+
* portion. The common portion of the attribute holds the range to which
|
| 302 |
+
* the value in the type-specific part of the attribute applies and should
|
| 303 |
+
* be initialized using [method@Pango.Attribute.init]. By default, an attribute
|
| 304 |
+
* will have an all-inclusive range of [0,%G_MAXUINT].
|
| 305 |
+
*/
|
| 306 |
+
struct _PangoAttribute
|
| 307 |
+
{
|
| 308 |
+
const PangoAttrClass *klass;
|
| 309 |
+
guint start_index;
|
| 310 |
+
guint end_index;
|
| 311 |
+
};
|
| 312 |
+
|
| 313 |
+
/**
|
| 314 |
+
* PangoAttrFilterFunc:
|
| 315 |
+
* @attribute: a Pango attribute
|
| 316 |
+
* @user_data: user data passed to the function
|
| 317 |
+
*
|
| 318 |
+
* Type of a function filtering a list of attributes.
|
| 319 |
+
*
|
| 320 |
+
* Return value: %TRUE if the attribute should be selected for
|
| 321 |
+
* filtering, %FALSE otherwise.
|
| 322 |
+
*/
|
| 323 |
+
typedef gboolean (*PangoAttrFilterFunc) (PangoAttribute *attribute,
|
| 324 |
+
gpointer user_data);
|
| 325 |
+
|
| 326 |
+
/**
|
| 327 |
+
* PangoAttrDataCopyFunc:
|
| 328 |
+
* @user_data: user data to copy
|
| 329 |
+
*
|
| 330 |
+
* Type of a function that can duplicate user data for an attribute.
|
| 331 |
+
*
|
| 332 |
+
* Return value: new copy of @user_data.
|
| 333 |
+
**/
|
| 334 |
+
typedef gpointer (*PangoAttrDataCopyFunc) (gconstpointer user_data);
|
| 335 |
+
|
| 336 |
+
/**
|
| 337 |
+
* PangoAttrClass:
|
| 338 |
+
* @type: the type ID for this attribute
|
| 339 |
+
* @copy: function to duplicate an attribute of this type
|
| 340 |
+
* (see [method@Pango.Attribute.copy])
|
| 341 |
+
* @destroy: function to free an attribute of this type
|
| 342 |
+
* (see [method@Pango.Attribute.destroy])
|
| 343 |
+
* @equal: function to check two attributes of this type for equality
|
| 344 |
+
* (see [method@Pango.Attribute.equal])
|
| 345 |
+
*
|
| 346 |
+
* The `PangoAttrClass` structure stores the type and operations for
|
| 347 |
+
* a particular type of attribute.
|
| 348 |
+
*
|
| 349 |
+
* The functions in this structure should not be called directly. Instead,
|
| 350 |
+
* one should use the wrapper functions provided for `PangoAttribute`.
|
| 351 |
+
*/
|
| 352 |
+
struct _PangoAttrClass
|
| 353 |
+
{
|
| 354 |
+
/*< public >*/
|
| 355 |
+
PangoAttrType type;
|
| 356 |
+
PangoAttribute * (*copy) (const PangoAttribute *attr);
|
| 357 |
+
void (*destroy) (PangoAttribute *attr);
|
| 358 |
+
gboolean (*equal) (const PangoAttribute *attr1, const PangoAttribute *attr2);
|
| 359 |
+
};
|
| 360 |
+
|
| 361 |
+
/**
|
| 362 |
+
* PangoAttrString:
|
| 363 |
+
* @attr: the common portion of the attribute
|
| 364 |
+
* @value: the string which is the value of the attribute
|
| 365 |
+
*
|
| 366 |
+
* The `PangoAttrString` structure is used to represent attributes with
|
| 367 |
+
* a string value.
|
| 368 |
+
*/
|
| 369 |
+
struct _PangoAttrString
|
| 370 |
+
{
|
| 371 |
+
PangoAttribute attr;
|
| 372 |
+
char *value;
|
| 373 |
+
};
|
| 374 |
+
/**
|
| 375 |
+
* PangoAttrLanguage:
|
| 376 |
+
* @attr: the common portion of the attribute
|
| 377 |
+
* @value: the `PangoLanguage` which is the value of the attribute
|
| 378 |
+
*
|
| 379 |
+
* The `PangoAttrLanguage` structure is used to represent attributes that
|
| 380 |
+
* are languages.
|
| 381 |
+
*/
|
| 382 |
+
struct _PangoAttrLanguage
|
| 383 |
+
{
|
| 384 |
+
PangoAttribute attr;
|
| 385 |
+
PangoLanguage *value;
|
| 386 |
+
};
|
| 387 |
+
/**
|
| 388 |
+
* PangoAttrInt:
|
| 389 |
+
* @attr: the common portion of the attribute
|
| 390 |
+
* @value: the value of the attribute
|
| 391 |
+
*
|
| 392 |
+
* The `PangoAttrInt` structure is used to represent attributes with
|
| 393 |
+
* an integer or enumeration value.
|
| 394 |
+
*/
|
| 395 |
+
struct _PangoAttrInt
|
| 396 |
+
{
|
| 397 |
+
PangoAttribute attr;
|
| 398 |
+
int value;
|
| 399 |
+
};
|
| 400 |
+
/**
|
| 401 |
+
* PangoAttrFloat:
|
| 402 |
+
* @attr: the common portion of the attribute
|
| 403 |
+
* @value: the value of the attribute
|
| 404 |
+
*
|
| 405 |
+
* The `PangoAttrFloat` structure is used to represent attributes with
|
| 406 |
+
* a float or double value.
|
| 407 |
+
*/
|
| 408 |
+
struct _PangoAttrFloat
|
| 409 |
+
{
|
| 410 |
+
PangoAttribute attr;
|
| 411 |
+
double value;
|
| 412 |
+
};
|
| 413 |
+
/**
|
| 414 |
+
* PangoAttrColor:
|
| 415 |
+
* @attr: the common portion of the attribute
|
| 416 |
+
* @color: the `PangoColor` which is the value of the attribute
|
| 417 |
+
*
|
| 418 |
+
* The `PangoAttrColor` structure is used to represent attributes that
|
| 419 |
+
* are colors.
|
| 420 |
+
*/
|
| 421 |
+
struct _PangoAttrColor
|
| 422 |
+
{
|
| 423 |
+
PangoAttribute attr;
|
| 424 |
+
PangoColor color;
|
| 425 |
+
};
|
| 426 |
+
|
| 427 |
+
/**
|
| 428 |
+
* PangoAttrSize:
|
| 429 |
+
* @attr: the common portion of the attribute
|
| 430 |
+
* @size: size of font, in units of 1/%PANGO_SCALE of a point (for
|
| 431 |
+
* %PANGO_ATTR_SIZE) or of a device unit (for %PANGO_ATTR_ABSOLUTE_SIZE)
|
| 432 |
+
* @absolute: whether the font size is in device units or points.
|
| 433 |
+
* This field is only present for compatibility with Pango-1.8.0
|
| 434 |
+
* (%PANGO_ATTR_ABSOLUTE_SIZE was added in 1.8.1); and always will
|
| 435 |
+
* be %FALSE for %PANGO_ATTR_SIZE and %TRUE for %PANGO_ATTR_ABSOLUTE_SIZE.
|
| 436 |
+
*
|
| 437 |
+
* The `PangoAttrSize` structure is used to represent attributes which
|
| 438 |
+
* set font size.
|
| 439 |
+
*/
|
| 440 |
+
struct _PangoAttrSize
|
| 441 |
+
{
|
| 442 |
+
PangoAttribute attr;
|
| 443 |
+
int size;
|
| 444 |
+
guint absolute : 1;
|
| 445 |
+
};
|
| 446 |
+
|
| 447 |
+
/**
|
| 448 |
+
* PangoAttrShape:
|
| 449 |
+
* @attr: the common portion of the attribute
|
| 450 |
+
* @ink_rect: the ink rectangle to restrict to
|
| 451 |
+
* @logical_rect: the logical rectangle to restrict to
|
| 452 |
+
* @data: user data set (see [func@Pango.AttrShape.new_with_data])
|
| 453 |
+
* @copy_func: copy function for the user data
|
| 454 |
+
* @destroy_func: destroy function for the user data
|
| 455 |
+
*
|
| 456 |
+
* The `PangoAttrShape` structure is used to represent attributes which
|
| 457 |
+
* impose shape restrictions.
|
| 458 |
+
*/
|
| 459 |
+
struct _PangoAttrShape
|
| 460 |
+
{
|
| 461 |
+
PangoAttribute attr;
|
| 462 |
+
PangoRectangle ink_rect;
|
| 463 |
+
PangoRectangle logical_rect;
|
| 464 |
+
|
| 465 |
+
gpointer data;
|
| 466 |
+
PangoAttrDataCopyFunc copy_func;
|
| 467 |
+
GDestroyNotify destroy_func;
|
| 468 |
+
};
|
| 469 |
+
|
| 470 |
+
/**
|
| 471 |
+
* PangoAttrFontDesc:
|
| 472 |
+
* @attr: the common portion of the attribute
|
| 473 |
+
* @desc: the font description which is the value of this attribute
|
| 474 |
+
*
|
| 475 |
+
* The `PangoAttrFontDesc` structure is used to store an attribute that
|
| 476 |
+
* sets all aspects of the font description at once.
|
| 477 |
+
*/
|
| 478 |
+
struct _PangoAttrFontDesc
|
| 479 |
+
{
|
| 480 |
+
PangoAttribute attr;
|
| 481 |
+
PangoFontDescription *desc;
|
| 482 |
+
};
|
| 483 |
+
|
| 484 |
+
/**
|
| 485 |
+
* PangoAttrFontFeatures:
|
| 486 |
+
* @attr: the common portion of the attribute
|
| 487 |
+
* @features: the features, as a string in CSS syntax
|
| 488 |
+
*
|
| 489 |
+
* The `PangoAttrFontFeatures` structure is used to represent OpenType
|
| 490 |
+
* font features as an attribute.
|
| 491 |
+
*
|
| 492 |
+
* Since: 1.38
|
| 493 |
+
*/
|
| 494 |
+
struct _PangoAttrFontFeatures
|
| 495 |
+
{
|
| 496 |
+
PangoAttribute attr;
|
| 497 |
+
gchar *features;
|
| 498 |
+
};
|
| 499 |
+
|
| 500 |
+
PANGO_AVAILABLE_IN_ALL
|
| 501 |
+
GType pango_attribute_get_type (void) G_GNUC_CONST;
|
| 502 |
+
|
| 503 |
+
PANGO_AVAILABLE_IN_ALL
|
| 504 |
+
PangoAttrType pango_attr_type_register (const char *name);
|
| 505 |
+
PANGO_AVAILABLE_IN_1_22
|
| 506 |
+
const char * pango_attr_type_get_name (PangoAttrType type) G_GNUC_CONST;
|
| 507 |
+
PANGO_AVAILABLE_IN_1_20
|
| 508 |
+
void pango_attribute_init (PangoAttribute *attr,
|
| 509 |
+
const PangoAttrClass *klass);
|
| 510 |
+
PANGO_AVAILABLE_IN_ALL
|
| 511 |
+
PangoAttribute * pango_attribute_copy (const PangoAttribute *attr);
|
| 512 |
+
PANGO_AVAILABLE_IN_ALL
|
| 513 |
+
void pango_attribute_destroy (PangoAttribute *attr);
|
| 514 |
+
PANGO_AVAILABLE_IN_ALL
|
| 515 |
+
gboolean pango_attribute_equal (const PangoAttribute *attr1,
|
| 516 |
+
const PangoAttribute *attr2) G_GNUC_PURE;
|
| 517 |
+
|
| 518 |
+
PANGO_AVAILABLE_IN_ALL
|
| 519 |
+
PangoAttribute * pango_attr_language_new (PangoLanguage *language);
|
| 520 |
+
PANGO_AVAILABLE_IN_ALL
|
| 521 |
+
PangoAttribute * pango_attr_family_new (const char *family);
|
| 522 |
+
PANGO_AVAILABLE_IN_ALL
|
| 523 |
+
PangoAttribute * pango_attr_foreground_new (guint16 red,
|
| 524 |
+
guint16 green,
|
| 525 |
+
guint16 blue);
|
| 526 |
+
PANGO_AVAILABLE_IN_ALL
|
| 527 |
+
PangoAttribute * pango_attr_background_new (guint16 red,
|
| 528 |
+
guint16 green,
|
| 529 |
+
guint16 blue);
|
| 530 |
+
PANGO_AVAILABLE_IN_ALL
|
| 531 |
+
PangoAttribute * pango_attr_size_new (int size);
|
| 532 |
+
PANGO_AVAILABLE_IN_1_8
|
| 533 |
+
PangoAttribute * pango_attr_size_new_absolute (int size);
|
| 534 |
+
PANGO_AVAILABLE_IN_ALL
|
| 535 |
+
PangoAttribute * pango_attr_style_new (PangoStyle style);
|
| 536 |
+
PANGO_AVAILABLE_IN_ALL
|
| 537 |
+
PangoAttribute * pango_attr_weight_new (PangoWeight weight);
|
| 538 |
+
PANGO_AVAILABLE_IN_ALL
|
| 539 |
+
PangoAttribute * pango_attr_variant_new (PangoVariant variant);
|
| 540 |
+
PANGO_AVAILABLE_IN_ALL
|
| 541 |
+
PangoAttribute * pango_attr_stretch_new (PangoStretch stretch);
|
| 542 |
+
PANGO_AVAILABLE_IN_ALL
|
| 543 |
+
PangoAttribute * pango_attr_font_desc_new (const PangoFontDescription *desc);
|
| 544 |
+
|
| 545 |
+
PANGO_AVAILABLE_IN_ALL
|
| 546 |
+
PangoAttribute * pango_attr_underline_new (PangoUnderline underline);
|
| 547 |
+
PANGO_AVAILABLE_IN_1_8
|
| 548 |
+
PangoAttribute * pango_attr_underline_color_new (guint16 red,
|
| 549 |
+
guint16 green,
|
| 550 |
+
guint16 blue);
|
| 551 |
+
PANGO_AVAILABLE_IN_ALL
|
| 552 |
+
PangoAttribute * pango_attr_strikethrough_new (gboolean strikethrough);
|
| 553 |
+
PANGO_AVAILABLE_IN_1_8
|
| 554 |
+
PangoAttribute * pango_attr_strikethrough_color_new (guint16 red,
|
| 555 |
+
guint16 green,
|
| 556 |
+
guint16 blue);
|
| 557 |
+
PANGO_AVAILABLE_IN_ALL
|
| 558 |
+
PangoAttribute * pango_attr_rise_new (int rise);
|
| 559 |
+
PANGO_AVAILABLE_IN_1_50
|
| 560 |
+
PangoAttribute * pango_attr_baseline_shift_new (int shift);
|
| 561 |
+
PANGO_AVAILABLE_IN_1_50
|
| 562 |
+
PangoAttribute * pango_attr_font_scale_new (PangoFontScale scale);
|
| 563 |
+
PANGO_AVAILABLE_IN_ALL
|
| 564 |
+
PangoAttribute * pango_attr_scale_new (double scale_factor);
|
| 565 |
+
PANGO_AVAILABLE_IN_1_4
|
| 566 |
+
PangoAttribute * pango_attr_fallback_new (gboolean enable_fallback);
|
| 567 |
+
PANGO_AVAILABLE_IN_1_6
|
| 568 |
+
PangoAttribute * pango_attr_letter_spacing_new (int letter_spacing);
|
| 569 |
+
PANGO_AVAILABLE_IN_ALL
|
| 570 |
+
PangoAttribute * pango_attr_shape_new (const PangoRectangle *ink_rect,
|
| 571 |
+
const PangoRectangle *logical_rect);
|
| 572 |
+
PANGO_AVAILABLE_IN_1_8
|
| 573 |
+
PangoAttribute * pango_attr_shape_new_with_data (const PangoRectangle *ink_rect,
|
| 574 |
+
const PangoRectangle *logical_rect,
|
| 575 |
+
gpointer data,
|
| 576 |
+
PangoAttrDataCopyFunc copy_func,
|
| 577 |
+
GDestroyNotify destroy_func);
|
| 578 |
+
PANGO_AVAILABLE_IN_1_16
|
| 579 |
+
PangoAttribute * pango_attr_gravity_new (PangoGravity gravity);
|
| 580 |
+
PANGO_AVAILABLE_IN_1_16
|
| 581 |
+
PangoAttribute * pango_attr_gravity_hint_new (PangoGravityHint hint);
|
| 582 |
+
PANGO_AVAILABLE_IN_1_38
|
| 583 |
+
PangoAttribute * pango_attr_font_features_new (const char *features);
|
| 584 |
+
PANGO_AVAILABLE_IN_1_38
|
| 585 |
+
PangoAttribute * pango_attr_foreground_alpha_new (guint16 alpha);
|
| 586 |
+
PANGO_AVAILABLE_IN_1_38
|
| 587 |
+
PangoAttribute * pango_attr_background_alpha_new (guint16 alpha);
|
| 588 |
+
PANGO_AVAILABLE_IN_1_44
|
| 589 |
+
PangoAttribute * pango_attr_allow_breaks_new (gboolean allow_breaks);
|
| 590 |
+
|
| 591 |
+
PANGO_AVAILABLE_IN_1_50
|
| 592 |
+
PangoAttribute * pango_attr_word_new (void);
|
| 593 |
+
PANGO_AVAILABLE_IN_1_50
|
| 594 |
+
PangoAttribute * pango_attr_sentence_new (void);
|
| 595 |
+
|
| 596 |
+
PANGO_AVAILABLE_IN_1_44
|
| 597 |
+
PangoAttribute * pango_attr_insert_hyphens_new (gboolean insert_hyphens);
|
| 598 |
+
PANGO_AVAILABLE_IN_1_46
|
| 599 |
+
PangoAttribute * pango_attr_overline_new (PangoOverline overline);
|
| 600 |
+
PANGO_AVAILABLE_IN_1_46
|
| 601 |
+
PangoAttribute * pango_attr_overline_color_new (guint16 red,
|
| 602 |
+
guint16 green,
|
| 603 |
+
guint16 blue);
|
| 604 |
+
PANGO_AVAILABLE_IN_1_44
|
| 605 |
+
PangoAttribute * pango_attr_show_new (PangoShowFlags flags);
|
| 606 |
+
PANGO_AVAILABLE_IN_1_50
|
| 607 |
+
PangoAttribute * pango_attr_line_height_new (double factor);
|
| 608 |
+
PANGO_AVAILABLE_IN_1_50
|
| 609 |
+
PangoAttribute * pango_attr_line_height_new_absolute (int height);
|
| 610 |
+
PANGO_AVAILABLE_IN_1_50
|
| 611 |
+
PangoAttribute * pango_attr_text_transform_new (PangoTextTransform transform);
|
| 612 |
+
|
| 613 |
+
PANGO_AVAILABLE_IN_1_50
|
| 614 |
+
PangoAttrString * pango_attribute_as_string (PangoAttribute *attr);
|
| 615 |
+
PANGO_AVAILABLE_IN_1_50
|
| 616 |
+
PangoAttrLanguage * pango_attribute_as_language (PangoAttribute *attr);
|
| 617 |
+
PANGO_AVAILABLE_IN_1_50
|
| 618 |
+
PangoAttrInt * pango_attribute_as_int (PangoAttribute *attr);
|
| 619 |
+
PANGO_AVAILABLE_IN_1_50
|
| 620 |
+
PangoAttrSize * pango_attribute_as_size (PangoAttribute *attr);
|
| 621 |
+
PANGO_AVAILABLE_IN_1_50
|
| 622 |
+
PangoAttrFloat * pango_attribute_as_float (PangoAttribute *attr);
|
| 623 |
+
PANGO_AVAILABLE_IN_1_50
|
| 624 |
+
PangoAttrColor * pango_attribute_as_color (PangoAttribute *attr);
|
| 625 |
+
PANGO_AVAILABLE_IN_1_50
|
| 626 |
+
PangoAttrFontDesc * pango_attribute_as_font_desc (PangoAttribute *attr);
|
| 627 |
+
PANGO_AVAILABLE_IN_1_50
|
| 628 |
+
PangoAttrShape * pango_attribute_as_shape (PangoAttribute *attr);
|
| 629 |
+
PANGO_AVAILABLE_IN_1_50
|
| 630 |
+
PangoAttrFontFeatures * pango_attribute_as_font_features (PangoAttribute *attr);
|
| 631 |
+
|
| 632 |
+
/* Attribute lists */
|
| 633 |
+
|
| 634 |
+
typedef struct _PangoAttrList PangoAttrList;
|
| 635 |
+
typedef struct _PangoAttrIterator PangoAttrIterator;
|
| 636 |
+
|
| 637 |
+
#define PANGO_TYPE_ATTR_LIST pango_attr_list_get_type ()
|
| 638 |
+
|
| 639 |
+
/**
|
| 640 |
+
* PangoAttrIterator:
|
| 641 |
+
*
|
| 642 |
+
* A `PangoAttrIterator` is used to iterate through a `PangoAttrList`.
|
| 643 |
+
*
|
| 644 |
+
* A new iterator is created with [method@Pango.AttrList.get_iterator].
|
| 645 |
+
* Once the iterator is created, it can be advanced through the style
|
| 646 |
+
* changes in the text using [method@Pango.AttrIterator.next]. At each
|
| 647 |
+
* style change, the range of the current style segment and the attributes
|
| 648 |
+
* currently in effect can be queried.
|
| 649 |
+
*/
|
| 650 |
+
|
| 651 |
+
/**
|
| 652 |
+
* PangoAttrList:
|
| 653 |
+
*
|
| 654 |
+
* A `PangoAttrList` represents a list of attributes that apply to a section
|
| 655 |
+
* of text.
|
| 656 |
+
*
|
| 657 |
+
* The attributes in a `PangoAttrList` are, in general, allowed to overlap in
|
| 658 |
+
* an arbitrary fashion. However, if the attributes are manipulated only through
|
| 659 |
+
* [method@Pango.AttrList.change], the overlap between properties will meet
|
| 660 |
+
* stricter criteria.
|
| 661 |
+
*
|
| 662 |
+
* Since the `PangoAttrList` structure is stored as a linear list, it is not
|
| 663 |
+
* suitable for storing attributes for large amounts of text. In general, you
|
| 664 |
+
* should not use a single `PangoAttrList` for more than one paragraph of text.
|
| 665 |
+
*/
|
| 666 |
+
|
| 667 |
+
PANGO_AVAILABLE_IN_ALL
|
| 668 |
+
GType pango_attr_list_get_type (void) G_GNUC_CONST;
|
| 669 |
+
|
| 670 |
+
PANGO_AVAILABLE_IN_ALL
|
| 671 |
+
PangoAttrList * pango_attr_list_new (void);
|
| 672 |
+
PANGO_AVAILABLE_IN_1_10
|
| 673 |
+
PangoAttrList * pango_attr_list_ref (PangoAttrList *list);
|
| 674 |
+
PANGO_AVAILABLE_IN_ALL
|
| 675 |
+
void pango_attr_list_unref (PangoAttrList *list);
|
| 676 |
+
PANGO_AVAILABLE_IN_ALL
|
| 677 |
+
PangoAttrList * pango_attr_list_copy (PangoAttrList *list);
|
| 678 |
+
PANGO_AVAILABLE_IN_ALL
|
| 679 |
+
void pango_attr_list_insert (PangoAttrList *list,
|
| 680 |
+
PangoAttribute *attr);
|
| 681 |
+
PANGO_AVAILABLE_IN_ALL
|
| 682 |
+
void pango_attr_list_insert_before (PangoAttrList *list,
|
| 683 |
+
PangoAttribute *attr);
|
| 684 |
+
PANGO_AVAILABLE_IN_ALL
|
| 685 |
+
void pango_attr_list_change (PangoAttrList *list,
|
| 686 |
+
PangoAttribute *attr);
|
| 687 |
+
PANGO_AVAILABLE_IN_ALL
|
| 688 |
+
void pango_attr_list_splice (PangoAttrList *list,
|
| 689 |
+
PangoAttrList *other,
|
| 690 |
+
int pos,
|
| 691 |
+
int len);
|
| 692 |
+
PANGO_AVAILABLE_IN_1_44
|
| 693 |
+
void pango_attr_list_update (PangoAttrList *list,
|
| 694 |
+
int pos,
|
| 695 |
+
int remove,
|
| 696 |
+
int add);
|
| 697 |
+
|
| 698 |
+
PANGO_AVAILABLE_IN_1_2
|
| 699 |
+
PangoAttrList * pango_attr_list_filter (PangoAttrList *list,
|
| 700 |
+
PangoAttrFilterFunc func,
|
| 701 |
+
gpointer data);
|
| 702 |
+
|
| 703 |
+
PANGO_AVAILABLE_IN_1_44
|
| 704 |
+
GSList * pango_attr_list_get_attributes (PangoAttrList *list);
|
| 705 |
+
|
| 706 |
+
PANGO_AVAILABLE_IN_1_46
|
| 707 |
+
gboolean pango_attr_list_equal (PangoAttrList *list,
|
| 708 |
+
PangoAttrList *other_list);
|
| 709 |
+
|
| 710 |
+
PANGO_AVAILABLE_IN_1_50
|
| 711 |
+
char * pango_attr_list_to_string (PangoAttrList *list);
|
| 712 |
+
PANGO_AVAILABLE_IN_1_50
|
| 713 |
+
PangoAttrList * pango_attr_list_from_string (const char *text);
|
| 714 |
+
|
| 715 |
+
PANGO_AVAILABLE_IN_1_44
|
| 716 |
+
GType pango_attr_iterator_get_type (void) G_GNUC_CONST;
|
| 717 |
+
|
| 718 |
+
PANGO_AVAILABLE_IN_ALL
|
| 719 |
+
PangoAttrIterator * pango_attr_list_get_iterator (PangoAttrList *list);
|
| 720 |
+
|
| 721 |
+
PANGO_AVAILABLE_IN_ALL
|
| 722 |
+
void pango_attr_iterator_range (PangoAttrIterator *iterator,
|
| 723 |
+
int *start,
|
| 724 |
+
int *end);
|
| 725 |
+
PANGO_AVAILABLE_IN_ALL
|
| 726 |
+
gboolean pango_attr_iterator_next (PangoAttrIterator *iterator);
|
| 727 |
+
PANGO_AVAILABLE_IN_ALL
|
| 728 |
+
PangoAttrIterator * pango_attr_iterator_copy (PangoAttrIterator *iterator);
|
| 729 |
+
PANGO_AVAILABLE_IN_ALL
|
| 730 |
+
void pango_attr_iterator_destroy (PangoAttrIterator *iterator);
|
| 731 |
+
PANGO_AVAILABLE_IN_ALL
|
| 732 |
+
PangoAttribute * pango_attr_iterator_get (PangoAttrIterator *iterator,
|
| 733 |
+
PangoAttrType type);
|
| 734 |
+
PANGO_AVAILABLE_IN_ALL
|
| 735 |
+
void pango_attr_iterator_get_font (PangoAttrIterator *iterator,
|
| 736 |
+
PangoFontDescription *desc,
|
| 737 |
+
PangoLanguage **language,
|
| 738 |
+
GSList **extra_attrs);
|
| 739 |
+
PANGO_AVAILABLE_IN_1_2
|
| 740 |
+
GSList * pango_attr_iterator_get_attrs (PangoAttrIterator *iterator);
|
| 741 |
+
|
| 742 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttribute, pango_attribute_destroy)
|
| 743 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttrList, pango_attr_list_unref)
|
| 744 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoAttrIterator, pango_attr_iterator_destroy)
|
| 745 |
+
|
| 746 |
+
G_END_DECLS
|
| 747 |
+
|
| 748 |
+
#endif /* __PANGO_ATTRIBUTES_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-bidi-type.h
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-bidi-type.h: Bidirectional Character Types
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2008 Jürg Billeter <j@bitron.ch>
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_BIDI_TYPE_H__
|
| 23 |
+
#define __PANGO_BIDI_TYPE_H__
|
| 24 |
+
|
| 25 |
+
#include <glib.h>
|
| 26 |
+
|
| 27 |
+
#include <pango/pango-version-macros.h>
|
| 28 |
+
#include <pango/pango-direction.h>
|
| 29 |
+
|
| 30 |
+
G_BEGIN_DECLS
|
| 31 |
+
|
| 32 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 33 |
+
/**
|
| 34 |
+
* PangoBidiType:
|
| 35 |
+
* @PANGO_BIDI_TYPE_L: Left-to-Right
|
| 36 |
+
* @PANGO_BIDI_TYPE_LRE: Left-to-Right Embedding
|
| 37 |
+
* @PANGO_BIDI_TYPE_LRO: Left-to-Right Override
|
| 38 |
+
* @PANGO_BIDI_TYPE_R: Right-to-Left
|
| 39 |
+
* @PANGO_BIDI_TYPE_AL: Right-to-Left Arabic
|
| 40 |
+
* @PANGO_BIDI_TYPE_RLE: Right-to-Left Embedding
|
| 41 |
+
* @PANGO_BIDI_TYPE_RLO: Right-to-Left Override
|
| 42 |
+
* @PANGO_BIDI_TYPE_PDF: Pop Directional Format
|
| 43 |
+
* @PANGO_BIDI_TYPE_EN: European Number
|
| 44 |
+
* @PANGO_BIDI_TYPE_ES: European Number Separator
|
| 45 |
+
* @PANGO_BIDI_TYPE_ET: European Number Terminator
|
| 46 |
+
* @PANGO_BIDI_TYPE_AN: Arabic Number
|
| 47 |
+
* @PANGO_BIDI_TYPE_CS: Common Number Separator
|
| 48 |
+
* @PANGO_BIDI_TYPE_NSM: Nonspacing Mark
|
| 49 |
+
* @PANGO_BIDI_TYPE_BN: Boundary Neutral
|
| 50 |
+
* @PANGO_BIDI_TYPE_B: Paragraph Separator
|
| 51 |
+
* @PANGO_BIDI_TYPE_S: Segment Separator
|
| 52 |
+
* @PANGO_BIDI_TYPE_WS: Whitespace
|
| 53 |
+
* @PANGO_BIDI_TYPE_ON: Other Neutrals
|
| 54 |
+
* @PANGO_BIDI_TYPE_LRI: Left-to-Right isolate. Since 1.48.6
|
| 55 |
+
* @PANGO_BIDI_TYPE_RLI: Right-to-Left isolate. Since 1.48.6
|
| 56 |
+
* @PANGO_BIDI_TYPE_FSI: First strong isolate. Since 1.48.6
|
| 57 |
+
* @PANGO_BIDI_TYPE_PDI: Pop directional isolate. Since 1.48.6
|
| 58 |
+
*
|
| 59 |
+
* `PangoBidiType` represents the bidirectional character
|
| 60 |
+
* type of a Unicode character.
|
| 61 |
+
*
|
| 62 |
+
* The values in this enumeration are specified by the
|
| 63 |
+
* [Unicode bidirectional algorithm](http://www.unicode.org/reports/tr9/).
|
| 64 |
+
*
|
| 65 |
+
* Since: 1.22
|
| 66 |
+
* Deprecated: 1.44: Use fribidi for this information
|
| 67 |
+
**/
|
| 68 |
+
typedef enum {
|
| 69 |
+
/* Strong types */
|
| 70 |
+
PANGO_BIDI_TYPE_L,
|
| 71 |
+
PANGO_BIDI_TYPE_LRE,
|
| 72 |
+
PANGO_BIDI_TYPE_LRO,
|
| 73 |
+
PANGO_BIDI_TYPE_R,
|
| 74 |
+
PANGO_BIDI_TYPE_AL,
|
| 75 |
+
PANGO_BIDI_TYPE_RLE,
|
| 76 |
+
PANGO_BIDI_TYPE_RLO,
|
| 77 |
+
|
| 78 |
+
/* Weak types */
|
| 79 |
+
PANGO_BIDI_TYPE_PDF,
|
| 80 |
+
PANGO_BIDI_TYPE_EN,
|
| 81 |
+
PANGO_BIDI_TYPE_ES,
|
| 82 |
+
PANGO_BIDI_TYPE_ET,
|
| 83 |
+
PANGO_BIDI_TYPE_AN,
|
| 84 |
+
PANGO_BIDI_TYPE_CS,
|
| 85 |
+
PANGO_BIDI_TYPE_NSM,
|
| 86 |
+
PANGO_BIDI_TYPE_BN,
|
| 87 |
+
|
| 88 |
+
/* Neutral types */
|
| 89 |
+
PANGO_BIDI_TYPE_B,
|
| 90 |
+
PANGO_BIDI_TYPE_S,
|
| 91 |
+
PANGO_BIDI_TYPE_WS,
|
| 92 |
+
PANGO_BIDI_TYPE_ON,
|
| 93 |
+
|
| 94 |
+
/* Explicit formatting */
|
| 95 |
+
PANGO_BIDI_TYPE_LRI,
|
| 96 |
+
PANGO_BIDI_TYPE_RLI,
|
| 97 |
+
PANGO_BIDI_TYPE_FSI,
|
| 98 |
+
PANGO_BIDI_TYPE_PDI
|
| 99 |
+
} PangoBidiType;
|
| 100 |
+
|
| 101 |
+
PANGO_DEPRECATED_IN_1_44
|
| 102 |
+
PangoBidiType pango_bidi_type_for_unichar (gunichar ch) G_GNUC_CONST;
|
| 103 |
+
|
| 104 |
+
PANGO_DEPRECATED_IN_1_44
|
| 105 |
+
PangoDirection pango_unichar_direction (gunichar ch) G_GNUC_CONST;
|
| 106 |
+
PANGO_DEPRECATED_IN_1_44
|
| 107 |
+
PangoDirection pango_find_base_dir (const gchar *text,
|
| 108 |
+
gint length);
|
| 109 |
+
|
| 110 |
+
PANGO_DEPRECATED_IN_1_30_FOR(g_unichar_get_mirror_char)
|
| 111 |
+
gboolean pango_get_mirror_char (gunichar ch,
|
| 112 |
+
gunichar *mirrored_ch);
|
| 113 |
+
#endif
|
| 114 |
+
|
| 115 |
+
G_END_DECLS
|
| 116 |
+
|
| 117 |
+
#endif /* __PANGO_BIDI_TYPE_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-break.h
ADDED
|
@@ -0,0 +1,144 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-break.h:
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 1999 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_BREAK_H__
|
| 23 |
+
#define __PANGO_BREAK_H__
|
| 24 |
+
|
| 25 |
+
#include <glib.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
#include <pango/pango-item.h>
|
| 30 |
+
|
| 31 |
+
/* Logical attributes of a character.
|
| 32 |
+
*/
|
| 33 |
+
/**
|
| 34 |
+
* PangoLogAttr:
|
| 35 |
+
* @is_line_break: if set, can break line in front of character
|
| 36 |
+
* @is_mandatory_break: if set, must break line in front of character
|
| 37 |
+
* @is_char_break: if set, can break here when doing character wrapping
|
| 38 |
+
* @is_white: is whitespace character
|
| 39 |
+
* @is_cursor_position: if set, cursor can appear in front of character.
|
| 40 |
+
* i.e. this is a grapheme boundary, or the first character in the text.
|
| 41 |
+
* This flag implements Unicode's
|
| 42 |
+
* [Grapheme Cluster Boundaries](http://www.unicode.org/reports/tr29/)
|
| 43 |
+
* semantics.
|
| 44 |
+
* @is_word_start: is first character in a word
|
| 45 |
+
* @is_word_end: is first non-word char after a word
|
| 46 |
+
* Note that in degenerate cases, you could have both @is_word_start
|
| 47 |
+
* and @is_word_end set for some character.
|
| 48 |
+
* @is_sentence_boundary: is a sentence boundary.
|
| 49 |
+
* There are two ways to divide sentences. The first assigns all
|
| 50 |
+
* inter-sentence whitespace/control/format chars to some sentence,
|
| 51 |
+
* so all chars are in some sentence; @is_sentence_boundary denotes
|
| 52 |
+
* the boundaries there. The second way doesn't assign
|
| 53 |
+
* between-sentence spaces, etc. to any sentence, so
|
| 54 |
+
* @is_sentence_start/@is_sentence_end mark the boundaries of those sentences.
|
| 55 |
+
* @is_sentence_start: is first character in a sentence
|
| 56 |
+
* @is_sentence_end: is first char after a sentence.
|
| 57 |
+
* Note that in degenerate cases, you could have both @is_sentence_start
|
| 58 |
+
* and @is_sentence_end set for some character. (e.g. no space after a
|
| 59 |
+
* period, so the next sentence starts right away)
|
| 60 |
+
* @backspace_deletes_character: if set, backspace deletes one character
|
| 61 |
+
* rather than the entire grapheme cluster. This field is only meaningful
|
| 62 |
+
* on grapheme boundaries (where @is_cursor_position is set). In some languages,
|
| 63 |
+
* the full grapheme (e.g. letter + diacritics) is considered a unit, while in
|
| 64 |
+
* others, each decomposed character in the grapheme is a unit. In the default
|
| 65 |
+
* implementation of [func@break], this bit is set on all grapheme boundaries
|
| 66 |
+
* except those following Latin, Cyrillic or Greek base characters.
|
| 67 |
+
* @is_expandable_space: is a whitespace character that can possibly be
|
| 68 |
+
* expanded for justification purposes. (Since: 1.18)
|
| 69 |
+
* @is_word_boundary: is a word boundary, as defined by UAX#29.
|
| 70 |
+
* More specifically, means that this is not a position in the middle of a word.
|
| 71 |
+
* For example, both sides of a punctuation mark are considered word boundaries.
|
| 72 |
+
* This flag is particularly useful when selecting text word-by-word. This flag
|
| 73 |
+
* implements Unicode's [Word Boundaries](http://www.unicode.org/reports/tr29/)
|
| 74 |
+
* semantics. (Since: 1.22)
|
| 75 |
+
* @break_inserts_hyphen: when breaking lines before this char, insert a hyphen.
|
| 76 |
+
* Since: 1.50
|
| 77 |
+
* @break_removes_preceding: when breaking lines before this char, remove the
|
| 78 |
+
* preceding char. Since 1.50
|
| 79 |
+
*
|
| 80 |
+
* The `PangoLogAttr` structure stores information about the attributes of a
|
| 81 |
+
* single character.
|
| 82 |
+
*/
|
| 83 |
+
struct _PangoLogAttr
|
| 84 |
+
{
|
| 85 |
+
guint is_line_break : 1;
|
| 86 |
+
guint is_mandatory_break : 1;
|
| 87 |
+
guint is_char_break : 1;
|
| 88 |
+
guint is_white : 1;
|
| 89 |
+
guint is_cursor_position : 1;
|
| 90 |
+
guint is_word_start : 1;
|
| 91 |
+
guint is_word_end : 1;
|
| 92 |
+
guint is_sentence_boundary : 1;
|
| 93 |
+
guint is_sentence_start : 1;
|
| 94 |
+
guint is_sentence_end : 1;
|
| 95 |
+
guint backspace_deletes_character : 1;
|
| 96 |
+
guint is_expandable_space : 1;
|
| 97 |
+
guint is_word_boundary : 1;
|
| 98 |
+
guint break_inserts_hyphen : 1;
|
| 99 |
+
guint break_removes_preceding : 1;
|
| 100 |
+
|
| 101 |
+
guint reserved : 17;
|
| 102 |
+
};
|
| 103 |
+
|
| 104 |
+
PANGO_DEPRECATED_IN_1_44
|
| 105 |
+
void pango_break (const char *text,
|
| 106 |
+
int length,
|
| 107 |
+
PangoAnalysis *analysis,
|
| 108 |
+
PangoLogAttr *attrs,
|
| 109 |
+
int attrs_len);
|
| 110 |
+
|
| 111 |
+
PANGO_AVAILABLE_IN_ALL
|
| 112 |
+
void pango_get_log_attrs (const char *text,
|
| 113 |
+
int length,
|
| 114 |
+
int level,
|
| 115 |
+
PangoLanguage *language,
|
| 116 |
+
PangoLogAttr *attrs,
|
| 117 |
+
int attrs_len);
|
| 118 |
+
|
| 119 |
+
PANGO_AVAILABLE_IN_ALL
|
| 120 |
+
void pango_default_break (const char *text,
|
| 121 |
+
int length,
|
| 122 |
+
PangoAnalysis *analysis,
|
| 123 |
+
PangoLogAttr *attrs,
|
| 124 |
+
int attrs_len);
|
| 125 |
+
|
| 126 |
+
PANGO_AVAILABLE_IN_1_44
|
| 127 |
+
void pango_tailor_break (const char *text,
|
| 128 |
+
int length,
|
| 129 |
+
PangoAnalysis *analysis,
|
| 130 |
+
int offset,
|
| 131 |
+
PangoLogAttr *attrs,
|
| 132 |
+
int attrs_len);
|
| 133 |
+
|
| 134 |
+
PANGO_AVAILABLE_IN_1_50
|
| 135 |
+
void pango_attr_break (const char *text,
|
| 136 |
+
int length,
|
| 137 |
+
PangoAttrList *attr_list,
|
| 138 |
+
int offset,
|
| 139 |
+
PangoLogAttr *attrs,
|
| 140 |
+
int attrs_len);
|
| 141 |
+
|
| 142 |
+
G_END_DECLS
|
| 143 |
+
|
| 144 |
+
#endif /* __PANGO_BREAK_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-color.h
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-color.h: A color struct
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_COLOR_H__
|
| 23 |
+
#define __PANGO_COLOR_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
#include <glib-object.h>
|
| 27 |
+
|
| 28 |
+
G_BEGIN_DECLS
|
| 29 |
+
|
| 30 |
+
|
| 31 |
+
typedef struct _PangoColor PangoColor;
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* PangoColor:
|
| 35 |
+
* @red: value of red component
|
| 36 |
+
* @green: value of green component
|
| 37 |
+
* @blue: value of blue component
|
| 38 |
+
*
|
| 39 |
+
* The `PangoColor` structure is used to
|
| 40 |
+
* represent a color in an uncalibrated RGB color-space.
|
| 41 |
+
*/
|
| 42 |
+
struct _PangoColor
|
| 43 |
+
{
|
| 44 |
+
guint16 red;
|
| 45 |
+
guint16 green;
|
| 46 |
+
guint16 blue;
|
| 47 |
+
};
|
| 48 |
+
|
| 49 |
+
#define PANGO_TYPE_COLOR (pango_color_get_type ())
|
| 50 |
+
|
| 51 |
+
PANGO_AVAILABLE_IN_ALL
|
| 52 |
+
GType pango_color_get_type (void) G_GNUC_CONST;
|
| 53 |
+
|
| 54 |
+
PANGO_AVAILABLE_IN_ALL
|
| 55 |
+
PangoColor *pango_color_copy (const PangoColor *src);
|
| 56 |
+
|
| 57 |
+
PANGO_AVAILABLE_IN_ALL
|
| 58 |
+
void pango_color_free (PangoColor *color);
|
| 59 |
+
|
| 60 |
+
PANGO_AVAILABLE_IN_ALL
|
| 61 |
+
gboolean pango_color_parse (PangoColor *color,
|
| 62 |
+
const char *spec);
|
| 63 |
+
|
| 64 |
+
PANGO_AVAILABLE_IN_1_46
|
| 65 |
+
gboolean pango_color_parse_with_alpha (PangoColor *color,
|
| 66 |
+
guint16 *alpha,
|
| 67 |
+
const char *spec);
|
| 68 |
+
|
| 69 |
+
PANGO_AVAILABLE_IN_1_16
|
| 70 |
+
char *pango_color_to_string (const PangoColor *color);
|
| 71 |
+
|
| 72 |
+
|
| 73 |
+
G_END_DECLS
|
| 74 |
+
|
| 75 |
+
#endif /* __PANGO_COLOR_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-context.h
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-context.h: Rendering contexts
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_CONTEXT_H__
|
| 23 |
+
#define __PANGO_CONTEXT_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
#include <pango/pango-font.h>
|
| 27 |
+
#include <pango/pango-fontmap.h>
|
| 28 |
+
#include <pango/pango-attributes.h>
|
| 29 |
+
#include <pango/pango-direction.h>
|
| 30 |
+
|
| 31 |
+
G_BEGIN_DECLS
|
| 32 |
+
|
| 33 |
+
typedef struct _PangoContextClass PangoContextClass;
|
| 34 |
+
|
| 35 |
+
#define PANGO_TYPE_CONTEXT (pango_context_get_type ())
|
| 36 |
+
#define PANGO_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_CONTEXT, PangoContext))
|
| 37 |
+
#define PANGO_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_CONTEXT, PangoContextClass))
|
| 38 |
+
#define PANGO_IS_CONTEXT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_CONTEXT))
|
| 39 |
+
#define PANGO_IS_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_CONTEXT))
|
| 40 |
+
#define PANGO_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_CONTEXT, PangoContextClass))
|
| 41 |
+
|
| 42 |
+
|
| 43 |
+
PANGO_AVAILABLE_IN_ALL
|
| 44 |
+
GType pango_context_get_type (void) G_GNUC_CONST;
|
| 45 |
+
|
| 46 |
+
PANGO_AVAILABLE_IN_ALL
|
| 47 |
+
PangoContext * pango_context_new (void);
|
| 48 |
+
PANGO_AVAILABLE_IN_1_32
|
| 49 |
+
void pango_context_changed (PangoContext *context);
|
| 50 |
+
PANGO_AVAILABLE_IN_ALL
|
| 51 |
+
void pango_context_set_font_map (PangoContext *context,
|
| 52 |
+
PangoFontMap *font_map);
|
| 53 |
+
PANGO_AVAILABLE_IN_1_6
|
| 54 |
+
PangoFontMap * pango_context_get_font_map (PangoContext *context);
|
| 55 |
+
PANGO_AVAILABLE_IN_1_32
|
| 56 |
+
guint pango_context_get_serial (PangoContext *context);
|
| 57 |
+
PANGO_AVAILABLE_IN_ALL
|
| 58 |
+
void pango_context_list_families (PangoContext *context,
|
| 59 |
+
PangoFontFamily ***families,
|
| 60 |
+
int *n_families);
|
| 61 |
+
PANGO_AVAILABLE_IN_ALL
|
| 62 |
+
PangoFont * pango_context_load_font (PangoContext *context,
|
| 63 |
+
const PangoFontDescription *desc);
|
| 64 |
+
PANGO_AVAILABLE_IN_ALL
|
| 65 |
+
PangoFontset * pango_context_load_fontset (PangoContext *context,
|
| 66 |
+
const PangoFontDescription *desc,
|
| 67 |
+
PangoLanguage *language);
|
| 68 |
+
|
| 69 |
+
PANGO_AVAILABLE_IN_ALL
|
| 70 |
+
PangoFontMetrics * pango_context_get_metrics (PangoContext *context,
|
| 71 |
+
const PangoFontDescription *desc,
|
| 72 |
+
PangoLanguage *language);
|
| 73 |
+
|
| 74 |
+
PANGO_AVAILABLE_IN_ALL
|
| 75 |
+
void pango_context_set_font_description (PangoContext *context,
|
| 76 |
+
const PangoFontDescription *desc);
|
| 77 |
+
PANGO_AVAILABLE_IN_ALL
|
| 78 |
+
PangoFontDescription * pango_context_get_font_description (PangoContext *context);
|
| 79 |
+
PANGO_AVAILABLE_IN_ALL
|
| 80 |
+
PangoLanguage * pango_context_get_language (PangoContext *context);
|
| 81 |
+
PANGO_AVAILABLE_IN_ALL
|
| 82 |
+
void pango_context_set_language (PangoContext *context,
|
| 83 |
+
PangoLanguage *language);
|
| 84 |
+
PANGO_AVAILABLE_IN_ALL
|
| 85 |
+
void pango_context_set_base_dir (PangoContext *context,
|
| 86 |
+
PangoDirection direction);
|
| 87 |
+
PANGO_AVAILABLE_IN_ALL
|
| 88 |
+
PangoDirection pango_context_get_base_dir (PangoContext *context);
|
| 89 |
+
PANGO_AVAILABLE_IN_1_16
|
| 90 |
+
void pango_context_set_base_gravity (PangoContext *context,
|
| 91 |
+
PangoGravity gravity);
|
| 92 |
+
PANGO_AVAILABLE_IN_1_16
|
| 93 |
+
PangoGravity pango_context_get_base_gravity (PangoContext *context);
|
| 94 |
+
PANGO_AVAILABLE_IN_1_16
|
| 95 |
+
PangoGravity pango_context_get_gravity (PangoContext *context);
|
| 96 |
+
PANGO_AVAILABLE_IN_1_16
|
| 97 |
+
void pango_context_set_gravity_hint (PangoContext *context,
|
| 98 |
+
PangoGravityHint hint);
|
| 99 |
+
PANGO_AVAILABLE_IN_1_16
|
| 100 |
+
PangoGravityHint pango_context_get_gravity_hint (PangoContext *context);
|
| 101 |
+
|
| 102 |
+
PANGO_AVAILABLE_IN_1_6
|
| 103 |
+
void pango_context_set_matrix (PangoContext *context,
|
| 104 |
+
const PangoMatrix *matrix);
|
| 105 |
+
PANGO_AVAILABLE_IN_1_6
|
| 106 |
+
const PangoMatrix * pango_context_get_matrix (PangoContext *context);
|
| 107 |
+
|
| 108 |
+
PANGO_AVAILABLE_IN_1_44
|
| 109 |
+
void pango_context_set_round_glyph_positions (PangoContext *context,
|
| 110 |
+
gboolean round_positions);
|
| 111 |
+
PANGO_AVAILABLE_IN_1_44
|
| 112 |
+
gboolean pango_context_get_round_glyph_positions (PangoContext *context);
|
| 113 |
+
|
| 114 |
+
G_END_DECLS
|
| 115 |
+
|
| 116 |
+
#endif /* __PANGO_CONTEXT_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-coverage.h
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-coverage.h: Coverage sets for fonts
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_COVERAGE_H__
|
| 23 |
+
#define __PANGO_COVERAGE_H__
|
| 24 |
+
|
| 25 |
+
#include <glib-object.h>
|
| 26 |
+
|
| 27 |
+
#include <pango/pango-version-macros.h>
|
| 28 |
+
#include <hb.h>
|
| 29 |
+
|
| 30 |
+
G_BEGIN_DECLS
|
| 31 |
+
|
| 32 |
+
/**
|
| 33 |
+
* PangoCoverage:
|
| 34 |
+
*
|
| 35 |
+
* A `PangoCoverage` structure is a map from Unicode characters
|
| 36 |
+
* to [enum@Pango.CoverageLevel] values.
|
| 37 |
+
*
|
| 38 |
+
* It is often necessary in Pango to determine if a particular
|
| 39 |
+
* font can represent a particular character, and also how well
|
| 40 |
+
* it can represent that character. The `PangoCoverage` is a data
|
| 41 |
+
* structure that is used to represent that information. It is an
|
| 42 |
+
* opaque structure with no public fields.
|
| 43 |
+
*/
|
| 44 |
+
typedef struct _PangoCoverage PangoCoverage;
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* PangoCoverageLevel:
|
| 48 |
+
* @PANGO_COVERAGE_NONE: The character is not representable with
|
| 49 |
+
* the font.
|
| 50 |
+
* @PANGO_COVERAGE_FALLBACK: The character is represented in a
|
| 51 |
+
* way that may be comprehensible but is not the correct
|
| 52 |
+
* graphical form. For instance, a Hangul character represented
|
| 53 |
+
* as a a sequence of Jamos, or a Latin transliteration of a
|
| 54 |
+
* Cyrillic word.
|
| 55 |
+
* @PANGO_COVERAGE_APPROXIMATE: The character is represented as
|
| 56 |
+
* basically the correct graphical form, but with a stylistic
|
| 57 |
+
* variant inappropriate for the current script.
|
| 58 |
+
* @PANGO_COVERAGE_EXACT: The character is represented as the
|
| 59 |
+
* correct graphical form.
|
| 60 |
+
*
|
| 61 |
+
* `PangoCoverageLevel` is used to indicate how well a font can
|
| 62 |
+
* represent a particular Unicode character for a particular script.
|
| 63 |
+
*
|
| 64 |
+
* Since 1.44, only %PANGO_COVERAGE_NONE and %PANGO_COVERAGE_EXACT
|
| 65 |
+
* will be returned.
|
| 66 |
+
*/
|
| 67 |
+
typedef enum {
|
| 68 |
+
PANGO_COVERAGE_NONE,
|
| 69 |
+
PANGO_COVERAGE_FALLBACK,
|
| 70 |
+
PANGO_COVERAGE_APPROXIMATE,
|
| 71 |
+
PANGO_COVERAGE_EXACT
|
| 72 |
+
} PangoCoverageLevel;
|
| 73 |
+
|
| 74 |
+
PANGO_AVAILABLE_IN_ALL
|
| 75 |
+
GType pango_coverage_get_type (void) G_GNUC_CONST;
|
| 76 |
+
|
| 77 |
+
PANGO_AVAILABLE_IN_ALL
|
| 78 |
+
PangoCoverage * pango_coverage_new (void);
|
| 79 |
+
PANGO_DEPRECATED_IN_1_52_FOR(g_object_ref)
|
| 80 |
+
PangoCoverage * pango_coverage_ref (PangoCoverage *coverage);
|
| 81 |
+
PANGO_DEPRECATED_IN_1_52_FOR(g_object_unref)
|
| 82 |
+
void pango_coverage_unref (PangoCoverage *coverage);
|
| 83 |
+
PANGO_AVAILABLE_IN_ALL
|
| 84 |
+
PangoCoverage * pango_coverage_copy (PangoCoverage *coverage);
|
| 85 |
+
PANGO_AVAILABLE_IN_ALL
|
| 86 |
+
PangoCoverageLevel pango_coverage_get (PangoCoverage *coverage,
|
| 87 |
+
int index_);
|
| 88 |
+
PANGO_AVAILABLE_IN_ALL
|
| 89 |
+
void pango_coverage_set (PangoCoverage *coverage,
|
| 90 |
+
int index_,
|
| 91 |
+
PangoCoverageLevel level);
|
| 92 |
+
PANGO_DEPRECATED_IN_1_44
|
| 93 |
+
void pango_coverage_max (PangoCoverage *coverage,
|
| 94 |
+
PangoCoverage *other);
|
| 95 |
+
|
| 96 |
+
PANGO_DEPRECATED_IN_1_44
|
| 97 |
+
void pango_coverage_to_bytes (PangoCoverage *coverage,
|
| 98 |
+
guchar **bytes,
|
| 99 |
+
int *n_bytes);
|
| 100 |
+
PANGO_DEPRECATED_IN_1_44
|
| 101 |
+
PangoCoverage *pango_coverage_from_bytes (guchar *bytes,
|
| 102 |
+
int n_bytes);
|
| 103 |
+
|
| 104 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoCoverage, g_object_unref)
|
| 105 |
+
|
| 106 |
+
G_END_DECLS
|
| 107 |
+
|
| 108 |
+
#endif /* __PANGO_COVERAGE_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-direction.h
ADDED
|
@@ -0,0 +1,72 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-direction.h: Unicode text direction
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2018 Matthias Clasen
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_DIRECTION_H__
|
| 23 |
+
#define __PANGO_DIRECTION_H__
|
| 24 |
+
|
| 25 |
+
#include <glib.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* PangoDirection:
|
| 31 |
+
* @PANGO_DIRECTION_LTR: A strong left-to-right direction
|
| 32 |
+
* @PANGO_DIRECTION_RTL: A strong right-to-left direction
|
| 33 |
+
* @PANGO_DIRECTION_TTB_LTR: Deprecated value; treated the
|
| 34 |
+
* same as `PANGO_DIRECTION_RTL`.
|
| 35 |
+
* @PANGO_DIRECTION_TTB_RTL: Deprecated value; treated the
|
| 36 |
+
* same as `PANGO_DIRECTION_LTR`
|
| 37 |
+
* @PANGO_DIRECTION_WEAK_LTR: A weak left-to-right direction
|
| 38 |
+
* @PANGO_DIRECTION_WEAK_RTL: A weak right-to-left direction
|
| 39 |
+
* @PANGO_DIRECTION_NEUTRAL: No direction specified
|
| 40 |
+
*
|
| 41 |
+
* `PangoDirection` represents a direction in the Unicode bidirectional
|
| 42 |
+
* algorithm.
|
| 43 |
+
*
|
| 44 |
+
* Not every value in this enumeration makes sense for every usage of
|
| 45 |
+
* `PangoDirection`; for example, the return value of [func@unichar_direction]
|
| 46 |
+
* and [func@find_base_dir] cannot be `PANGO_DIRECTION_WEAK_LTR` or
|
| 47 |
+
* `PANGO_DIRECTION_WEAK_RTL`, since every character is either neutral
|
| 48 |
+
* or has a strong direction; on the other hand `PANGO_DIRECTION_NEUTRAL`
|
| 49 |
+
* doesn't make sense to pass to [func@itemize_with_base_dir].
|
| 50 |
+
*
|
| 51 |
+
* The `PANGO_DIRECTION_TTB_LTR`, `PANGO_DIRECTION_TTB_RTL` values come from
|
| 52 |
+
* an earlier interpretation of this enumeration as the writing direction
|
| 53 |
+
* of a block of text and are no longer used. See `PangoGravity` for how
|
| 54 |
+
* vertical text is handled in Pango.
|
| 55 |
+
*
|
| 56 |
+
* If you are interested in text direction, you should really use fribidi
|
| 57 |
+
* directly. `PangoDirection` is only retained because it is used in some
|
| 58 |
+
* public apis.
|
| 59 |
+
*/
|
| 60 |
+
typedef enum {
|
| 61 |
+
PANGO_DIRECTION_LTR,
|
| 62 |
+
PANGO_DIRECTION_RTL,
|
| 63 |
+
PANGO_DIRECTION_TTB_LTR,
|
| 64 |
+
PANGO_DIRECTION_TTB_RTL,
|
| 65 |
+
PANGO_DIRECTION_WEAK_LTR,
|
| 66 |
+
PANGO_DIRECTION_WEAK_RTL,
|
| 67 |
+
PANGO_DIRECTION_NEUTRAL
|
| 68 |
+
} PangoDirection;
|
| 69 |
+
|
| 70 |
+
G_END_DECLS
|
| 71 |
+
|
| 72 |
+
#endif /* __PANGO_DIRECTION_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-engine.h
ADDED
|
@@ -0,0 +1,457 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-engine.h: Engines for script and language specific processing
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000,2003 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_ENGINE_H__
|
| 23 |
+
#define __PANGO_ENGINE_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
#include <pango/pango-item.h>
|
| 27 |
+
#include <pango/pango-font.h>
|
| 28 |
+
#include <pango/pango-glyph.h>
|
| 29 |
+
#include <pango/pango-script.h>
|
| 30 |
+
|
| 31 |
+
G_BEGIN_DECLS
|
| 32 |
+
|
| 33 |
+
/* All of this is deprecated and entirely useless for bindings.
|
| 34 |
+
* Leave it out of the gir file.
|
| 35 |
+
*/
|
| 36 |
+
#ifndef __GI_SCANNER__
|
| 37 |
+
|
| 38 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* PANGO_RENDER_TYPE_NONE:
|
| 42 |
+
*
|
| 43 |
+
* A string constant defining the render type
|
| 44 |
+
* for engines that are not rendering-system specific.
|
| 45 |
+
*
|
| 46 |
+
* Deprecated: 1.38
|
| 47 |
+
*/
|
| 48 |
+
#define PANGO_RENDER_TYPE_NONE "PangoRenderNone"
|
| 49 |
+
|
| 50 |
+
#define PANGO_TYPE_ENGINE (pango_engine_get_type ())
|
| 51 |
+
#define PANGO_ENGINE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_ENGINE, PangoEngine))
|
| 52 |
+
#define PANGO_IS_ENGINE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_ENGINE))
|
| 53 |
+
#define PANGO_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_ENGINE, PangoEngineClass))
|
| 54 |
+
#define PANGO_IS_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_ENGINE))
|
| 55 |
+
#define PANGO_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_ENGINE, PangoEngineClass))
|
| 56 |
+
|
| 57 |
+
typedef struct _PangoEngine PangoEngine;
|
| 58 |
+
typedef struct _PangoEngineClass PangoEngineClass;
|
| 59 |
+
|
| 60 |
+
/**
|
| 61 |
+
* PangoEngine:
|
| 62 |
+
*
|
| 63 |
+
* `PangoEngine` is the base class for all types of language and
|
| 64 |
+
* script specific engines. It has no functionality by itself.
|
| 65 |
+
*
|
| 66 |
+
* Deprecated: 1.38
|
| 67 |
+
**/
|
| 68 |
+
struct _PangoEngine
|
| 69 |
+
{
|
| 70 |
+
/*< private >*/
|
| 71 |
+
GObject parent_instance;
|
| 72 |
+
};
|
| 73 |
+
|
| 74 |
+
/**
|
| 75 |
+
* PangoEngineClass:
|
| 76 |
+
*
|
| 77 |
+
* Class structure for `PangoEngine`
|
| 78 |
+
*
|
| 79 |
+
* Deprecated: 1.38
|
| 80 |
+
**/
|
| 81 |
+
struct _PangoEngineClass
|
| 82 |
+
{
|
| 83 |
+
/*< private >*/
|
| 84 |
+
GObjectClass parent_class;
|
| 85 |
+
};
|
| 86 |
+
|
| 87 |
+
PANGO_DEPRECATED_IN_1_38
|
| 88 |
+
GType pango_engine_get_type (void) G_GNUC_CONST;
|
| 89 |
+
|
| 90 |
+
/**
|
| 91 |
+
* PANGO_ENGINE_TYPE_LANG:
|
| 92 |
+
*
|
| 93 |
+
* A string constant defining the engine type for language engines.
|
| 94 |
+
* These engines derive from `PangoEngineLang`.
|
| 95 |
+
*
|
| 96 |
+
* Deprecated: 1.38
|
| 97 |
+
*/
|
| 98 |
+
#define PANGO_ENGINE_TYPE_LANG "PangoEngineLang"
|
| 99 |
+
|
| 100 |
+
#define PANGO_TYPE_ENGINE_LANG (pango_engine_lang_get_type ())
|
| 101 |
+
#define PANGO_ENGINE_LANG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_ENGINE_LANG, PangoEngineLang))
|
| 102 |
+
#define PANGO_IS_ENGINE_LANG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_ENGINE_LANG))
|
| 103 |
+
#define PANGO_ENGINE_LANG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_ENGINE_LANG, PangoEngineLangClass))
|
| 104 |
+
#define PANGO_IS_ENGINE_LANG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_ENGINE_LANG))
|
| 105 |
+
#define PANGO_ENGINE_LANG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_ENGINE_LANG, PangoEngineLangClass))
|
| 106 |
+
|
| 107 |
+
typedef struct _PangoEngineLangClass PangoEngineLangClass;
|
| 108 |
+
|
| 109 |
+
/**
|
| 110 |
+
* PangoEngineLang:
|
| 111 |
+
*
|
| 112 |
+
* The `PangoEngineLang` class is implemented by engines that
|
| 113 |
+
* customize the rendering-system independent part of the
|
| 114 |
+
* Pango pipeline for a particular script or language. For
|
| 115 |
+
* instance, a custom `PangoEngineLang` could be provided for
|
| 116 |
+
* Thai to implement the dictionary-based word boundary
|
| 117 |
+
* lookups needed for that language.
|
| 118 |
+
*
|
| 119 |
+
* Deprecated: 1.38
|
| 120 |
+
**/
|
| 121 |
+
struct _PangoEngineLang
|
| 122 |
+
{
|
| 123 |
+
/*< private >*/
|
| 124 |
+
PangoEngine parent_instance;
|
| 125 |
+
};
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* PangoEngineLangClass:
|
| 129 |
+
* @script_break: (nullable): Provides a custom implementation of
|
| 130 |
+
* pango_break(). If %NULL, pango_default_break() is used instead. If
|
| 131 |
+
* not %NULL, for Pango versions before 1.16 (module interface version
|
| 132 |
+
* before 1.6.0), this was called instead of pango_default_break(),
|
| 133 |
+
* but in newer versions, pango_default_break() is always called and
|
| 134 |
+
* this is called after that to allow tailoring the breaking results.
|
| 135 |
+
*
|
| 136 |
+
* Class structure for `PangoEngineLang`
|
| 137 |
+
*
|
| 138 |
+
* Deprecated: 1.38
|
| 139 |
+
**/
|
| 140 |
+
struct _PangoEngineLangClass
|
| 141 |
+
{
|
| 142 |
+
/*< private >*/
|
| 143 |
+
PangoEngineClass parent_class;
|
| 144 |
+
|
| 145 |
+
/*< public >*/
|
| 146 |
+
void (*script_break) (PangoEngineLang *engine,
|
| 147 |
+
const char *text,
|
| 148 |
+
int len,
|
| 149 |
+
PangoAnalysis *analysis,
|
| 150 |
+
PangoLogAttr *attrs,
|
| 151 |
+
int attrs_len);
|
| 152 |
+
};
|
| 153 |
+
|
| 154 |
+
PANGO_DEPRECATED_IN_1_38
|
| 155 |
+
GType pango_engine_lang_get_type (void) G_GNUC_CONST;
|
| 156 |
+
|
| 157 |
+
/**
|
| 158 |
+
* PANGO_ENGINE_TYPE_SHAPE:
|
| 159 |
+
*
|
| 160 |
+
* A string constant defining the engine type for shaping engines.
|
| 161 |
+
* These engines derive from `PangoEngineShape`.
|
| 162 |
+
*
|
| 163 |
+
* Deprecated: 1.38
|
| 164 |
+
*/
|
| 165 |
+
#define PANGO_ENGINE_TYPE_SHAPE "PangoEngineShape"
|
| 166 |
+
|
| 167 |
+
#define PANGO_TYPE_ENGINE_SHAPE (pango_engine_shape_get_type ())
|
| 168 |
+
#define PANGO_ENGINE_SHAPE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_ENGINE_SHAPE, PangoEngineShape))
|
| 169 |
+
#define PANGO_IS_ENGINE_SHAPE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_ENGINE_SHAPE))
|
| 170 |
+
#define PANGO_ENGINE_SHAPE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_ENGINE_SHAPE, PangoEngineShapeClass))
|
| 171 |
+
#define PANGO_IS_ENGINE_SHAPE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_ENGINE_SHAPE))
|
| 172 |
+
#define PANGO_ENGINE_SHAPE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_ENGINE_SHAPE, PangoEngineShapeClass))
|
| 173 |
+
|
| 174 |
+
typedef struct _PangoEngineShapeClass PangoEngineShapeClass;
|
| 175 |
+
|
| 176 |
+
/**
|
| 177 |
+
* PangoEngineShape:
|
| 178 |
+
*
|
| 179 |
+
* The `PangoEngineShape` class is implemented by engines that
|
| 180 |
+
* customize the rendering-system dependent part of the
|
| 181 |
+
* Pango pipeline for a particular script or language.
|
| 182 |
+
* A `PangoEngineShape` implementation is then specific to both
|
| 183 |
+
* a particular rendering system or group of rendering systems
|
| 184 |
+
* and to a particular script. For instance, there is one
|
| 185 |
+
* `PangoEngineShape` implementation to handle shaping Arabic
|
| 186 |
+
* for Fontconfig-based backends.
|
| 187 |
+
*
|
| 188 |
+
* Deprecated: 1.38
|
| 189 |
+
**/
|
| 190 |
+
struct _PangoEngineShape
|
| 191 |
+
{
|
| 192 |
+
PangoEngine parent_instance;
|
| 193 |
+
};
|
| 194 |
+
|
| 195 |
+
/**
|
| 196 |
+
* PangoEngineShapeClass:
|
| 197 |
+
* @script_shape: Given a font, a piece of text, and a `PangoAnalysis`
|
| 198 |
+
* structure, converts characters to glyphs and positions the
|
| 199 |
+
* resulting glyphs. The results are stored in the `PangoGlyphString`
|
| 200 |
+
* that is passed in. (The implementation should resize it
|
| 201 |
+
* appropriately using pango_glyph_string_set_size()). All fields
|
| 202 |
+
* of the @log_clusters and @glyphs array must be filled in, with
|
| 203 |
+
* the exception that Pango will automatically generate
|
| 204 |
+
* `glyphs->glyphs[i].attr.is_cluster_start`
|
| 205 |
+
* using the @log_clusters array. Each input character must occur in one
|
| 206 |
+
* of the output logical clusters;
|
| 207 |
+
* if no rendering is desired for a character, this may involve
|
| 208 |
+
* inserting glyphs with the `PangoGlyph` ID %PANGO_GLYPH_EMPTY, which
|
| 209 |
+
* is guaranteed never to render. If the shaping fails for any reason,
|
| 210 |
+
* the shaper should return with an empty (zero-size) glyph string.
|
| 211 |
+
* If the shaper has not set the size on the glyph string yet, simply
|
| 212 |
+
* returning signals the failure too.
|
| 213 |
+
* @covers: Returns the characters that this engine can cover
|
| 214 |
+
* with a given font for a given language. If not overridden, the default
|
| 215 |
+
* implementation simply returns the coverage information for the
|
| 216 |
+
* font itself unmodified.
|
| 217 |
+
*
|
| 218 |
+
* Class structure for `PangoEngineShape`
|
| 219 |
+
*
|
| 220 |
+
* Deprecated: 1.38
|
| 221 |
+
**/
|
| 222 |
+
struct _PangoEngineShapeClass
|
| 223 |
+
{
|
| 224 |
+
/*< private >*/
|
| 225 |
+
PangoEngineClass parent_class;
|
| 226 |
+
|
| 227 |
+
/*< public >*/
|
| 228 |
+
void (*script_shape) (PangoEngineShape *engine,
|
| 229 |
+
PangoFont *font,
|
| 230 |
+
const char *item_text,
|
| 231 |
+
unsigned int item_length,
|
| 232 |
+
const PangoAnalysis *analysis,
|
| 233 |
+
PangoGlyphString *glyphs,
|
| 234 |
+
const char *paragraph_text,
|
| 235 |
+
unsigned int paragraph_length);
|
| 236 |
+
PangoCoverageLevel (*covers) (PangoEngineShape *engine,
|
| 237 |
+
PangoFont *font,
|
| 238 |
+
PangoLanguage *language,
|
| 239 |
+
gunichar wc);
|
| 240 |
+
};
|
| 241 |
+
|
| 242 |
+
PANGO_DEPRECATED_IN_1_38
|
| 243 |
+
GType pango_engine_shape_get_type (void) G_GNUC_CONST;
|
| 244 |
+
|
| 245 |
+
typedef struct _PangoEngineInfo PangoEngineInfo;
|
| 246 |
+
typedef struct _PangoEngineScriptInfo PangoEngineScriptInfo;
|
| 247 |
+
|
| 248 |
+
/**
|
| 249 |
+
* PangoEngineScriptInfo:
|
| 250 |
+
* @script: a `PangoScript`. The value %PANGO_SCRIPT_COMMON has
|
| 251 |
+
* the special meaning here of "all scripts"
|
| 252 |
+
* @langs: a semicolon separated list of languages that this
|
| 253 |
+
* engine handles for this script. This may be empty,
|
| 254 |
+
* in which case the engine is saying that it is a
|
| 255 |
+
* fallback choice for all languages for this range,
|
| 256 |
+
* but should not be used if another engine
|
| 257 |
+
* indicates that it is specific for the language for
|
| 258 |
+
* a given code point. An entry in this list of "*"
|
| 259 |
+
* indicates that this engine is specific to all
|
| 260 |
+
* languages for this range.
|
| 261 |
+
*
|
| 262 |
+
* The `PangoEngineScriptInfo` structure contains
|
| 263 |
+
* information about how the shaper covers a particular script.
|
| 264 |
+
*
|
| 265 |
+
* Deprecated: 1.38
|
| 266 |
+
*/
|
| 267 |
+
struct _PangoEngineScriptInfo
|
| 268 |
+
{
|
| 269 |
+
PangoScript script;
|
| 270 |
+
const gchar *langs;
|
| 271 |
+
};
|
| 272 |
+
|
| 273 |
+
/**
|
| 274 |
+
* PangoEngineInfo:
|
| 275 |
+
* @id: a unique string ID for the engine.
|
| 276 |
+
* @engine_type: a string identifying the engine type.
|
| 277 |
+
* @render_type: a string identifying the render type.
|
| 278 |
+
* @scripts: array of scripts this engine supports.
|
| 279 |
+
* @n_scripts: number of items in @scripts.
|
| 280 |
+
*
|
| 281 |
+
* The `PangoEngineInfo` structure contains information about a particular
|
| 282 |
+
* engine. It contains the following fields:
|
| 283 |
+
*
|
| 284 |
+
* Deprecated: 1.38
|
| 285 |
+
*/
|
| 286 |
+
struct _PangoEngineInfo
|
| 287 |
+
{
|
| 288 |
+
const gchar *id;
|
| 289 |
+
const gchar *engine_type;
|
| 290 |
+
const gchar *render_type;
|
| 291 |
+
PangoEngineScriptInfo *scripts;
|
| 292 |
+
gint n_scripts;
|
| 293 |
+
};
|
| 294 |
+
|
| 295 |
+
/**
|
| 296 |
+
* script_engine_list: (skip)
|
| 297 |
+
* @engines: location to store a pointer to an array of engines.
|
| 298 |
+
* @n_engines: location to store the number of elements in @engines.
|
| 299 |
+
*
|
| 300 |
+
* Do not use.
|
| 301 |
+
*
|
| 302 |
+
* Deprecated: 1.38
|
| 303 |
+
**/
|
| 304 |
+
PANGO_DEPRECATED_IN_1_38
|
| 305 |
+
void script_engine_list (PangoEngineInfo **engines,
|
| 306 |
+
int *n_engines);
|
| 307 |
+
|
| 308 |
+
/**
|
| 309 |
+
* script_engine_init: (skip)
|
| 310 |
+
* @module: a `GTypeModule` structure used to associate any
|
| 311 |
+
* GObject types created in this module with the module.
|
| 312 |
+
*
|
| 313 |
+
* Do not use.
|
| 314 |
+
*
|
| 315 |
+
* Deprecated: 1.38
|
| 316 |
+
**/
|
| 317 |
+
PANGO_DEPRECATED_IN_1_38
|
| 318 |
+
void script_engine_init (GTypeModule *module);
|
| 319 |
+
|
| 320 |
+
|
| 321 |
+
/**
|
| 322 |
+
* script_engine_exit: (skip)
|
| 323 |
+
*
|
| 324 |
+
* Do not use.
|
| 325 |
+
*
|
| 326 |
+
* Deprecated: 1.38
|
| 327 |
+
**/
|
| 328 |
+
PANGO_DEPRECATED_IN_1_38
|
| 329 |
+
void script_engine_exit (void);
|
| 330 |
+
|
| 331 |
+
/**
|
| 332 |
+
* script_engine_create: (skip)
|
| 333 |
+
* @id: the ID of an engine as reported by script_engine_list.
|
| 334 |
+
*
|
| 335 |
+
* Do not use.
|
| 336 |
+
*
|
| 337 |
+
* Deprecated: 1.38
|
| 338 |
+
**/
|
| 339 |
+
PANGO_DEPRECATED_IN_1_38
|
| 340 |
+
PangoEngine *script_engine_create (const char *id);
|
| 341 |
+
|
| 342 |
+
/* Utility macro used by PANGO_ENGINE_LANG_DEFINE_TYPE and
|
| 343 |
+
* PANGO_ENGINE_LANG_DEFINE_TYPE
|
| 344 |
+
*/
|
| 345 |
+
#define PANGO_ENGINE_DEFINE_TYPE(name, prefix, class_init, instance_init, parent_type) \
|
| 346 |
+
static GType prefix ## _type; \
|
| 347 |
+
static void \
|
| 348 |
+
prefix ## _register_type (GTypeModule *module) \
|
| 349 |
+
{ \
|
| 350 |
+
const GTypeInfo object_info = \
|
| 351 |
+
{ \
|
| 352 |
+
sizeof (name ## Class), \
|
| 353 |
+
(GBaseInitFunc) NULL, \
|
| 354 |
+
(GBaseFinalizeFunc) NULL, \
|
| 355 |
+
(GClassInitFunc) class_init, \
|
| 356 |
+
(GClassFinalizeFunc) NULL, \
|
| 357 |
+
NULL, /* class_data */ \
|
| 358 |
+
sizeof (name), \
|
| 359 |
+
0, /* n_prelocs */ \
|
| 360 |
+
(GInstanceInitFunc) instance_init, \
|
| 361 |
+
NULL /* value_table */ \
|
| 362 |
+
}; \
|
| 363 |
+
\
|
| 364 |
+
prefix ## _type = g_type_module_register_type (module, parent_type, \
|
| 365 |
+
# name, \
|
| 366 |
+
&object_info, 0); \
|
| 367 |
+
}
|
| 368 |
+
|
| 369 |
+
/**
|
| 370 |
+
* PANGO_ENGINE_LANG_DEFINE_TYPE:
|
| 371 |
+
* @name: Name of the the type to register (for example:, ArabicEngineFc)
|
| 372 |
+
* @prefix: Prefix for symbols that will be defined (for example:, arabic_engine_fc)
|
| 373 |
+
* @class_init: (nullable): Class initialization function for the new type
|
| 374 |
+
* @instance_init: (nullable): Instance initialization function for the new type
|
| 375 |
+
*
|
| 376 |
+
* Outputs the necessary code for GObject type registration for a
|
| 377 |
+
* `PangoEngineLang` class defined in a module. Two static symbols
|
| 378 |
+
* are defined.
|
| 379 |
+
*
|
| 380 |
+
* <programlisting>
|
| 381 |
+
* static GType *prefix*_type;
|
| 382 |
+
* static void *prefix*_register_type (GTypeModule module);
|
| 383 |
+
*
|
| 384 |
+
* The *prefix*_register_type()
|
| 385 |
+
* function should be called in your script_engine_init() function for
|
| 386 |
+
* each type that your module implements, and then your script_engine_create()
|
| 387 |
+
* function can create instances of the object as follows:
|
| 388 |
+
*
|
| 389 |
+
* ```
|
| 390 |
+
* PangoEngine *engine = g_object_new (prefix_type, NULL);
|
| 391 |
+
* ```
|
| 392 |
+
*
|
| 393 |
+
* Deprecated: 1.38
|
| 394 |
+
**/
|
| 395 |
+
#define PANGO_ENGINE_LANG_DEFINE_TYPE(name, prefix, class_init, instance_init) \
|
| 396 |
+
PANGO_ENGINE_DEFINE_TYPE (name, prefix, \
|
| 397 |
+
class_init, instance_init, \
|
| 398 |
+
PANGO_TYPE_ENGINE_LANG)
|
| 399 |
+
|
| 400 |
+
/**
|
| 401 |
+
* PANGO_ENGINE_SHAPE_DEFINE_TYPE:
|
| 402 |
+
* @name: Name of the the type to register (for example:, ArabicEngineFc)
|
| 403 |
+
* @prefix: Prefix for symbols that will be defined (for example:, arabic_engine_fc)
|
| 404 |
+
* @class_init: (nullable): Class initialization function for the new type
|
| 405 |
+
* @instance_init: (nullable): Instance initialization function for the new type
|
| 406 |
+
*
|
| 407 |
+
* Outputs the necessary code for GObject type registration for a
|
| 408 |
+
* `PangoEngineShape` class defined in a module. Two static symbols
|
| 409 |
+
* are defined.
|
| 410 |
+
*
|
| 411 |
+
* <programlisting>
|
| 412 |
+
* static GType *prefix*_type;
|
| 413 |
+
* static void *prefix*_register_type (GTypeModule module);
|
| 414 |
+
* </programlisting>
|
| 415 |
+
*
|
| 416 |
+
* The *prefix*_register_type()
|
| 417 |
+
* function should be called in your script_engine_init() function for
|
| 418 |
+
* each type that your module implements, and then your script_engine_create()
|
| 419 |
+
* function can create instances of the object as follows:
|
| 420 |
+
*
|
| 421 |
+
* ```
|
| 422 |
+
* PangoEngine *engine = g_object_new (prefix_type, NULL);
|
| 423 |
+
* ```
|
| 424 |
+
*
|
| 425 |
+
* Deprecated: 1.38
|
| 426 |
+
**/
|
| 427 |
+
#define PANGO_ENGINE_SHAPE_DEFINE_TYPE(name, prefix, class_init, instance_init) \
|
| 428 |
+
PANGO_ENGINE_DEFINE_TYPE (name, prefix, \
|
| 429 |
+
class_init, instance_init, \
|
| 430 |
+
PANGO_TYPE_ENGINE_SHAPE)
|
| 431 |
+
|
| 432 |
+
/* Macro used for possibly builtin Pango modules. Not useful
|
| 433 |
+
* for externally build modules. If we are compiling a module standalone,
|
| 434 |
+
* then we name the entry points script_engine_list, etc. But if we
|
| 435 |
+
* are compiling it for inclusion directly in Pango, then we need them to
|
| 436 |
+
* to have distinct names for this module, so we prepend a prefix.
|
| 437 |
+
*
|
| 438 |
+
* The two intermediate macros are to deal with details of the C
|
| 439 |
+
* preprocessor; token pasting tokens must be function arguments,
|
| 440 |
+
* and macro substitution isn't used on function arguments that
|
| 441 |
+
* are used for token pasting.
|
| 442 |
+
*/
|
| 443 |
+
#ifdef PANGO_MODULE_PREFIX
|
| 444 |
+
#define PANGO_MODULE_ENTRY(func) _PANGO_MODULE_ENTRY2(PANGO_MODULE_PREFIX,func)
|
| 445 |
+
#define _PANGO_MODULE_ENTRY2(prefix,func) _PANGO_MODULE_ENTRY3(prefix,func)
|
| 446 |
+
#define _PANGO_MODULE_ENTRY3(prefix,func) prefix##_script_engine_##func
|
| 447 |
+
#else
|
| 448 |
+
#define PANGO_MODULE_ENTRY(func) script_engine_##func
|
| 449 |
+
#endif
|
| 450 |
+
|
| 451 |
+
#endif /* PANGO_DISABLE_DEPRECATED */
|
| 452 |
+
|
| 453 |
+
#endif /* __GI_SCANNER__ */
|
| 454 |
+
|
| 455 |
+
G_END_DECLS
|
| 456 |
+
|
| 457 |
+
#endif /* __PANGO_ENGINE_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-enum-types.h
ADDED
|
@@ -0,0 +1,120 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
/* This file is generated by glib-mkenums, do not modify it. This code is licensed under the same license as the containing project. Note that it links to GLib, so must comply with the LGPL linking clauses. */
|
| 3 |
+
|
| 4 |
+
#ifndef __PANGO_ENUM_TYPES_H__
|
| 5 |
+
#define __PANGO_ENUM_TYPES_H__
|
| 6 |
+
|
| 7 |
+
#include <glib-object.h>
|
| 8 |
+
|
| 9 |
+
#include <pango/pango-version-macros.h>
|
| 10 |
+
|
| 11 |
+
G_BEGIN_DECLS
|
| 12 |
+
|
| 13 |
+
/* enumerations from "pango-attributes.h" */
|
| 14 |
+
PANGO_AVAILABLE_IN_ALL
|
| 15 |
+
GType pango_attr_type_get_type (void) G_GNUC_CONST;
|
| 16 |
+
#define PANGO_TYPE_ATTR_TYPE (pango_attr_type_get_type ())
|
| 17 |
+
PANGO_AVAILABLE_IN_ALL
|
| 18 |
+
GType pango_underline_get_type (void) G_GNUC_CONST;
|
| 19 |
+
#define PANGO_TYPE_UNDERLINE (pango_underline_get_type ())
|
| 20 |
+
PANGO_AVAILABLE_IN_ALL
|
| 21 |
+
GType pango_overline_get_type (void) G_GNUC_CONST;
|
| 22 |
+
#define PANGO_TYPE_OVERLINE (pango_overline_get_type ())
|
| 23 |
+
PANGO_AVAILABLE_IN_ALL
|
| 24 |
+
GType pango_show_flags_get_type (void) G_GNUC_CONST;
|
| 25 |
+
#define PANGO_TYPE_SHOW_FLAGS (pango_show_flags_get_type ())
|
| 26 |
+
PANGO_AVAILABLE_IN_ALL
|
| 27 |
+
GType pango_text_transform_get_type (void) G_GNUC_CONST;
|
| 28 |
+
#define PANGO_TYPE_TEXT_TRANSFORM (pango_text_transform_get_type ())
|
| 29 |
+
PANGO_AVAILABLE_IN_ALL
|
| 30 |
+
GType pango_baseline_shift_get_type (void) G_GNUC_CONST;
|
| 31 |
+
#define PANGO_TYPE_BASELINE_SHIFT (pango_baseline_shift_get_type ())
|
| 32 |
+
PANGO_AVAILABLE_IN_ALL
|
| 33 |
+
GType pango_font_scale_get_type (void) G_GNUC_CONST;
|
| 34 |
+
#define PANGO_TYPE_FONT_SCALE (pango_font_scale_get_type ())
|
| 35 |
+
|
| 36 |
+
/* enumerations from "pango-bidi-type.h" */
|
| 37 |
+
PANGO_AVAILABLE_IN_ALL
|
| 38 |
+
GType pango_bidi_type_get_type (void) G_GNUC_CONST;
|
| 39 |
+
#define PANGO_TYPE_BIDI_TYPE (pango_bidi_type_get_type ())
|
| 40 |
+
|
| 41 |
+
/* enumerations from "pango-coverage.h" */
|
| 42 |
+
PANGO_AVAILABLE_IN_ALL
|
| 43 |
+
GType pango_coverage_level_get_type (void) G_GNUC_CONST;
|
| 44 |
+
#define PANGO_TYPE_COVERAGE_LEVEL (pango_coverage_level_get_type ())
|
| 45 |
+
|
| 46 |
+
/* enumerations from "pango-direction.h" */
|
| 47 |
+
PANGO_AVAILABLE_IN_ALL
|
| 48 |
+
GType pango_direction_get_type (void) G_GNUC_CONST;
|
| 49 |
+
#define PANGO_TYPE_DIRECTION (pango_direction_get_type ())
|
| 50 |
+
|
| 51 |
+
/* enumerations from "pango-font.h" */
|
| 52 |
+
PANGO_AVAILABLE_IN_ALL
|
| 53 |
+
GType pango_style_get_type (void) G_GNUC_CONST;
|
| 54 |
+
#define PANGO_TYPE_STYLE (pango_style_get_type ())
|
| 55 |
+
PANGO_AVAILABLE_IN_ALL
|
| 56 |
+
GType pango_variant_get_type (void) G_GNUC_CONST;
|
| 57 |
+
#define PANGO_TYPE_VARIANT (pango_variant_get_type ())
|
| 58 |
+
PANGO_AVAILABLE_IN_ALL
|
| 59 |
+
GType pango_weight_get_type (void) G_GNUC_CONST;
|
| 60 |
+
#define PANGO_TYPE_WEIGHT (pango_weight_get_type ())
|
| 61 |
+
PANGO_AVAILABLE_IN_ALL
|
| 62 |
+
GType pango_stretch_get_type (void) G_GNUC_CONST;
|
| 63 |
+
#define PANGO_TYPE_STRETCH (pango_stretch_get_type ())
|
| 64 |
+
PANGO_AVAILABLE_IN_ALL
|
| 65 |
+
GType pango_font_mask_get_type (void) G_GNUC_CONST;
|
| 66 |
+
#define PANGO_TYPE_FONT_MASK (pango_font_mask_get_type ())
|
| 67 |
+
|
| 68 |
+
/* enumerations from "pango-glyph.h" */
|
| 69 |
+
PANGO_AVAILABLE_IN_ALL
|
| 70 |
+
GType pango_shape_flags_get_type (void) G_GNUC_CONST;
|
| 71 |
+
#define PANGO_TYPE_SHAPE_FLAGS (pango_shape_flags_get_type ())
|
| 72 |
+
|
| 73 |
+
/* enumerations from "pango-gravity.h" */
|
| 74 |
+
PANGO_AVAILABLE_IN_ALL
|
| 75 |
+
GType pango_gravity_get_type (void) G_GNUC_CONST;
|
| 76 |
+
#define PANGO_TYPE_GRAVITY (pango_gravity_get_type ())
|
| 77 |
+
PANGO_AVAILABLE_IN_ALL
|
| 78 |
+
GType pango_gravity_hint_get_type (void) G_GNUC_CONST;
|
| 79 |
+
#define PANGO_TYPE_GRAVITY_HINT (pango_gravity_hint_get_type ())
|
| 80 |
+
|
| 81 |
+
/* enumerations from "pango-layout.h" */
|
| 82 |
+
PANGO_AVAILABLE_IN_ALL
|
| 83 |
+
GType pango_alignment_get_type (void) G_GNUC_CONST;
|
| 84 |
+
#define PANGO_TYPE_ALIGNMENT (pango_alignment_get_type ())
|
| 85 |
+
PANGO_AVAILABLE_IN_ALL
|
| 86 |
+
GType pango_wrap_mode_get_type (void) G_GNUC_CONST;
|
| 87 |
+
#define PANGO_TYPE_WRAP_MODE (pango_wrap_mode_get_type ())
|
| 88 |
+
PANGO_AVAILABLE_IN_ALL
|
| 89 |
+
GType pango_ellipsize_mode_get_type (void) G_GNUC_CONST;
|
| 90 |
+
#define PANGO_TYPE_ELLIPSIZE_MODE (pango_ellipsize_mode_get_type ())
|
| 91 |
+
PANGO_AVAILABLE_IN_ALL
|
| 92 |
+
GType pango_layout_serialize_flags_get_type (void) G_GNUC_CONST;
|
| 93 |
+
#define PANGO_TYPE_LAYOUT_SERIALIZE_FLAGS (pango_layout_serialize_flags_get_type ())
|
| 94 |
+
PANGO_AVAILABLE_IN_ALL
|
| 95 |
+
GType pango_layout_deserialize_error_get_type (void) G_GNUC_CONST;
|
| 96 |
+
#define PANGO_TYPE_LAYOUT_DESERIALIZE_ERROR (pango_layout_deserialize_error_get_type ())
|
| 97 |
+
PANGO_AVAILABLE_IN_ALL
|
| 98 |
+
GType pango_layout_deserialize_flags_get_type (void) G_GNUC_CONST;
|
| 99 |
+
#define PANGO_TYPE_LAYOUT_DESERIALIZE_FLAGS (pango_layout_deserialize_flags_get_type ())
|
| 100 |
+
|
| 101 |
+
/* enumerations from "pango-renderer.h" */
|
| 102 |
+
PANGO_AVAILABLE_IN_ALL
|
| 103 |
+
GType pango_render_part_get_type (void) G_GNUC_CONST;
|
| 104 |
+
#define PANGO_TYPE_RENDER_PART (pango_render_part_get_type ())
|
| 105 |
+
|
| 106 |
+
/* enumerations from "pango-script.h" */
|
| 107 |
+
PANGO_AVAILABLE_IN_ALL
|
| 108 |
+
GType pango_script_get_type (void) G_GNUC_CONST;
|
| 109 |
+
#define PANGO_TYPE_SCRIPT (pango_script_get_type ())
|
| 110 |
+
|
| 111 |
+
/* enumerations from "pango-tabs.h" */
|
| 112 |
+
PANGO_AVAILABLE_IN_ALL
|
| 113 |
+
GType pango_tab_align_get_type (void) G_GNUC_CONST;
|
| 114 |
+
#define PANGO_TYPE_TAB_ALIGN (pango_tab_align_get_type ())
|
| 115 |
+
G_END_DECLS
|
| 116 |
+
|
| 117 |
+
#endif /* __PANGO_ENUM_TYPES_H__ */
|
| 118 |
+
|
| 119 |
+
/* Generated data ends here */
|
| 120 |
+
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-features.h
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#ifndef PANGO_FEATURES_H
|
| 2 |
+
#define PANGO_FEATURES_H
|
| 3 |
+
|
| 4 |
+
#define PANGO_VERSION_MAJOR 1
|
| 5 |
+
#define PANGO_VER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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-font.h: Font handling
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_FONT_H__
|
| 23 |
+
#define __PANGO_FONT_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-coverage.h>
|
| 26 |
+
#include <pango/pango-types.h>
|
| 27 |
+
|
| 28 |
+
#include <glib-object.h>
|
| 29 |
+
#include <hb.h>
|
| 30 |
+
|
| 31 |
+
G_BEGIN_DECLS
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* PangoFontDescription:
|
| 35 |
+
*
|
| 36 |
+
* A `PangoFontDescription` describes a font in an implementation-independent
|
| 37 |
+
* manner.
|
| 38 |
+
*
|
| 39 |
+
* `PangoFontDescription` structures are used both to list what fonts are
|
| 40 |
+
* available on the system and also for specifying the characteristics of
|
| 41 |
+
* a font to load.
|
| 42 |
+
*/
|
| 43 |
+
typedef struct _PangoFontDescription PangoFontDescription;
|
| 44 |
+
|
| 45 |
+
/**
|
| 46 |
+
* PangoFontMetrics:
|
| 47 |
+
*
|
| 48 |
+
* A `PangoFontMetrics` structure holds the overall metric information
|
| 49 |
+
* for a font.
|
| 50 |
+
*
|
| 51 |
+
* The information in a `PangoFontMetrics` structure may be restricted
|
| 52 |
+
* to a script. The fields of this structure are private to implementations
|
| 53 |
+
* of a font backend. See the documentation of the corresponding getters
|
| 54 |
+
* for documentation of their meaning.
|
| 55 |
+
*
|
| 56 |
+
* For an overview of the most important metrics, see:
|
| 57 |
+
*
|
| 58 |
+
* <picture>
|
| 59 |
+
* <source srcset="fontmetrics-dark.png" media="(prefers-color-scheme: dark)">
|
| 60 |
+
* <img alt="Font metrics" src="fontmetrics-light.png">
|
| 61 |
+
* </picture>
|
| 62 |
+
|
| 63 |
+
*/
|
| 64 |
+
typedef struct _PangoFontMetrics PangoFontMetrics;
|
| 65 |
+
|
| 66 |
+
/**
|
| 67 |
+
* PangoStyle:
|
| 68 |
+
* @PANGO_STYLE_NORMAL: the font is upright.
|
| 69 |
+
* @PANGO_STYLE_OBLIQUE: the font is slanted, but in a roman style.
|
| 70 |
+
* @PANGO_STYLE_ITALIC: the font is slanted in an italic style.
|
| 71 |
+
*
|
| 72 |
+
* An enumeration specifying the various slant styles possible for a font.
|
| 73 |
+
**/
|
| 74 |
+
typedef enum {
|
| 75 |
+
PANGO_STYLE_NORMAL,
|
| 76 |
+
PANGO_STYLE_OBLIQUE,
|
| 77 |
+
PANGO_STYLE_ITALIC
|
| 78 |
+
} PangoStyle;
|
| 79 |
+
|
| 80 |
+
/**
|
| 81 |
+
* PangoVariant:
|
| 82 |
+
* @PANGO_VARIANT_NORMAL: A normal font.
|
| 83 |
+
* @PANGO_VARIANT_SMALL_CAPS: A font with the lower case characters
|
| 84 |
+
* replaced by smaller variants of the capital characters.
|
| 85 |
+
* @PANGO_VARIANT_ALL_SMALL_CAPS: A font with all characters
|
| 86 |
+
* replaced by smaller variants of the capital characters. Since: 1.50
|
| 87 |
+
* @PANGO_VARIANT_PETITE_CAPS: A font with the lower case characters
|
| 88 |
+
* replaced by smaller variants of the capital characters.
|
| 89 |
+
* Petite Caps can be even smaller than Small Caps. Since: 1.50
|
| 90 |
+
* @PANGO_VARIANT_ALL_PETITE_CAPS: A font with all characters
|
| 91 |
+
* replaced by smaller variants of the capital characters.
|
| 92 |
+
* Petite Caps can be even smaller than Small Caps. Since: 1.50
|
| 93 |
+
* @PANGO_VARIANT_UNICASE: A font with the upper case characters
|
| 94 |
+
* replaced by smaller variants of the capital letters. Since: 1.50
|
| 95 |
+
* @PANGO_VARIANT_TITLE_CAPS: A font with capital letters that
|
| 96 |
+
* are more suitable for all-uppercase titles. Since: 1.50
|
| 97 |
+
*
|
| 98 |
+
* An enumeration specifying capitalization variant of the font.
|
| 99 |
+
*/
|
| 100 |
+
typedef enum {
|
| 101 |
+
PANGO_VARIANT_NORMAL,
|
| 102 |
+
PANGO_VARIANT_SMALL_CAPS,
|
| 103 |
+
PANGO_VARIANT_ALL_SMALL_CAPS,
|
| 104 |
+
PANGO_VARIANT_PETITE_CAPS,
|
| 105 |
+
PANGO_VARIANT_ALL_PETITE_CAPS,
|
| 106 |
+
PANGO_VARIANT_UNICASE,
|
| 107 |
+
PANGO_VARIANT_TITLE_CAPS
|
| 108 |
+
} PangoVariant;
|
| 109 |
+
|
| 110 |
+
/**
|
| 111 |
+
* PangoWeight:
|
| 112 |
+
* @PANGO_WEIGHT_THIN: the thin weight (= 100) Since: 1.24
|
| 113 |
+
* @PANGO_WEIGHT_ULTRALIGHT: the ultralight weight (= 200)
|
| 114 |
+
* @PANGO_WEIGHT_LIGHT: the light weight (= 300)
|
| 115 |
+
* @PANGO_WEIGHT_SEMILIGHT: the semilight weight (= 350) Since: 1.36.7
|
| 116 |
+
* @PANGO_WEIGHT_BOOK: the book weight (= 380) Since: 1.24)
|
| 117 |
+
* @PANGO_WEIGHT_NORMAL: the default weight (= 400)
|
| 118 |
+
* @PANGO_WEIGHT_MEDIUM: the medium weight (= 500) Since: 1.24
|
| 119 |
+
* @PANGO_WEIGHT_SEMIBOLD: the semibold weight (= 600)
|
| 120 |
+
* @PANGO_WEIGHT_BOLD: the bold weight (= 700)
|
| 121 |
+
* @PANGO_WEIGHT_ULTRABOLD: the ultrabold weight (= 800)
|
| 122 |
+
* @PANGO_WEIGHT_HEAVY: the heavy weight (= 900)
|
| 123 |
+
* @PANGO_WEIGHT_ULTRAHEAVY: the ultraheavy weight (= 1000) Since: 1.24
|
| 124 |
+
*
|
| 125 |
+
* An enumeration specifying the weight (boldness) of a font.
|
| 126 |
+
*
|
| 127 |
+
* Weight is specified as a numeric value ranging from 100 to 1000.
|
| 128 |
+
* This enumeration simply provides some common, predefined values.
|
| 129 |
+
*/
|
| 130 |
+
typedef enum {
|
| 131 |
+
PANGO_WEIGHT_THIN = 100,
|
| 132 |
+
PANGO_WEIGHT_ULTRALIGHT = 200,
|
| 133 |
+
PANGO_WEIGHT_LIGHT = 300,
|
| 134 |
+
PANGO_WEIGHT_SEMILIGHT = 350,
|
| 135 |
+
PANGO_WEIGHT_BOOK = 380,
|
| 136 |
+
PANGO_WEIGHT_NORMAL = 400,
|
| 137 |
+
PANGO_WEIGHT_MEDIUM = 500,
|
| 138 |
+
PANGO_WEIGHT_SEMIBOLD = 600,
|
| 139 |
+
PANGO_WEIGHT_BOLD = 700,
|
| 140 |
+
PANGO_WEIGHT_ULTRABOLD = 800,
|
| 141 |
+
PANGO_WEIGHT_HEAVY = 900,
|
| 142 |
+
PANGO_WEIGHT_ULTRAHEAVY = 1000
|
| 143 |
+
} PangoWeight;
|
| 144 |
+
|
| 145 |
+
/**
|
| 146 |
+
* PangoStretch:
|
| 147 |
+
* @PANGO_STRETCH_ULTRA_CONDENSED: ultra condensed width
|
| 148 |
+
* @PANGO_STRETCH_EXTRA_CONDENSED: extra condensed width
|
| 149 |
+
* @PANGO_STRETCH_CONDENSED: condensed width
|
| 150 |
+
* @PANGO_STRETCH_SEMI_CONDENSED: semi condensed width
|
| 151 |
+
* @PANGO_STRETCH_NORMAL: the normal width
|
| 152 |
+
* @PANGO_STRETCH_SEMI_EXPANDED: semi expanded width
|
| 153 |
+
* @PANGO_STRETCH_EXPANDED: expanded width
|
| 154 |
+
* @PANGO_STRETCH_EXTRA_EXPANDED: extra expanded width
|
| 155 |
+
* @PANGO_STRETCH_ULTRA_EXPANDED: ultra expanded width
|
| 156 |
+
*
|
| 157 |
+
* An enumeration specifying the width of the font relative to other designs
|
| 158 |
+
* within a family.
|
| 159 |
+
*/
|
| 160 |
+
typedef enum {
|
| 161 |
+
PANGO_STRETCH_ULTRA_CONDENSED,
|
| 162 |
+
PANGO_STRETCH_EXTRA_CONDENSED,
|
| 163 |
+
PANGO_STRETCH_CONDENSED,
|
| 164 |
+
PANGO_STRETCH_SEMI_CONDENSED,
|
| 165 |
+
PANGO_STRETCH_NORMAL,
|
| 166 |
+
PANGO_STRETCH_SEMI_EXPANDED,
|
| 167 |
+
PANGO_STRETCH_EXPANDED,
|
| 168 |
+
PANGO_STRETCH_EXTRA_EXPANDED,
|
| 169 |
+
PANGO_STRETCH_ULTRA_EXPANDED
|
| 170 |
+
} PangoStretch;
|
| 171 |
+
|
| 172 |
+
/**
|
| 173 |
+
* PangoFontMask:
|
| 174 |
+
* @PANGO_FONT_MASK_FAMILY: the font family is specified.
|
| 175 |
+
* @PANGO_FONT_MASK_STYLE: the font style is specified.
|
| 176 |
+
* @PANGO_FONT_MASK_VARIANT: the font variant is specified.
|
| 177 |
+
* @PANGO_FONT_MASK_WEIGHT: the font weight is specified.
|
| 178 |
+
* @PANGO_FONT_MASK_STRETCH: the font stretch is specified.
|
| 179 |
+
* @PANGO_FONT_MASK_SIZE: the font size is specified.
|
| 180 |
+
*
|
| 181 |
+
* The bits in a `PangoFontMask` correspond to the set fields in a
|
| 182 |
+
* `PangoFontDescription`.
|
| 183 |
+
*/
|
| 184 |
+
/**
|
| 185 |
+
* PANGO_FONT_MASK_GRAVITY:
|
| 186 |
+
*
|
| 187 |
+
* The font gravity is specified.
|
| 188 |
+
*
|
| 189 |
+
* Since: 1.16
|
| 190 |
+
*/
|
| 191 |
+
/**
|
| 192 |
+
* PANGO_FONT_MASK_VARIATIONS:
|
| 193 |
+
*
|
| 194 |
+
* OpenType font variations are specified.
|
| 195 |
+
*
|
| 196 |
+
* Since: 1.42
|
| 197 |
+
*/
|
| 198 |
+
/**
|
| 199 |
+
* PANGO_FONT_MASK_FEATURES:
|
| 200 |
+
*
|
| 201 |
+
* OpenType font features are specified.
|
| 202 |
+
*
|
| 203 |
+
* Since: 1.56
|
| 204 |
+
*/
|
| 205 |
+
typedef enum {
|
| 206 |
+
PANGO_FONT_MASK_FAMILY = 1 << 0,
|
| 207 |
+
PANGO_FONT_MASK_STYLE = 1 << 1,
|
| 208 |
+
PANGO_FONT_MASK_VARIANT = 1 << 2,
|
| 209 |
+
PANGO_FONT_MASK_WEIGHT = 1 << 3,
|
| 210 |
+
PANGO_FONT_MASK_STRETCH = 1 << 4,
|
| 211 |
+
PANGO_FONT_MASK_SIZE = 1 << 5,
|
| 212 |
+
PANGO_FONT_MASK_GRAVITY = 1 << 6,
|
| 213 |
+
PANGO_FONT_MASK_VARIATIONS = 1 << 7,
|
| 214 |
+
PANGO_FONT_MASK_FEATURES = 1 << 8,
|
| 215 |
+
} PangoFontMask;
|
| 216 |
+
|
| 217 |
+
/* CSS scale factors (1.2 factor between each size) */
|
| 218 |
+
/**
|
| 219 |
+
* PANGO_SCALE_XX_SMALL:
|
| 220 |
+
*
|
| 221 |
+
* The scale factor for three shrinking steps (1 / (1.2 * 1.2 * 1.2)).
|
| 222 |
+
*/
|
| 223 |
+
/**
|
| 224 |
+
* PANGO_SCALE_X_SMALL:
|
| 225 |
+
*
|
| 226 |
+
* The scale factor for two shrinking steps (1 / (1.2 * 1.2)).
|
| 227 |
+
*/
|
| 228 |
+
/**
|
| 229 |
+
* PANGO_SCALE_SMALL:
|
| 230 |
+
*
|
| 231 |
+
* The scale factor for one shrinking step (1 / 1.2).
|
| 232 |
+
*/
|
| 233 |
+
/**
|
| 234 |
+
* PANGO_SCALE_MEDIUM:
|
| 235 |
+
*
|
| 236 |
+
* The scale factor for normal size (1.0).
|
| 237 |
+
*/
|
| 238 |
+
/**
|
| 239 |
+
* PANGO_SCALE_LARGE:
|
| 240 |
+
*
|
| 241 |
+
* The scale factor for one magnification step (1.2).
|
| 242 |
+
*/
|
| 243 |
+
/**
|
| 244 |
+
* PANGO_SCALE_X_LARGE:
|
| 245 |
+
*
|
| 246 |
+
* The scale factor for two magnification steps (1.2 * 1.2).
|
| 247 |
+
*/
|
| 248 |
+
/**
|
| 249 |
+
* PANGO_SCALE_XX_LARGE:
|
| 250 |
+
*
|
| 251 |
+
* The scale factor for three magnification steps (1.2 * 1.2 * 1.2).
|
| 252 |
+
*/
|
| 253 |
+
#define PANGO_SCALE_XX_SMALL ((double)0.5787037037037)
|
| 254 |
+
#define PANGO_SCALE_X_SMALL ((double)0.6944444444444)
|
| 255 |
+
#define PANGO_SCALE_SMALL ((double)0.8333333333333)
|
| 256 |
+
#define PANGO_SCALE_MEDIUM ((double)1.0)
|
| 257 |
+
#define PANGO_SCALE_LARGE ((double)1.2)
|
| 258 |
+
#define PANGO_SCALE_X_LARGE ((double)1.44)
|
| 259 |
+
#define PANGO_SCALE_XX_LARGE ((double)1.728)
|
| 260 |
+
|
| 261 |
+
/*
|
| 262 |
+
* PangoFontDescription
|
| 263 |
+
*/
|
| 264 |
+
|
| 265 |
+
#define PANGO_TYPE_FONT_DESCRIPTION (pango_font_description_get_type ())
|
| 266 |
+
|
| 267 |
+
PANGO_AVAILABLE_IN_ALL
|
| 268 |
+
GType pango_font_description_get_type (void) G_GNUC_CONST;
|
| 269 |
+
PANGO_AVAILABLE_IN_ALL
|
| 270 |
+
PangoFontDescription *pango_font_description_new (void);
|
| 271 |
+
PANGO_AVAILABLE_IN_ALL
|
| 272 |
+
PangoFontDescription *pango_font_description_copy (const PangoFontDescription *desc);
|
| 273 |
+
PANGO_AVAILABLE_IN_ALL
|
| 274 |
+
PangoFontDescription *pango_font_description_copy_static (const PangoFontDescription *desc);
|
| 275 |
+
PANGO_AVAILABLE_IN_ALL
|
| 276 |
+
guint pango_font_description_hash (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 277 |
+
PANGO_AVAILABLE_IN_ALL
|
| 278 |
+
gboolean pango_font_description_equal (const PangoFontDescription *desc1,
|
| 279 |
+
const PangoFontDescription *desc2) G_GNUC_PURE;
|
| 280 |
+
PANGO_AVAILABLE_IN_ALL
|
| 281 |
+
void pango_font_description_free (PangoFontDescription *desc);
|
| 282 |
+
PANGO_DEPRECATED_IN_1_56
|
| 283 |
+
void pango_font_descriptions_free (PangoFontDescription **descs,
|
| 284 |
+
int n_descs);
|
| 285 |
+
|
| 286 |
+
PANGO_AVAILABLE_IN_ALL
|
| 287 |
+
void pango_font_description_set_family (PangoFontDescription *desc,
|
| 288 |
+
const char *family);
|
| 289 |
+
PANGO_AVAILABLE_IN_ALL
|
| 290 |
+
void pango_font_description_set_family_static (PangoFontDescription *desc,
|
| 291 |
+
const char *family);
|
| 292 |
+
PANGO_AVAILABLE_IN_ALL
|
| 293 |
+
const char *pango_font_description_get_family (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 294 |
+
PANGO_AVAILABLE_IN_ALL
|
| 295 |
+
void pango_font_description_set_style (PangoFontDescription *desc,
|
| 296 |
+
PangoStyle style);
|
| 297 |
+
PANGO_AVAILABLE_IN_ALL
|
| 298 |
+
PangoStyle pango_font_description_get_style (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 299 |
+
PANGO_AVAILABLE_IN_ALL
|
| 300 |
+
void pango_font_description_set_variant (PangoFontDescription *desc,
|
| 301 |
+
PangoVariant variant);
|
| 302 |
+
PANGO_AVAILABLE_IN_ALL
|
| 303 |
+
PangoVariant pango_font_description_get_variant (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 304 |
+
PANGO_AVAILABLE_IN_ALL
|
| 305 |
+
void pango_font_description_set_weight (PangoFontDescription *desc,
|
| 306 |
+
PangoWeight weight);
|
| 307 |
+
PANGO_AVAILABLE_IN_ALL
|
| 308 |
+
PangoWeight pango_font_description_get_weight (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 309 |
+
PANGO_AVAILABLE_IN_ALL
|
| 310 |
+
void pango_font_description_set_stretch (PangoFontDescription *desc,
|
| 311 |
+
PangoStretch stretch);
|
| 312 |
+
PANGO_AVAILABLE_IN_ALL
|
| 313 |
+
PangoStretch pango_font_description_get_stretch (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 314 |
+
PANGO_AVAILABLE_IN_ALL
|
| 315 |
+
void pango_font_description_set_size (PangoFontDescription *desc,
|
| 316 |
+
gint size);
|
| 317 |
+
PANGO_AVAILABLE_IN_ALL
|
| 318 |
+
gint pango_font_description_get_size (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 319 |
+
PANGO_AVAILABLE_IN_1_8
|
| 320 |
+
void pango_font_description_set_absolute_size (PangoFontDescription *desc,
|
| 321 |
+
double size);
|
| 322 |
+
PANGO_AVAILABLE_IN_1_8
|
| 323 |
+
gboolean pango_font_description_get_size_is_absolute (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 324 |
+
PANGO_AVAILABLE_IN_1_16
|
| 325 |
+
void pango_font_description_set_gravity (PangoFontDescription *desc,
|
| 326 |
+
PangoGravity gravity);
|
| 327 |
+
PANGO_AVAILABLE_IN_1_16
|
| 328 |
+
PangoGravity pango_font_description_get_gravity (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 329 |
+
|
| 330 |
+
PANGO_AVAILABLE_IN_1_42
|
| 331 |
+
void pango_font_description_set_variations_static (PangoFontDescription *desc,
|
| 332 |
+
const char *variations);
|
| 333 |
+
PANGO_AVAILABLE_IN_1_42
|
| 334 |
+
void pango_font_description_set_variations (PangoFontDescription *desc,
|
| 335 |
+
const char *variations);
|
| 336 |
+
PANGO_AVAILABLE_IN_1_42
|
| 337 |
+
const char *pango_font_description_get_variations (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 338 |
+
|
| 339 |
+
PANGO_AVAILABLE_IN_1_56
|
| 340 |
+
void pango_font_description_set_features_static (PangoFontDescription *desc,
|
| 341 |
+
const char *features);
|
| 342 |
+
PANGO_AVAILABLE_IN_1_56
|
| 343 |
+
void pango_font_description_set_features (PangoFontDescription *desc,
|
| 344 |
+
const char *features);
|
| 345 |
+
PANGO_AVAILABLE_IN_1_42
|
| 346 |
+
const char *pango_font_description_get_features (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 347 |
+
|
| 348 |
+
PANGO_AVAILABLE_IN_ALL
|
| 349 |
+
PangoFontMask pango_font_description_get_set_fields (const PangoFontDescription *desc) G_GNUC_PURE;
|
| 350 |
+
PANGO_AVAILABLE_IN_ALL
|
| 351 |
+
void pango_font_description_unset_fields (PangoFontDescription *desc,
|
| 352 |
+
PangoFontMask to_unset);
|
| 353 |
+
|
| 354 |
+
PANGO_AVAILABLE_IN_ALL
|
| 355 |
+
void pango_font_description_merge (PangoFontDescription *desc,
|
| 356 |
+
const PangoFontDescription *desc_to_merge,
|
| 357 |
+
gboolean replace_existing);
|
| 358 |
+
PANGO_AVAILABLE_IN_ALL
|
| 359 |
+
void pango_font_description_merge_static (PangoFontDescription *desc,
|
| 360 |
+
const PangoFontDescription *desc_to_merge,
|
| 361 |
+
gboolean replace_existing);
|
| 362 |
+
|
| 363 |
+
PANGO_AVAILABLE_IN_ALL
|
| 364 |
+
gboolean pango_font_description_better_match (const PangoFontDescription *desc,
|
| 365 |
+
const PangoFontDescription *old_match,
|
| 366 |
+
const PangoFontDescription *new_match) G_GNUC_PURE;
|
| 367 |
+
|
| 368 |
+
PANGO_AVAILABLE_IN_ALL
|
| 369 |
+
PangoFontDescription *pango_font_description_from_string (const char *str);
|
| 370 |
+
PANGO_AVAILABLE_IN_ALL
|
| 371 |
+
char * pango_font_description_to_string (const PangoFontDescription *desc);
|
| 372 |
+
PANGO_AVAILABLE_IN_ALL
|
| 373 |
+
char * pango_font_description_to_filename (const PangoFontDescription *desc);
|
| 374 |
+
|
| 375 |
+
/*
|
| 376 |
+
* PangoFontMetrics
|
| 377 |
+
*/
|
| 378 |
+
|
| 379 |
+
#define PANGO_TYPE_FONT_METRICS (pango_font_metrics_get_type ())
|
| 380 |
+
|
| 381 |
+
struct _PangoFontMetrics
|
| 382 |
+
{
|
| 383 |
+
/* <private> */
|
| 384 |
+
guint ref_count;
|
| 385 |
+
|
| 386 |
+
int ascent;
|
| 387 |
+
int descent;
|
| 388 |
+
int height;
|
| 389 |
+
int approximate_char_width;
|
| 390 |
+
int approximate_digit_width;
|
| 391 |
+
int underline_position;
|
| 392 |
+
int underline_thickness;
|
| 393 |
+
int strikethrough_position;
|
| 394 |
+
int strikethrough_thickness;
|
| 395 |
+
};
|
| 396 |
+
|
| 397 |
+
PANGO_AVAILABLE_IN_ALL
|
| 398 |
+
GType pango_font_metrics_get_type (void) G_GNUC_CONST;
|
| 399 |
+
PANGO_AVAILABLE_IN_ALL
|
| 400 |
+
PangoFontMetrics *pango_font_metrics_ref (PangoFontMetrics *metrics);
|
| 401 |
+
PANGO_AVAILABLE_IN_ALL
|
| 402 |
+
void pango_font_metrics_unref (PangoFontMetrics *metrics);
|
| 403 |
+
PANGO_AVAILABLE_IN_ALL
|
| 404 |
+
int pango_font_metrics_get_ascent (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 405 |
+
PANGO_AVAILABLE_IN_ALL
|
| 406 |
+
int pango_font_metrics_get_descent (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 407 |
+
PANGO_AVAILABLE_IN_1_44
|
| 408 |
+
int pango_font_metrics_get_height (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 409 |
+
PANGO_AVAILABLE_IN_ALL
|
| 410 |
+
int pango_font_metrics_get_approximate_char_width (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 411 |
+
PANGO_AVAILABLE_IN_ALL
|
| 412 |
+
int pango_font_metrics_get_approximate_digit_width (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 413 |
+
PANGO_AVAILABLE_IN_1_6
|
| 414 |
+
int pango_font_metrics_get_underline_position (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 415 |
+
PANGO_AVAILABLE_IN_1_6
|
| 416 |
+
int pango_font_metrics_get_underline_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 417 |
+
PANGO_AVAILABLE_IN_1_6
|
| 418 |
+
int pango_font_metrics_get_strikethrough_position (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 419 |
+
PANGO_AVAILABLE_IN_1_6
|
| 420 |
+
int pango_font_metrics_get_strikethrough_thickness (PangoFontMetrics *metrics) G_GNUC_PURE;
|
| 421 |
+
|
| 422 |
+
|
| 423 |
+
/*
|
| 424 |
+
* PangoFontFamily
|
| 425 |
+
*/
|
| 426 |
+
|
| 427 |
+
#define PANGO_TYPE_FONT_FAMILY (pango_font_family_get_type ())
|
| 428 |
+
#define PANGO_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FAMILY, PangoFontFamily))
|
| 429 |
+
#define PANGO_IS_FONT_FAMILY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FAMILY))
|
| 430 |
+
#define PANGO_FONT_FAMILY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_FAMILY, PangoFontFamilyClass))
|
| 431 |
+
#define PANGO_IS_FONT_FAMILY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_FAMILY))
|
| 432 |
+
#define PANGO_FONT_FAMILY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_FAMILY, PangoFontFamilyClass))
|
| 433 |
+
|
| 434 |
+
typedef struct _PangoFontFace PangoFontFace;
|
| 435 |
+
typedef struct _PangoFontFamily PangoFontFamily;
|
| 436 |
+
typedef struct _PangoFontFamilyClass PangoFontFamilyClass;
|
| 437 |
+
|
| 438 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 439 |
+
|
| 440 |
+
/**
|
| 441 |
+
* PangoFontFamily:
|
| 442 |
+
*
|
| 443 |
+
* A `PangoFontFamily` is used to represent a family of related
|
| 444 |
+
* font faces.
|
| 445 |
+
*
|
| 446 |
+
* The font faces in a family share a common design, but differ in
|
| 447 |
+
* slant, weight, width or other aspects.
|
| 448 |
+
*/
|
| 449 |
+
struct _PangoFontFamily
|
| 450 |
+
{
|
| 451 |
+
GObject parent_instance;
|
| 452 |
+
};
|
| 453 |
+
|
| 454 |
+
struct _PangoFontFamilyClass
|
| 455 |
+
{
|
| 456 |
+
GObjectClass parent_class;
|
| 457 |
+
|
| 458 |
+
/*< public >*/
|
| 459 |
+
|
| 460 |
+
void (*list_faces) (PangoFontFamily *family,
|
| 461 |
+
PangoFontFace ***faces,
|
| 462 |
+
int *n_faces);
|
| 463 |
+
const char * (*get_name) (PangoFontFamily *family);
|
| 464 |
+
gboolean (*is_monospace) (PangoFontFamily *family);
|
| 465 |
+
gboolean (*is_variable) (PangoFontFamily *family);
|
| 466 |
+
|
| 467 |
+
PangoFontFace * (*get_face) (PangoFontFamily *family,
|
| 468 |
+
const char *name);
|
| 469 |
+
|
| 470 |
+
|
| 471 |
+
/*< private >*/
|
| 472 |
+
|
| 473 |
+
/* Padding for future expansion */
|
| 474 |
+
void (*_pango_reserved2) (void);
|
| 475 |
+
};
|
| 476 |
+
|
| 477 |
+
#endif /* PANGO_DISABLE_DEPRECATED */
|
| 478 |
+
|
| 479 |
+
PANGO_AVAILABLE_IN_ALL
|
| 480 |
+
GType pango_font_family_get_type (void) G_GNUC_CONST;
|
| 481 |
+
|
| 482 |
+
PANGO_AVAILABLE_IN_ALL
|
| 483 |
+
void pango_font_family_list_faces (PangoFontFamily *family,
|
| 484 |
+
PangoFontFace ***faces,
|
| 485 |
+
int *n_faces);
|
| 486 |
+
PANGO_AVAILABLE_IN_ALL
|
| 487 |
+
const char *pango_font_family_get_name (PangoFontFamily *family) G_GNUC_PURE;
|
| 488 |
+
PANGO_AVAILABLE_IN_1_4
|
| 489 |
+
gboolean pango_font_family_is_monospace (PangoFontFamily *family) G_GNUC_PURE;
|
| 490 |
+
PANGO_AVAILABLE_IN_1_44
|
| 491 |
+
gboolean pango_font_family_is_variable (PangoFontFamily *family) G_GNUC_PURE;
|
| 492 |
+
|
| 493 |
+
PANGO_AVAILABLE_IN_1_46
|
| 494 |
+
PangoFontFace *pango_font_family_get_face (PangoFontFamily *family,
|
| 495 |
+
const char *name);
|
| 496 |
+
|
| 497 |
+
|
| 498 |
+
/*
|
| 499 |
+
* PangoFontFace
|
| 500 |
+
*/
|
| 501 |
+
|
| 502 |
+
#define PANGO_TYPE_FONT_FACE (pango_font_face_get_type ())
|
| 503 |
+
#define PANGO_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_FACE, PangoFontFace))
|
| 504 |
+
#define PANGO_IS_FONT_FACE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_FACE))
|
| 505 |
+
#define PANGO_FONT_FACE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_FACE, PangoFontFaceClass))
|
| 506 |
+
#define PANGO_IS_FONT_FACE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_FACE))
|
| 507 |
+
#define PANGO_FONT_FACE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_FACE, PangoFontFaceClass))
|
| 508 |
+
|
| 509 |
+
typedef struct _PangoFontFaceClass PangoFontFaceClass;
|
| 510 |
+
|
| 511 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 512 |
+
|
| 513 |
+
/**
|
| 514 |
+
* PangoFontFace:
|
| 515 |
+
*
|
| 516 |
+
* A `PangoFontFace` is used to represent a group of fonts with
|
| 517 |
+
* the same family, slant, weight, and width, but varying sizes.
|
| 518 |
+
*/
|
| 519 |
+
struct _PangoFontFace
|
| 520 |
+
{
|
| 521 |
+
GObject parent_instance;
|
| 522 |
+
};
|
| 523 |
+
|
| 524 |
+
struct _PangoFontFaceClass
|
| 525 |
+
{
|
| 526 |
+
GObjectClass parent_class;
|
| 527 |
+
|
| 528 |
+
/*< public >*/
|
| 529 |
+
|
| 530 |
+
const char * (*get_face_name) (PangoFontFace *face);
|
| 531 |
+
PangoFontDescription * (*describe) (PangoFontFace *face);
|
| 532 |
+
void (*list_sizes) (PangoFontFace *face,
|
| 533 |
+
int **sizes,
|
| 534 |
+
int *n_sizes);
|
| 535 |
+
gboolean (*is_synthesized) (PangoFontFace *face);
|
| 536 |
+
PangoFontFamily * (*get_family) (PangoFontFace *face);
|
| 537 |
+
|
| 538 |
+
/*< private >*/
|
| 539 |
+
|
| 540 |
+
/* Padding for future expansion */
|
| 541 |
+
void (*_pango_reserved3) (void);
|
| 542 |
+
void (*_pango_reserved4) (void);
|
| 543 |
+
};
|
| 544 |
+
|
| 545 |
+
#endif /* PANGO_DISABLE_DEPRECATED */
|
| 546 |
+
|
| 547 |
+
PANGO_AVAILABLE_IN_ALL
|
| 548 |
+
GType pango_font_face_get_type (void) G_GNUC_CONST;
|
| 549 |
+
|
| 550 |
+
PANGO_AVAILABLE_IN_ALL
|
| 551 |
+
PangoFontDescription *pango_font_face_describe (PangoFontFace *face);
|
| 552 |
+
PANGO_AVAILABLE_IN_ALL
|
| 553 |
+
const char *pango_font_face_get_face_name (PangoFontFace *face) G_GNUC_PURE;
|
| 554 |
+
PANGO_AVAILABLE_IN_1_4
|
| 555 |
+
void pango_font_face_list_sizes (PangoFontFace *face,
|
| 556 |
+
int **sizes,
|
| 557 |
+
int *n_sizes);
|
| 558 |
+
PANGO_AVAILABLE_IN_1_18
|
| 559 |
+
gboolean pango_font_face_is_synthesized (PangoFontFace *face) G_GNUC_PURE;
|
| 560 |
+
|
| 561 |
+
PANGO_AVAILABLE_IN_1_46
|
| 562 |
+
PangoFontFamily * pango_font_face_get_family (PangoFontFace *face);
|
| 563 |
+
|
| 564 |
+
|
| 565 |
+
/*
|
| 566 |
+
* PangoFont
|
| 567 |
+
*/
|
| 568 |
+
|
| 569 |
+
#define PANGO_TYPE_FONT (pango_font_get_type ())
|
| 570 |
+
#define PANGO_FONT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT, PangoFont))
|
| 571 |
+
#define PANGO_IS_FONT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT))
|
| 572 |
+
#define PANGO_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT, PangoFontClass))
|
| 573 |
+
#define PANGO_IS_FONT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT))
|
| 574 |
+
#define PANGO_FONT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT, PangoFontClass))
|
| 575 |
+
|
| 576 |
+
|
| 577 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 578 |
+
|
| 579 |
+
/**
|
| 580 |
+
* PangoFont:
|
| 581 |
+
*
|
| 582 |
+
* A `PangoFont` is used to represent a font in a
|
| 583 |
+
* rendering-system-independent manner.
|
| 584 |
+
*/
|
| 585 |
+
struct _PangoFont
|
| 586 |
+
{
|
| 587 |
+
GObject parent_instance;
|
| 588 |
+
};
|
| 589 |
+
|
| 590 |
+
typedef struct _PangoFontClass PangoFontClass;
|
| 591 |
+
struct _PangoFontClass
|
| 592 |
+
{
|
| 593 |
+
GObjectClass parent_class;
|
| 594 |
+
|
| 595 |
+
/*< public >*/
|
| 596 |
+
|
| 597 |
+
PangoFontDescription *(*describe) (PangoFont *font);
|
| 598 |
+
PangoCoverage * (*get_coverage) (PangoFont *font,
|
| 599 |
+
PangoLanguage *language);
|
| 600 |
+
void (*get_glyph_extents) (PangoFont *font,
|
| 601 |
+
PangoGlyph glyph,
|
| 602 |
+
PangoRectangle *ink_rect,
|
| 603 |
+
PangoRectangle *logical_rect);
|
| 604 |
+
PangoFontMetrics * (*get_metrics) (PangoFont *font,
|
| 605 |
+
PangoLanguage *language);
|
| 606 |
+
PangoFontMap * (*get_font_map) (PangoFont *font);
|
| 607 |
+
PangoFontDescription *(*describe_absolute) (PangoFont *font);
|
| 608 |
+
void (*get_features) (PangoFont *font,
|
| 609 |
+
hb_feature_t *features,
|
| 610 |
+
guint len,
|
| 611 |
+
guint *num_features);
|
| 612 |
+
hb_font_t * (*create_hb_font) (PangoFont *font);
|
| 613 |
+
};
|
| 614 |
+
|
| 615 |
+
#endif /* PANGO_DISABLE_DEPRECATED */
|
| 616 |
+
|
| 617 |
+
PANGO_AVAILABLE_IN_ALL
|
| 618 |
+
GType pango_font_get_type (void) G_GNUC_CONST;
|
| 619 |
+
|
| 620 |
+
PANGO_AVAILABLE_IN_ALL
|
| 621 |
+
PangoFontDescription *pango_font_describe (PangoFont *font);
|
| 622 |
+
PANGO_AVAILABLE_IN_1_14
|
| 623 |
+
PangoFontDescription *pango_font_describe_with_absolute_size (PangoFont *font);
|
| 624 |
+
PANGO_AVAILABLE_IN_ALL
|
| 625 |
+
PangoCoverage * pango_font_get_coverage (PangoFont *font,
|
| 626 |
+
PangoLanguage *language);
|
| 627 |
+
#ifndef __GI_SCANNER__
|
| 628 |
+
PANGO_DEPRECATED_IN_1_44
|
| 629 |
+
PangoEngineShape * pango_font_find_shaper (PangoFont *font,
|
| 630 |
+
PangoLanguage *language,
|
| 631 |
+
guint32 ch);
|
| 632 |
+
#endif
|
| 633 |
+
PANGO_AVAILABLE_IN_ALL
|
| 634 |
+
PangoFontMetrics * pango_font_get_metrics (PangoFont *font,
|
| 635 |
+
PangoLanguage *language);
|
| 636 |
+
PANGO_AVAILABLE_IN_ALL
|
| 637 |
+
void pango_font_get_glyph_extents (PangoFont *font,
|
| 638 |
+
PangoGlyph glyph,
|
| 639 |
+
PangoRectangle *ink_rect,
|
| 640 |
+
PangoRectangle *logical_rect);
|
| 641 |
+
PANGO_AVAILABLE_IN_1_10
|
| 642 |
+
PangoFontMap *pango_font_get_font_map (PangoFont *font);
|
| 643 |
+
|
| 644 |
+
PANGO_AVAILABLE_IN_1_46
|
| 645 |
+
PangoFontFace * pango_font_get_face (PangoFont *font);
|
| 646 |
+
|
| 647 |
+
PANGO_AVAILABLE_IN_1_44
|
| 648 |
+
gboolean pango_font_has_char (PangoFont *font,
|
| 649 |
+
gunichar wc);
|
| 650 |
+
PANGO_AVAILABLE_IN_1_44
|
| 651 |
+
void pango_font_get_features (PangoFont *font,
|
| 652 |
+
hb_feature_t *features,
|
| 653 |
+
guint len,
|
| 654 |
+
guint *num_features);
|
| 655 |
+
PANGO_AVAILABLE_IN_1_44
|
| 656 |
+
hb_font_t * pango_font_get_hb_font (PangoFont *font);
|
| 657 |
+
|
| 658 |
+
PANGO_AVAILABLE_IN_1_50
|
| 659 |
+
PangoLanguage ** pango_font_get_languages (PangoFont *font);
|
| 660 |
+
|
| 661 |
+
PANGO_AVAILABLE_IN_1_50
|
| 662 |
+
GBytes * pango_font_serialize (PangoFont *font);
|
| 663 |
+
|
| 664 |
+
PANGO_AVAILABLE_IN_1_50
|
| 665 |
+
PangoFont * pango_font_deserialize (PangoContext *context,
|
| 666 |
+
GBytes *bytes,
|
| 667 |
+
GError **error);
|
| 668 |
+
|
| 669 |
+
/**
|
| 670 |
+
* PANGO_GLYPH_EMPTY:
|
| 671 |
+
*
|
| 672 |
+
* A `PangoGlyph` value that indicates a zero-width empty glpyh.
|
| 673 |
+
*
|
| 674 |
+
* This is useful for example in shaper modules, to use as the glyph for
|
| 675 |
+
* various zero-width Unicode characters (those passing [func@is_zero_width]).
|
| 676 |
+
*/
|
| 677 |
+
|
| 678 |
+
/**
|
| 679 |
+
* PANGO_GLYPH_INVALID_INPUT:
|
| 680 |
+
*
|
| 681 |
+
* A `PangoGlyph` value for invalid input.
|
| 682 |
+
*
|
| 683 |
+
* `PangoLayout` produces one such glyph per invalid input UTF-8 byte and such
|
| 684 |
+
* a glyph is rendered as a crossed box.
|
| 685 |
+
*
|
| 686 |
+
* Note that this value is defined such that it has the %PANGO_GLYPH_UNKNOWN_FLAG
|
| 687 |
+
* set.
|
| 688 |
+
*
|
| 689 |
+
* Since: 1.20
|
| 690 |
+
*/
|
| 691 |
+
/**
|
| 692 |
+
* PANGO_GLYPH_UNKNOWN_FLAG:
|
| 693 |
+
*
|
| 694 |
+
* Flag used in `PangoGlyph` to turn a `gunichar` value of a valid Unicode
|
| 695 |
+
* character into an unknown-character glyph for that `gunichar`.
|
| 696 |
+
*
|
| 697 |
+
* Such unknown-character glyphs may be rendered as a 'hex box'.
|
| 698 |
+
*/
|
| 699 |
+
/**
|
| 700 |
+
* PANGO_GET_UNKNOWN_GLYPH:
|
| 701 |
+
* @wc: a Unicode character
|
| 702 |
+
*
|
| 703 |
+
* The way this unknown glyphs are rendered is backend specific. For example,
|
| 704 |
+
* a box with the hexadecimal Unicode code-point of the character written in it
|
| 705 |
+
* is what is done in the most common backends.
|
| 706 |
+
*
|
| 707 |
+
* Returns: a `PangoGlyph` value that means no glyph was found for @wc.
|
| 708 |
+
*/
|
| 709 |
+
#define PANGO_GLYPH_EMPTY ((PangoGlyph)0x0FFFFFFF)
|
| 710 |
+
#define PANGO_GLYPH_INVALID_INPUT ((PangoGlyph)0xFFFFFFFF)
|
| 711 |
+
#define PANGO_GLYPH_UNKNOWN_FLAG ((PangoGlyph)0x10000000)
|
| 712 |
+
#define PANGO_GET_UNKNOWN_GLYPH(wc) ((PangoGlyph)(wc)|PANGO_GLYPH_UNKNOWN_FLAG)
|
| 713 |
+
|
| 714 |
+
#ifndef __GI_SCANNER__
|
| 715 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 716 |
+
#define PANGO_UNKNOWN_GLYPH_WIDTH 10
|
| 717 |
+
#define PANGO_UNKNOWN_GLYPH_HEIGHT 14
|
| 718 |
+
#endif
|
| 719 |
+
#endif
|
| 720 |
+
|
| 721 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFamily, g_object_unref)
|
| 722 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontFace, g_object_unref)
|
| 723 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFont, g_object_unref)
|
| 724 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontDescription, pango_font_description_free)
|
| 725 |
+
|
| 726 |
+
G_END_DECLS
|
| 727 |
+
|
| 728 |
+
#endif /* __PANGO_FONT_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-fontmap.h
ADDED
|
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-font.h: Font handling
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_FONTMAP_H__
|
| 23 |
+
#define __PANGO_FONTMAP_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
#include <pango/pango-font.h>
|
| 27 |
+
#include <pango/pango-fontset.h>
|
| 28 |
+
|
| 29 |
+
G_BEGIN_DECLS
|
| 30 |
+
|
| 31 |
+
#define PANGO_TYPE_FONT_MAP (pango_font_map_get_type ())
|
| 32 |
+
#define PANGO_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONT_MAP, PangoFontMap))
|
| 33 |
+
#define PANGO_IS_FONT_MAP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONT_MAP))
|
| 34 |
+
#define PANGO_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
| 35 |
+
#define PANGO_IS_FONT_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONT_MAP))
|
| 36 |
+
#define PANGO_FONT_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONT_MAP, PangoFontMapClass))
|
| 37 |
+
|
| 38 |
+
typedef struct _PangoFontMapClass PangoFontMapClass;
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* PangoFontMap:
|
| 42 |
+
*
|
| 43 |
+
* A `PangoFontMap` represents the set of fonts available for a
|
| 44 |
+
* particular rendering system.
|
| 45 |
+
*
|
| 46 |
+
* This is a virtual object with implementations being specific to
|
| 47 |
+
* particular rendering systems.
|
| 48 |
+
*/
|
| 49 |
+
struct _PangoFontMap
|
| 50 |
+
{
|
| 51 |
+
GObject parent_instance;
|
| 52 |
+
};
|
| 53 |
+
|
| 54 |
+
/**
|
| 55 |
+
* PangoFontMapClass:
|
| 56 |
+
* @parent_class: parent `GObjectClass`
|
| 57 |
+
* @load_font: a function to load a font with a given description. See
|
| 58 |
+
* pango_font_map_load_font().
|
| 59 |
+
* @list_families: A function to list available font families. See
|
| 60 |
+
* pango_font_map_list_families().
|
| 61 |
+
* @load_fontset: a function to load a fontset with a given given description
|
| 62 |
+
* suitable for a particular language. See pango_font_map_load_fontset().
|
| 63 |
+
* @shape_engine_type: the type of rendering-system-dependent engines that
|
| 64 |
+
* can handle fonts of this fonts loaded with this fontmap.
|
| 65 |
+
* @get_serial: a function to get the serial number of the fontmap.
|
| 66 |
+
* See pango_font_map_get_serial().
|
| 67 |
+
* @changed: See pango_font_map_changed()
|
| 68 |
+
*
|
| 69 |
+
* The `PangoFontMapClass` structure holds the virtual functions for
|
| 70 |
+
* a particular `PangoFontMap` implementation.
|
| 71 |
+
*/
|
| 72 |
+
struct _PangoFontMapClass
|
| 73 |
+
{
|
| 74 |
+
GObjectClass parent_class;
|
| 75 |
+
|
| 76 |
+
/*< public >*/
|
| 77 |
+
|
| 78 |
+
PangoFont * (*load_font) (PangoFontMap *fontmap,
|
| 79 |
+
PangoContext *context,
|
| 80 |
+
const PangoFontDescription *desc);
|
| 81 |
+
void (*list_families) (PangoFontMap *fontmap,
|
| 82 |
+
PangoFontFamily ***families,
|
| 83 |
+
int *n_families);
|
| 84 |
+
PangoFontset *(*load_fontset) (PangoFontMap *fontmap,
|
| 85 |
+
PangoContext *context,
|
| 86 |
+
const PangoFontDescription *desc,
|
| 87 |
+
PangoLanguage *language);
|
| 88 |
+
|
| 89 |
+
const char *shape_engine_type;
|
| 90 |
+
|
| 91 |
+
guint (*get_serial) (PangoFontMap *fontmap);
|
| 92 |
+
void (*changed) (PangoFontMap *fontmap);
|
| 93 |
+
|
| 94 |
+
PangoFontFamily * (*get_family) (PangoFontMap *fontmap,
|
| 95 |
+
const char *name);
|
| 96 |
+
|
| 97 |
+
PangoFontFace * (*get_face) (PangoFontMap *fontmap,
|
| 98 |
+
PangoFont *font);
|
| 99 |
+
};
|
| 100 |
+
|
| 101 |
+
PANGO_AVAILABLE_IN_ALL
|
| 102 |
+
GType pango_font_map_get_type (void) G_GNUC_CONST;
|
| 103 |
+
PANGO_AVAILABLE_IN_1_22
|
| 104 |
+
PangoContext * pango_font_map_create_context (PangoFontMap *fontmap);
|
| 105 |
+
PANGO_AVAILABLE_IN_ALL
|
| 106 |
+
PangoFont * pango_font_map_load_font (PangoFontMap *fontmap,
|
| 107 |
+
PangoContext *context,
|
| 108 |
+
const PangoFontDescription *desc);
|
| 109 |
+
PANGO_AVAILABLE_IN_ALL
|
| 110 |
+
PangoFontset *pango_font_map_load_fontset (PangoFontMap *fontmap,
|
| 111 |
+
PangoContext *context,
|
| 112 |
+
const PangoFontDescription *desc,
|
| 113 |
+
PangoLanguage *language);
|
| 114 |
+
PANGO_AVAILABLE_IN_ALL
|
| 115 |
+
void pango_font_map_list_families (PangoFontMap *fontmap,
|
| 116 |
+
PangoFontFamily ***families,
|
| 117 |
+
int *n_families);
|
| 118 |
+
PANGO_AVAILABLE_IN_1_32
|
| 119 |
+
guint pango_font_map_get_serial (PangoFontMap *fontmap);
|
| 120 |
+
PANGO_AVAILABLE_IN_1_34
|
| 121 |
+
void pango_font_map_changed (PangoFontMap *fontmap);
|
| 122 |
+
|
| 123 |
+
PANGO_AVAILABLE_IN_1_46
|
| 124 |
+
PangoFontFamily *pango_font_map_get_family (PangoFontMap *fontmap,
|
| 125 |
+
const char *name);
|
| 126 |
+
|
| 127 |
+
PANGO_AVAILABLE_IN_1_52
|
| 128 |
+
PangoFont * pango_font_map_reload_font (PangoFontMap *fontmap,
|
| 129 |
+
PangoFont *font,
|
| 130 |
+
double scale,
|
| 131 |
+
PangoContext *context,
|
| 132 |
+
const char *variations);
|
| 133 |
+
|
| 134 |
+
PANGO_AVAILABLE_IN_1_56
|
| 135 |
+
gboolean pango_font_map_add_font_file (PangoFontMap *fontmap,
|
| 136 |
+
const char *filename,
|
| 137 |
+
GError **error);
|
| 138 |
+
|
| 139 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoFontMap, g_object_unref)
|
| 140 |
+
|
| 141 |
+
G_END_DECLS
|
| 142 |
+
|
| 143 |
+
#endif /* __PANGO_FONTMAP_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-fontset-simple.h
ADDED
|
@@ -0,0 +1,64 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-fontset-simple.h: Font set handling
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2001 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_FONTSET_SIMPLE_H__
|
| 23 |
+
#define __PANGO_FONTSET_SIMPLE_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-coverage.h>
|
| 26 |
+
#include <pango/pango-types.h>
|
| 27 |
+
#include <pango/pango-fontset.h>
|
| 28 |
+
|
| 29 |
+
#include <glib-object.h>
|
| 30 |
+
|
| 31 |
+
G_BEGIN_DECLS
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* PangoFontsetSimple:
|
| 35 |
+
*
|
| 36 |
+
* `PangoFontsetSimple` is a implementation of the abstract
|
| 37 |
+
* `PangoFontset` base class as an array of fonts.
|
| 38 |
+
*
|
| 39 |
+
* When creating a `PangoFontsetSimple`, you have to provide
|
| 40 |
+
* the array of fonts that make up the fontset.
|
| 41 |
+
*/
|
| 42 |
+
#define PANGO_TYPE_FONTSET_SIMPLE (pango_fontset_simple_get_type ())
|
| 43 |
+
#define PANGO_FONTSET_SIMPLE(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONTSET_SIMPLE, PangoFontsetSimple))
|
| 44 |
+
#define PANGO_IS_FONTSET_SIMPLE(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONTSET_SIMPLE))
|
| 45 |
+
|
| 46 |
+
typedef struct _PangoFontsetSimple PangoFontsetSimple;
|
| 47 |
+
typedef struct _PangoFontsetSimpleClass PangoFontsetSimpleClass;
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
PANGO_AVAILABLE_IN_ALL
|
| 51 |
+
GType pango_fontset_simple_get_type (void) G_GNUC_CONST;
|
| 52 |
+
|
| 53 |
+
PANGO_AVAILABLE_IN_ALL
|
| 54 |
+
PangoFontsetSimple * pango_fontset_simple_new (PangoLanguage *language);
|
| 55 |
+
PANGO_AVAILABLE_IN_ALL
|
| 56 |
+
void pango_fontset_simple_append (PangoFontsetSimple *fontset,
|
| 57 |
+
PangoFont *font);
|
| 58 |
+
PANGO_AVAILABLE_IN_ALL
|
| 59 |
+
int pango_fontset_simple_size (PangoFontsetSimple *fontset);
|
| 60 |
+
|
| 61 |
+
|
| 62 |
+
G_END_DECLS
|
| 63 |
+
|
| 64 |
+
#endif /* __PANGO_FONTSET_SIMPLE_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-fontset.h
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-fontset.h: Font set handling
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2001 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_FONTSET_H__
|
| 23 |
+
#define __PANGO_FONTSET_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-coverage.h>
|
| 26 |
+
#include <pango/pango-types.h>
|
| 27 |
+
|
| 28 |
+
#include <glib-object.h>
|
| 29 |
+
|
| 30 |
+
G_BEGIN_DECLS
|
| 31 |
+
|
| 32 |
+
/*
|
| 33 |
+
* PangoFontset
|
| 34 |
+
*/
|
| 35 |
+
|
| 36 |
+
#define PANGO_TYPE_FONTSET (pango_fontset_get_type ())
|
| 37 |
+
#define PANGO_FONTSET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_FONTSET, PangoFontset))
|
| 38 |
+
#define PANGO_IS_FONTSET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_FONTSET))
|
| 39 |
+
#define PANGO_FONTSET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_FONTSET, PangoFontsetClass))
|
| 40 |
+
#define PANGO_IS_FONTSET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_FONTSET))
|
| 41 |
+
#define PANGO_FONTSET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_FONTSET, PangoFontsetClass))
|
| 42 |
+
|
| 43 |
+
|
| 44 |
+
PANGO_AVAILABLE_IN_ALL
|
| 45 |
+
GType pango_fontset_get_type (void) G_GNUC_CONST;
|
| 46 |
+
|
| 47 |
+
typedef struct _PangoFontset PangoFontset;
|
| 48 |
+
typedef struct _PangoFontsetClass PangoFontsetClass;
|
| 49 |
+
|
| 50 |
+
/**
|
| 51 |
+
* PangoFontsetForeachFunc:
|
| 52 |
+
* @fontset: a `PangoFontset`
|
| 53 |
+
* @font: a font from @fontset
|
| 54 |
+
* @user_data: callback data
|
| 55 |
+
*
|
| 56 |
+
* Callback used when enumerating fonts in a fontset.
|
| 57 |
+
*
|
| 58 |
+
* See [method@Pango.Fontset.foreach].
|
| 59 |
+
*
|
| 60 |
+
* Returns: if %TRUE, stop iteration and return immediately.
|
| 61 |
+
*
|
| 62 |
+
* Since: 1.4
|
| 63 |
+
*/
|
| 64 |
+
typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset,
|
| 65 |
+
PangoFont *font,
|
| 66 |
+
gpointer user_data);
|
| 67 |
+
|
| 68 |
+
/**
|
| 69 |
+
* PangoFontset:
|
| 70 |
+
*
|
| 71 |
+
* A `PangoFontset` represents a set of `PangoFont` to use when rendering text.
|
| 72 |
+
*
|
| 73 |
+
* A `PangoFontset` is the result of resolving a `PangoFontDescription`
|
| 74 |
+
* against a particular `PangoContext`. It has operations for finding the
|
| 75 |
+
* component font for a particular Unicode character, and for finding a
|
| 76 |
+
* composite set of metrics for the entire fontset.
|
| 77 |
+
*/
|
| 78 |
+
struct _PangoFontset
|
| 79 |
+
{
|
| 80 |
+
GObject parent_instance;
|
| 81 |
+
};
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* PangoFontsetClass:
|
| 85 |
+
* @parent_class: parent `GObjectClass`
|
| 86 |
+
* @get_font: a function to get the font in the fontset that contains the
|
| 87 |
+
* best glyph for the given Unicode character; see [method@Pango.Fontset.get_font]
|
| 88 |
+
* @get_metrics: a function to get overall metric information for the fonts
|
| 89 |
+
* in the fontset; see [method@Pango.Fontset.get_metrics]
|
| 90 |
+
* @get_language: a function to get the language of the fontset.
|
| 91 |
+
* @foreach: a function to loop over the fonts in the fontset. See
|
| 92 |
+
* [method@Pango.Fontset.foreach]
|
| 93 |
+
*
|
| 94 |
+
* The `PangoFontsetClass` structure holds the virtual functions for
|
| 95 |
+
* a particular `PangoFontset` implementation.
|
| 96 |
+
*/
|
| 97 |
+
struct _PangoFontsetClass
|
| 98 |
+
{
|
| 99 |
+
GObjectClass parent_class;
|
| 100 |
+
|
| 101 |
+
/*< public >*/
|
| 102 |
+
|
| 103 |
+
PangoFont * (*get_font) (PangoFontset *fontset,
|
| 104 |
+
guint wc);
|
| 105 |
+
|
| 106 |
+
PangoFontMetrics *(*get_metrics) (PangoFontset *fontset);
|
| 107 |
+
PangoLanguage * (*get_language) (PangoFontset *fontset);
|
| 108 |
+
void (*foreach) (PangoFontset *fontset,
|
| 109 |
+
PangoFontsetForeachFunc func,
|
| 110 |
+
gpointer data);
|
| 111 |
+
|
| 112 |
+
/*< private >*/
|
| 113 |
+
|
| 114 |
+
/* Padding for future expansion */
|
| 115 |
+
void (*_pango_reserved1) (void);
|
| 116 |
+
void (*_pango_reserved2) (void);
|
| 117 |
+
void (*_pango_reserved3) (void);
|
| 118 |
+
void (*_pango_reserved4) (void);
|
| 119 |
+
};
|
| 120 |
+
|
| 121 |
+
PANGO_AVAILABLE_IN_ALL
|
| 122 |
+
PangoFont * pango_fontset_get_font (PangoFontset *fontset,
|
| 123 |
+
guint wc);
|
| 124 |
+
PANGO_AVAILABLE_IN_ALL
|
| 125 |
+
PangoFontMetrics * pango_fontset_get_metrics (PangoFontset *fontset);
|
| 126 |
+
PANGO_AVAILABLE_IN_1_4
|
| 127 |
+
void pango_fontset_foreach (PangoFontset *fontset,
|
| 128 |
+
PangoFontsetForeachFunc func,
|
| 129 |
+
gpointer data);
|
| 130 |
+
|
| 131 |
+
|
| 132 |
+
G_END_DECLS
|
| 133 |
+
|
| 134 |
+
#endif /* __PANGO_FONTSET_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-glyph-item.h
ADDED
|
@@ -0,0 +1,175 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-glyph-item.h: Pair of PangoItem and a glyph string
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2002 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_GLYPH_ITEM_H__
|
| 23 |
+
#define __PANGO_GLYPH_ITEM_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-attributes.h>
|
| 26 |
+
#include <pango/pango-break.h>
|
| 27 |
+
#include <pango/pango-item.h>
|
| 28 |
+
#include <pango/pango-glyph.h>
|
| 29 |
+
|
| 30 |
+
G_BEGIN_DECLS
|
| 31 |
+
|
| 32 |
+
/**
|
| 33 |
+
* PangoGlyphItem:
|
| 34 |
+
* @item: corresponding `PangoItem`
|
| 35 |
+
* @glyphs: corresponding `PangoGlyphString`
|
| 36 |
+
* @y_offset: shift of the baseline, relative to the baseline
|
| 37 |
+
* of the containing line. Positive values shift upwards
|
| 38 |
+
* @start_x_offset: horizontal displacement to apply before the
|
| 39 |
+
* glyph item. Positive values shift right
|
| 40 |
+
* @end_x_offset: horizontal displacement to apply after th
|
| 41 |
+
* glyph item. Positive values shift right
|
| 42 |
+
*
|
| 43 |
+
* A `PangoGlyphItem` is a pair of a `PangoItem` and the glyphs
|
| 44 |
+
* resulting from shaping the items text.
|
| 45 |
+
*
|
| 46 |
+
* As an example of the usage of `PangoGlyphItem`, the results
|
| 47 |
+
* of shaping text with `PangoLayout` is a list of `PangoLayoutLine`,
|
| 48 |
+
* each of which contains a list of `PangoGlyphItem`.
|
| 49 |
+
*/
|
| 50 |
+
typedef struct _PangoGlyphItem PangoGlyphItem;
|
| 51 |
+
|
| 52 |
+
struct _PangoGlyphItem
|
| 53 |
+
{
|
| 54 |
+
PangoItem *item;
|
| 55 |
+
PangoGlyphString *glyphs;
|
| 56 |
+
int y_offset;
|
| 57 |
+
int start_x_offset;
|
| 58 |
+
int end_x_offset;
|
| 59 |
+
};
|
| 60 |
+
|
| 61 |
+
#define PANGO_TYPE_GLYPH_ITEM (pango_glyph_item_get_type ())
|
| 62 |
+
|
| 63 |
+
PANGO_AVAILABLE_IN_ALL
|
| 64 |
+
GType pango_glyph_item_get_type (void) G_GNUC_CONST;
|
| 65 |
+
|
| 66 |
+
PANGO_AVAILABLE_IN_1_2
|
| 67 |
+
PangoGlyphItem *pango_glyph_item_split (PangoGlyphItem *orig,
|
| 68 |
+
const char *text,
|
| 69 |
+
int split_index);
|
| 70 |
+
PANGO_AVAILABLE_IN_1_20
|
| 71 |
+
PangoGlyphItem *pango_glyph_item_copy (PangoGlyphItem *orig);
|
| 72 |
+
PANGO_AVAILABLE_IN_1_6
|
| 73 |
+
void pango_glyph_item_free (PangoGlyphItem *glyph_item);
|
| 74 |
+
PANGO_AVAILABLE_IN_1_2
|
| 75 |
+
GSList * pango_glyph_item_apply_attrs (PangoGlyphItem *glyph_item,
|
| 76 |
+
const char *text,
|
| 77 |
+
PangoAttrList *list);
|
| 78 |
+
PANGO_AVAILABLE_IN_1_6
|
| 79 |
+
void pango_glyph_item_letter_space (PangoGlyphItem *glyph_item,
|
| 80 |
+
const char *text,
|
| 81 |
+
PangoLogAttr *log_attrs,
|
| 82 |
+
int letter_spacing);
|
| 83 |
+
PANGO_AVAILABLE_IN_1_26
|
| 84 |
+
void pango_glyph_item_get_logical_widths (PangoGlyphItem *glyph_item,
|
| 85 |
+
const char *text,
|
| 86 |
+
int *logical_widths);
|
| 87 |
+
|
| 88 |
+
|
| 89 |
+
/**
|
| 90 |
+
* PangoGlyphItemIter:
|
| 91 |
+
*
|
| 92 |
+
* A `PangoGlyphItemIter` is an iterator over the clusters in a
|
| 93 |
+
* `PangoGlyphItem`.
|
| 94 |
+
*
|
| 95 |
+
* The *forward direction* of the iterator is the logical direction of text.
|
| 96 |
+
* That is, with increasing @start_index and @start_char values. If @glyph_item
|
| 97 |
+
* is right-to-left (that is, if `glyph_item->item->analysis.level` is odd),
|
| 98 |
+
* then @start_glyph decreases as the iterator moves forward. Moreover,
|
| 99 |
+
* in right-to-left cases, @start_glyph is greater than @end_glyph.
|
| 100 |
+
*
|
| 101 |
+
* An iterator should be initialized using either
|
| 102 |
+
* pango_glyph_item_iter_init_start() or
|
| 103 |
+
* pango_glyph_item_iter_init_end(), for forward and backward iteration
|
| 104 |
+
* respectively, and walked over using any desired mixture of
|
| 105 |
+
* pango_glyph_item_iter_next_cluster() and
|
| 106 |
+
* pango_glyph_item_iter_prev_cluster().
|
| 107 |
+
*
|
| 108 |
+
* A common idiom for doing a forward iteration over the clusters is:
|
| 109 |
+
*
|
| 110 |
+
* ```
|
| 111 |
+
* PangoGlyphItemIter cluster_iter;
|
| 112 |
+
* gboolean have_cluster;
|
| 113 |
+
*
|
| 114 |
+
* for (have_cluster = pango_glyph_item_iter_init_start (&cluster_iter,
|
| 115 |
+
* glyph_item, text);
|
| 116 |
+
* have_cluster;
|
| 117 |
+
* have_cluster = pango_glyph_item_iter_next_cluster (&cluster_iter))
|
| 118 |
+
* {
|
| 119 |
+
* ...
|
| 120 |
+
* }
|
| 121 |
+
* ```
|
| 122 |
+
*
|
| 123 |
+
* Note that @text is the start of the text for layout, which is then
|
| 124 |
+
* indexed by `glyph_item->item->offset` to get to the text of @glyph_item.
|
| 125 |
+
* The @start_index and @end_index values can directly index into @text. The
|
| 126 |
+
* @start_glyph, @end_glyph, @start_char, and @end_char values however are
|
| 127 |
+
* zero-based for the @glyph_item. For each cluster, the item pointed at by
|
| 128 |
+
* the start variables is included in the cluster while the one pointed at by
|
| 129 |
+
* end variables is not.
|
| 130 |
+
*
|
| 131 |
+
* None of the members of a `PangoGlyphItemIter` should be modified manually.
|
| 132 |
+
*
|
| 133 |
+
* Since: 1.22
|
| 134 |
+
*/
|
| 135 |
+
typedef struct _PangoGlyphItemIter PangoGlyphItemIter;
|
| 136 |
+
|
| 137 |
+
struct _PangoGlyphItemIter
|
| 138 |
+
{
|
| 139 |
+
PangoGlyphItem *glyph_item;
|
| 140 |
+
const gchar *text;
|
| 141 |
+
|
| 142 |
+
int start_glyph;
|
| 143 |
+
int start_index;
|
| 144 |
+
int start_char;
|
| 145 |
+
|
| 146 |
+
int end_glyph;
|
| 147 |
+
int end_index;
|
| 148 |
+
int end_char;
|
| 149 |
+
};
|
| 150 |
+
|
| 151 |
+
#define PANGO_TYPE_GLYPH_ITEM_ITER (pango_glyph_item_iter_get_type ())
|
| 152 |
+
|
| 153 |
+
PANGO_AVAILABLE_IN_1_22
|
| 154 |
+
GType pango_glyph_item_iter_get_type (void) G_GNUC_CONST;
|
| 155 |
+
PANGO_AVAILABLE_IN_1_22
|
| 156 |
+
PangoGlyphItemIter *pango_glyph_item_iter_copy (PangoGlyphItemIter *orig);
|
| 157 |
+
PANGO_AVAILABLE_IN_1_22
|
| 158 |
+
void pango_glyph_item_iter_free (PangoGlyphItemIter *iter);
|
| 159 |
+
|
| 160 |
+
PANGO_AVAILABLE_IN_1_22
|
| 161 |
+
gboolean pango_glyph_item_iter_init_start (PangoGlyphItemIter *iter,
|
| 162 |
+
PangoGlyphItem *glyph_item,
|
| 163 |
+
const char *text);
|
| 164 |
+
PANGO_AVAILABLE_IN_1_22
|
| 165 |
+
gboolean pango_glyph_item_iter_init_end (PangoGlyphItemIter *iter,
|
| 166 |
+
PangoGlyphItem *glyph_item,
|
| 167 |
+
const char *text);
|
| 168 |
+
PANGO_AVAILABLE_IN_1_22
|
| 169 |
+
gboolean pango_glyph_item_iter_next_cluster (PangoGlyphItemIter *iter);
|
| 170 |
+
PANGO_AVAILABLE_IN_1_22
|
| 171 |
+
gboolean pango_glyph_item_iter_prev_cluster (PangoGlyphItemIter *iter);
|
| 172 |
+
|
| 173 |
+
G_END_DECLS
|
| 174 |
+
|
| 175 |
+
#endif /* __PANGO_GLYPH_ITEM_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-glyph.h
ADDED
|
@@ -0,0 +1,270 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-glyph.h: Glyph storage
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_GLYPH_H__
|
| 23 |
+
#define __PANGO_GLYPH_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
#include <pango/pango-item.h>
|
| 27 |
+
#include <pango/pango-break.h>
|
| 28 |
+
|
| 29 |
+
G_BEGIN_DECLS
|
| 30 |
+
|
| 31 |
+
typedef struct _PangoGlyphGeometry PangoGlyphGeometry;
|
| 32 |
+
typedef struct _PangoGlyphVisAttr PangoGlyphVisAttr;
|
| 33 |
+
typedef struct _PangoGlyphInfo PangoGlyphInfo;
|
| 34 |
+
typedef struct _PangoGlyphString PangoGlyphString;
|
| 35 |
+
|
| 36 |
+
/* 1024ths of a device unit */
|
| 37 |
+
/**
|
| 38 |
+
* PangoGlyphUnit:
|
| 39 |
+
*
|
| 40 |
+
* The `PangoGlyphUnit` type is used to store dimensions within
|
| 41 |
+
* Pango.
|
| 42 |
+
*
|
| 43 |
+
* Dimensions are stored in 1/PANGO_SCALE of a device unit.
|
| 44 |
+
* (A device unit might be a pixel for screen display, or
|
| 45 |
+
* a point on a printer.) PANGO_SCALE is currently 1024, and
|
| 46 |
+
* may change in the future (unlikely though), but you should not
|
| 47 |
+
* depend on its exact value.
|
| 48 |
+
*
|
| 49 |
+
* The PANGO_PIXELS() macro can be used to convert from glyph units
|
| 50 |
+
* into device units with correct rounding.
|
| 51 |
+
*/
|
| 52 |
+
typedef gint32 PangoGlyphUnit;
|
| 53 |
+
|
| 54 |
+
/* Positioning information about a glyph
|
| 55 |
+
*/
|
| 56 |
+
/**
|
| 57 |
+
* PangoGlyphGeometry:
|
| 58 |
+
* @width: the logical width to use for the the character.
|
| 59 |
+
* @x_offset: horizontal offset from nominal character position.
|
| 60 |
+
* @y_offset: vertical offset from nominal character position.
|
| 61 |
+
*
|
| 62 |
+
* The `PangoGlyphGeometry` structure contains width and positioning
|
| 63 |
+
* information for a single glyph.
|
| 64 |
+
*
|
| 65 |
+
* Note that @width is not guaranteed to be the same as the glyph
|
| 66 |
+
* extents. Kerning and other positioning applied during shaping will
|
| 67 |
+
* affect both the @width and the @x_offset for the glyphs in the
|
| 68 |
+
* glyph string that results from shaping.
|
| 69 |
+
*
|
| 70 |
+
* The information in this struct is intended for rendering the glyphs,
|
| 71 |
+
* as follows:
|
| 72 |
+
*
|
| 73 |
+
* 1. Assume the current point is (x, y)
|
| 74 |
+
* 2. Render the current glyph at (x + x_offset, y + y_offset),
|
| 75 |
+
* 3. Advance the current point to (x + width, y)
|
| 76 |
+
* 4. Render the next glyph
|
| 77 |
+
*/
|
| 78 |
+
struct _PangoGlyphGeometry
|
| 79 |
+
{
|
| 80 |
+
PangoGlyphUnit width;
|
| 81 |
+
PangoGlyphUnit x_offset;
|
| 82 |
+
PangoGlyphUnit y_offset;
|
| 83 |
+
};
|
| 84 |
+
|
| 85 |
+
/* Visual attributes of a glyph
|
| 86 |
+
*/
|
| 87 |
+
/**
|
| 88 |
+
* PangoGlyphVisAttr:
|
| 89 |
+
* @is_cluster_start: set for the first logical glyph in each cluster.
|
| 90 |
+
* @is_color: set if the the font will render this glyph with color. Since 1.50
|
| 91 |
+
*
|
| 92 |
+
* A `PangoGlyphVisAttr` structure communicates information between
|
| 93 |
+
* the shaping and rendering phases.
|
| 94 |
+
*
|
| 95 |
+
* Currently, it contains cluster start and color information.
|
| 96 |
+
* More attributes may be added in the future.
|
| 97 |
+
*
|
| 98 |
+
* Clusters are stored in visual order, within the cluster, glyphs
|
| 99 |
+
* are always ordered in logical order, since visual order is meaningless;
|
| 100 |
+
* that is, in Arabic text, accent glyphs follow the glyphs for the
|
| 101 |
+
* base character.
|
| 102 |
+
*/
|
| 103 |
+
struct _PangoGlyphVisAttr
|
| 104 |
+
{
|
| 105 |
+
guint is_cluster_start : 1;
|
| 106 |
+
guint is_color : 1;
|
| 107 |
+
};
|
| 108 |
+
|
| 109 |
+
/* A single glyph
|
| 110 |
+
*/
|
| 111 |
+
/**
|
| 112 |
+
* PangoGlyphInfo:
|
| 113 |
+
* @glyph: the glyph itself.
|
| 114 |
+
* @geometry: the positional information about the glyph.
|
| 115 |
+
* @attr: the visual attributes of the glyph.
|
| 116 |
+
*
|
| 117 |
+
* A `PangoGlyphInfo` structure represents a single glyph with
|
| 118 |
+
* positioning information and visual attributes.
|
| 119 |
+
*/
|
| 120 |
+
struct _PangoGlyphInfo
|
| 121 |
+
{
|
| 122 |
+
PangoGlyph glyph;
|
| 123 |
+
PangoGlyphGeometry geometry;
|
| 124 |
+
PangoGlyphVisAttr attr;
|
| 125 |
+
};
|
| 126 |
+
|
| 127 |
+
/**
|
| 128 |
+
* PangoGlyphString:
|
| 129 |
+
* @num_glyphs: number of glyphs in this glyph string
|
| 130 |
+
* @glyphs: (array length=num_glyphs): array of glyph information
|
| 131 |
+
* @log_clusters: logical cluster info, indexed by the byte index
|
| 132 |
+
* within the text corresponding to the glyph string
|
| 133 |
+
*
|
| 134 |
+
* A `PangoGlyphString` is used to store strings of glyphs with geometry
|
| 135 |
+
* and visual attribute information.
|
| 136 |
+
*
|
| 137 |
+
* The storage for the glyph information is owned by the structure
|
| 138 |
+
* which simplifies memory management.
|
| 139 |
+
*/
|
| 140 |
+
struct _PangoGlyphString {
|
| 141 |
+
int num_glyphs;
|
| 142 |
+
|
| 143 |
+
PangoGlyphInfo *glyphs;
|
| 144 |
+
int *log_clusters;
|
| 145 |
+
|
| 146 |
+
/*< private >*/
|
| 147 |
+
int space;
|
| 148 |
+
};
|
| 149 |
+
|
| 150 |
+
#define PANGO_TYPE_GLYPH_STRING (pango_glyph_string_get_type ())
|
| 151 |
+
|
| 152 |
+
PANGO_AVAILABLE_IN_ALL
|
| 153 |
+
GType pango_glyph_string_get_type (void) G_GNUC_CONST;
|
| 154 |
+
|
| 155 |
+
PANGO_AVAILABLE_IN_ALL
|
| 156 |
+
PangoGlyphString * pango_glyph_string_new (void);
|
| 157 |
+
PANGO_AVAILABLE_IN_ALL
|
| 158 |
+
void pango_glyph_string_set_size (PangoGlyphString *string,
|
| 159 |
+
int new_len);
|
| 160 |
+
|
| 161 |
+
PANGO_AVAILABLE_IN_ALL
|
| 162 |
+
PangoGlyphString * pango_glyph_string_copy (PangoGlyphString *string);
|
| 163 |
+
PANGO_AVAILABLE_IN_ALL
|
| 164 |
+
void pango_glyph_string_free (PangoGlyphString *string);
|
| 165 |
+
|
| 166 |
+
PANGO_AVAILABLE_IN_ALL
|
| 167 |
+
void pango_glyph_string_extents (PangoGlyphString *glyphs,
|
| 168 |
+
PangoFont *font,
|
| 169 |
+
PangoRectangle *ink_rect,
|
| 170 |
+
PangoRectangle *logical_rect);
|
| 171 |
+
PANGO_AVAILABLE_IN_1_14
|
| 172 |
+
int pango_glyph_string_get_width (PangoGlyphString *glyphs);
|
| 173 |
+
|
| 174 |
+
PANGO_AVAILABLE_IN_ALL
|
| 175 |
+
void pango_glyph_string_extents_range (PangoGlyphString *glyphs,
|
| 176 |
+
int start,
|
| 177 |
+
int end,
|
| 178 |
+
PangoFont *font,
|
| 179 |
+
PangoRectangle *ink_rect,
|
| 180 |
+
PangoRectangle *logical_rect);
|
| 181 |
+
|
| 182 |
+
PANGO_AVAILABLE_IN_ALL
|
| 183 |
+
void pango_glyph_string_get_logical_widths (PangoGlyphString *glyphs,
|
| 184 |
+
const char *text,
|
| 185 |
+
int length,
|
| 186 |
+
int embedding_level,
|
| 187 |
+
int *logical_widths);
|
| 188 |
+
|
| 189 |
+
PANGO_AVAILABLE_IN_ALL
|
| 190 |
+
void pango_glyph_string_index_to_x (PangoGlyphString *glyphs,
|
| 191 |
+
const char *text,
|
| 192 |
+
int length,
|
| 193 |
+
PangoAnalysis *analysis,
|
| 194 |
+
int index_,
|
| 195 |
+
gboolean trailing,
|
| 196 |
+
int *x_pos);
|
| 197 |
+
PANGO_AVAILABLE_IN_ALL
|
| 198 |
+
void pango_glyph_string_x_to_index (PangoGlyphString *glyphs,
|
| 199 |
+
const char *text,
|
| 200 |
+
int length,
|
| 201 |
+
PangoAnalysis *analysis,
|
| 202 |
+
int x_pos,
|
| 203 |
+
int *index_,
|
| 204 |
+
int *trailing);
|
| 205 |
+
|
| 206 |
+
PANGO_AVAILABLE_IN_1_50
|
| 207 |
+
void pango_glyph_string_index_to_x_full (PangoGlyphString *glyphs,
|
| 208 |
+
const char *text,
|
| 209 |
+
int length,
|
| 210 |
+
PangoAnalysis *analysis,
|
| 211 |
+
PangoLogAttr *attrs,
|
| 212 |
+
int index_,
|
| 213 |
+
gboolean trailing,
|
| 214 |
+
int *x_pos);
|
| 215 |
+
|
| 216 |
+
/* Shaping */
|
| 217 |
+
|
| 218 |
+
/**
|
| 219 |
+
* PangoShapeFlags:
|
| 220 |
+
* @PANGO_SHAPE_NONE: Default value
|
| 221 |
+
* @PANGO_SHAPE_ROUND_POSITIONS: Round glyph positions and widths to whole device units
|
| 222 |
+
* This option should be set if the target renderer can't do subpixel positioning of glyphs
|
| 223 |
+
*
|
| 224 |
+
* Flags influencing the shaping process.
|
| 225 |
+
*
|
| 226 |
+
* `PangoShapeFlags` can be passed to [func@Pango.shape_with_flags].
|
| 227 |
+
*
|
| 228 |
+
* Since: 1.44
|
| 229 |
+
*/
|
| 230 |
+
typedef enum {
|
| 231 |
+
PANGO_SHAPE_NONE = 0,
|
| 232 |
+
PANGO_SHAPE_ROUND_POSITIONS = 1 << 0,
|
| 233 |
+
} PangoShapeFlags;
|
| 234 |
+
|
| 235 |
+
PANGO_AVAILABLE_IN_ALL
|
| 236 |
+
void pango_shape (const char *text,
|
| 237 |
+
int length,
|
| 238 |
+
const PangoAnalysis *analysis,
|
| 239 |
+
PangoGlyphString *glyphs);
|
| 240 |
+
|
| 241 |
+
PANGO_AVAILABLE_IN_1_32
|
| 242 |
+
void pango_shape_full (const char *item_text,
|
| 243 |
+
int item_length,
|
| 244 |
+
const char *paragraph_text,
|
| 245 |
+
int paragraph_length,
|
| 246 |
+
const PangoAnalysis *analysis,
|
| 247 |
+
PangoGlyphString *glyphs);
|
| 248 |
+
|
| 249 |
+
PANGO_AVAILABLE_IN_1_44
|
| 250 |
+
void pango_shape_with_flags (const char *item_text,
|
| 251 |
+
int item_length,
|
| 252 |
+
const char *paragraph_text,
|
| 253 |
+
int paragraph_length,
|
| 254 |
+
const PangoAnalysis *analysis,
|
| 255 |
+
PangoGlyphString *glyphs,
|
| 256 |
+
PangoShapeFlags flags);
|
| 257 |
+
|
| 258 |
+
|
| 259 |
+
PANGO_AVAILABLE_IN_1_50
|
| 260 |
+
void pango_shape_item (PangoItem *item,
|
| 261 |
+
const char *paragraph_text,
|
| 262 |
+
int paragraph_length,
|
| 263 |
+
PangoLogAttr *log_attrs,
|
| 264 |
+
PangoGlyphString *glyphs,
|
| 265 |
+
PangoShapeFlags flags);
|
| 266 |
+
|
| 267 |
+
|
| 268 |
+
G_END_DECLS
|
| 269 |
+
|
| 270 |
+
#endif /* __PANGO_GLYPH_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-gravity.h
ADDED
|
@@ -0,0 +1,137 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-gravity.h: Gravity routines
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2006, 2007 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_GRAVITY_H__
|
| 23 |
+
#define __PANGO_GRAVITY_H__
|
| 24 |
+
|
| 25 |
+
#include <glib.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* PangoGravity:
|
| 31 |
+
* @PANGO_GRAVITY_SOUTH: Glyphs stand upright (default) <img align="right" valign="center" src="m-south.png">
|
| 32 |
+
* @PANGO_GRAVITY_EAST: Glyphs are rotated 90 degrees counter-clockwise. <img align="right" valign="center" src="m-east.png">
|
| 33 |
+
* @PANGO_GRAVITY_NORTH: Glyphs are upside-down. <img align="right" valign="cener" src="m-north.png">
|
| 34 |
+
* @PANGO_GRAVITY_WEST: Glyphs are rotated 90 degrees clockwise. <img align="right" valign="center" src="m-west.png">
|
| 35 |
+
* @PANGO_GRAVITY_AUTO: Gravity is resolved from the context matrix
|
| 36 |
+
*
|
| 37 |
+
* `PangoGravity` represents the orientation of glyphs in a segment
|
| 38 |
+
* of text.
|
| 39 |
+
*
|
| 40 |
+
* This is useful when rendering vertical text layouts. In those situations,
|
| 41 |
+
* the layout is rotated using a non-identity [struct@Pango.Matrix], and then
|
| 42 |
+
* glyph orientation is controlled using `PangoGravity`.
|
| 43 |
+
*
|
| 44 |
+
* Not every value in this enumeration makes sense for every usage of
|
| 45 |
+
* `PangoGravity`; for example, %PANGO_GRAVITY_AUTO only can be passed to
|
| 46 |
+
* [method@Pango.Context.set_base_gravity] and can only be returned by
|
| 47 |
+
* [method@Pango.Context.get_base_gravity].
|
| 48 |
+
*
|
| 49 |
+
* See also: [enum@Pango.GravityHint]
|
| 50 |
+
*
|
| 51 |
+
* Since: 1.16
|
| 52 |
+
*/
|
| 53 |
+
typedef enum {
|
| 54 |
+
PANGO_GRAVITY_SOUTH,
|
| 55 |
+
PANGO_GRAVITY_EAST,
|
| 56 |
+
PANGO_GRAVITY_NORTH,
|
| 57 |
+
PANGO_GRAVITY_WEST,
|
| 58 |
+
PANGO_GRAVITY_AUTO
|
| 59 |
+
} PangoGravity;
|
| 60 |
+
|
| 61 |
+
/**
|
| 62 |
+
* PangoGravityHint:
|
| 63 |
+
* @PANGO_GRAVITY_HINT_NATURAL: scripts will take their natural gravity based
|
| 64 |
+
* on the base gravity and the script. This is the default.
|
| 65 |
+
* @PANGO_GRAVITY_HINT_STRONG: always use the base gravity set, regardless of
|
| 66 |
+
* the script.
|
| 67 |
+
* @PANGO_GRAVITY_HINT_LINE: for scripts not in their natural direction (eg.
|
| 68 |
+
* Latin in East gravity), choose per-script gravity such that every script
|
| 69 |
+
* respects the line progression. This means, Latin and Arabic will take
|
| 70 |
+
* opposite gravities and both flow top-to-bottom for example.
|
| 71 |
+
*
|
| 72 |
+
* `PangoGravityHint` defines how horizontal scripts should behave in a
|
| 73 |
+
* vertical context.
|
| 74 |
+
*
|
| 75 |
+
* That is, English excerpts in a vertical paragraph for example.
|
| 76 |
+
*
|
| 77 |
+
* See also [enum@Pango.Gravity]
|
| 78 |
+
*
|
| 79 |
+
* Since: 1.16
|
| 80 |
+
*/
|
| 81 |
+
typedef enum {
|
| 82 |
+
PANGO_GRAVITY_HINT_NATURAL,
|
| 83 |
+
PANGO_GRAVITY_HINT_STRONG,
|
| 84 |
+
PANGO_GRAVITY_HINT_LINE
|
| 85 |
+
} PangoGravityHint;
|
| 86 |
+
|
| 87 |
+
/**
|
| 88 |
+
* PANGO_GRAVITY_IS_VERTICAL:
|
| 89 |
+
* @gravity: the `PangoGravity` to check
|
| 90 |
+
*
|
| 91 |
+
* Whether a `PangoGravity` represents vertical writing directions.
|
| 92 |
+
*
|
| 93 |
+
* Returns: %TRUE if @gravity is %PANGO_GRAVITY_EAST or %PANGO_GRAVITY_WEST,
|
| 94 |
+
* %FALSE otherwise.
|
| 95 |
+
*
|
| 96 |
+
* Since: 1.16
|
| 97 |
+
*/
|
| 98 |
+
#define PANGO_GRAVITY_IS_VERTICAL(gravity) \
|
| 99 |
+
((gravity) == PANGO_GRAVITY_EAST || (gravity) == PANGO_GRAVITY_WEST)
|
| 100 |
+
|
| 101 |
+
/**
|
| 102 |
+
* PANGO_GRAVITY_IS_IMPROPER:
|
| 103 |
+
* @gravity: the `PangoGravity` to check
|
| 104 |
+
*
|
| 105 |
+
* Whether a `PangoGravity` represents a gravity that results in reversal
|
| 106 |
+
* of text direction.
|
| 107 |
+
*
|
| 108 |
+
* Returns: %TRUE if @gravity is %PANGO_GRAVITY_WEST or %PANGO_GRAVITY_NORTH,
|
| 109 |
+
* %FALSE otherwise.
|
| 110 |
+
*
|
| 111 |
+
* Since: 1.32
|
| 112 |
+
*/
|
| 113 |
+
#define PANGO_GRAVITY_IS_IMPROPER(gravity) \
|
| 114 |
+
((gravity) == PANGO_GRAVITY_WEST || (gravity) == PANGO_GRAVITY_NORTH)
|
| 115 |
+
|
| 116 |
+
#include <pango/pango-matrix.h>
|
| 117 |
+
#include <pango/pango-script.h>
|
| 118 |
+
|
| 119 |
+
PANGO_AVAILABLE_IN_1_16
|
| 120 |
+
double pango_gravity_to_rotation (PangoGravity gravity) G_GNUC_CONST;
|
| 121 |
+
PANGO_AVAILABLE_IN_1_16
|
| 122 |
+
PangoGravity pango_gravity_get_for_matrix (const PangoMatrix *matrix) G_GNUC_PURE;
|
| 123 |
+
PANGO_AVAILABLE_IN_1_16
|
| 124 |
+
PangoGravity pango_gravity_get_for_script (PangoScript script,
|
| 125 |
+
PangoGravity base_gravity,
|
| 126 |
+
PangoGravityHint hint) G_GNUC_CONST;
|
| 127 |
+
PANGO_AVAILABLE_IN_1_26
|
| 128 |
+
PangoGravity pango_gravity_get_for_script_and_width
|
| 129 |
+
(PangoScript script,
|
| 130 |
+
gboolean wide,
|
| 131 |
+
PangoGravity base_gravity,
|
| 132 |
+
PangoGravityHint hint) G_GNUC_CONST;
|
| 133 |
+
|
| 134 |
+
|
| 135 |
+
G_END_DECLS
|
| 136 |
+
|
| 137 |
+
#endif /* __PANGO_GRAVITY_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-item.h
ADDED
|
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-item.h: Structure for storing run information
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_ITEM_H__
|
| 23 |
+
#define __PANGO_ITEM_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
#include <pango/pango-attributes.h>
|
| 27 |
+
|
| 28 |
+
G_BEGIN_DECLS
|
| 29 |
+
|
| 30 |
+
typedef struct _PangoAnalysis PangoAnalysis;
|
| 31 |
+
typedef struct _PangoItem PangoItem;
|
| 32 |
+
|
| 33 |
+
/**
|
| 34 |
+
* PANGO_ANALYSIS_FLAG_CENTERED_BASELINE:
|
| 35 |
+
*
|
| 36 |
+
* Whether the segment should be shifted to center around the baseline.
|
| 37 |
+
*
|
| 38 |
+
* This is mainly used in vertical writing directions.
|
| 39 |
+
*
|
| 40 |
+
* Since: 1.16
|
| 41 |
+
*/
|
| 42 |
+
#define PANGO_ANALYSIS_FLAG_CENTERED_BASELINE (1 << 0)
|
| 43 |
+
|
| 44 |
+
/**
|
| 45 |
+
* PANGO_ANALYSIS_FLAG_IS_ELLIPSIS:
|
| 46 |
+
*
|
| 47 |
+
* Whether this run holds ellipsized text.
|
| 48 |
+
*
|
| 49 |
+
* Since: 1.36.7
|
| 50 |
+
*/
|
| 51 |
+
#define PANGO_ANALYSIS_FLAG_IS_ELLIPSIS (1 << 1)
|
| 52 |
+
|
| 53 |
+
/**
|
| 54 |
+
* PANGO_ANALYSIS_FLAG_NEED_HYPHEN:
|
| 55 |
+
*
|
| 56 |
+
* Whether to add a hyphen at the end of the run during shaping.
|
| 57 |
+
*
|
| 58 |
+
* Since: 1.44
|
| 59 |
+
*/
|
| 60 |
+
#define PANGO_ANALYSIS_FLAG_NEED_HYPHEN (1 << 2)
|
| 61 |
+
|
| 62 |
+
/**
|
| 63 |
+
* PangoAnalysis:
|
| 64 |
+
* @shape_engine: unused, reserved
|
| 65 |
+
* @lang_engine: unused, reserved
|
| 66 |
+
* @font: the font for this segment.
|
| 67 |
+
* @level: the bidirectional level for this segment.
|
| 68 |
+
* @gravity: the glyph orientation for this segment (A `PangoGravity`).
|
| 69 |
+
* @flags: boolean flags for this segment (Since: 1.16).
|
| 70 |
+
* @script: the detected script for this segment (A `PangoScript`) (Since: 1.18).
|
| 71 |
+
* @language: the detected language for this segment.
|
| 72 |
+
* @extra_attrs: extra attributes for this segment.
|
| 73 |
+
*
|
| 74 |
+
* The `PangoAnalysis` structure stores information about
|
| 75 |
+
* the properties of a segment of text.
|
| 76 |
+
*/
|
| 77 |
+
struct _PangoAnalysis
|
| 78 |
+
{
|
| 79 |
+
#ifndef __GI_SCANNER__
|
| 80 |
+
PangoEngineShape *shape_engine;
|
| 81 |
+
PangoEngineLang *lang_engine;
|
| 82 |
+
#else
|
| 83 |
+
gpointer shape_engine;
|
| 84 |
+
gpointer lang_engine;
|
| 85 |
+
#endif
|
| 86 |
+
PangoFont *font;
|
| 87 |
+
|
| 88 |
+
guint8 level;
|
| 89 |
+
guint8 gravity;
|
| 90 |
+
guint8 flags;
|
| 91 |
+
|
| 92 |
+
guint8 script;
|
| 93 |
+
PangoLanguage *language;
|
| 94 |
+
|
| 95 |
+
GSList *extra_attrs;
|
| 96 |
+
};
|
| 97 |
+
|
| 98 |
+
/**
|
| 99 |
+
* PangoItem:
|
| 100 |
+
* @offset: byte offset of the start of this item in text.
|
| 101 |
+
* @length: length of this item in bytes.
|
| 102 |
+
* @num_chars: number of Unicode characters in the item.
|
| 103 |
+
* @analysis: analysis results for the item.
|
| 104 |
+
*
|
| 105 |
+
* The `PangoItem` structure stores information about a segment of text.
|
| 106 |
+
*
|
| 107 |
+
* You typically obtain `PangoItems` by itemizing a piece of text
|
| 108 |
+
* with [func@itemize].
|
| 109 |
+
*/
|
| 110 |
+
struct _PangoItem
|
| 111 |
+
{
|
| 112 |
+
int offset;
|
| 113 |
+
int length;
|
| 114 |
+
int num_chars;
|
| 115 |
+
PangoAnalysis analysis;
|
| 116 |
+
};
|
| 117 |
+
|
| 118 |
+
#define PANGO_TYPE_ITEM (pango_item_get_type ())
|
| 119 |
+
|
| 120 |
+
PANGO_AVAILABLE_IN_ALL
|
| 121 |
+
GType pango_item_get_type (void) G_GNUC_CONST;
|
| 122 |
+
|
| 123 |
+
PANGO_AVAILABLE_IN_ALL
|
| 124 |
+
PangoItem * pango_item_new (void);
|
| 125 |
+
PANGO_AVAILABLE_IN_ALL
|
| 126 |
+
PangoItem * pango_item_copy (PangoItem *item);
|
| 127 |
+
PANGO_AVAILABLE_IN_ALL
|
| 128 |
+
void pango_item_free (PangoItem *item);
|
| 129 |
+
|
| 130 |
+
|
| 131 |
+
PANGO_AVAILABLE_IN_1_54
|
| 132 |
+
int pango_item_get_char_offset (PangoItem *item);
|
| 133 |
+
|
| 134 |
+
PANGO_AVAILABLE_IN_ALL
|
| 135 |
+
PangoItem * pango_item_split (PangoItem *orig,
|
| 136 |
+
int split_index,
|
| 137 |
+
int split_offset);
|
| 138 |
+
|
| 139 |
+
PANGO_AVAILABLE_IN_1_44
|
| 140 |
+
void pango_item_apply_attrs (PangoItem *item,
|
| 141 |
+
PangoAttrIterator *iter);
|
| 142 |
+
|
| 143 |
+
PANGO_AVAILABLE_IN_ALL
|
| 144 |
+
GList * pango_reorder_items (GList *items);
|
| 145 |
+
|
| 146 |
+
/* Itemization */
|
| 147 |
+
|
| 148 |
+
PANGO_AVAILABLE_IN_ALL
|
| 149 |
+
GList * pango_itemize (PangoContext *context,
|
| 150 |
+
const char *text,
|
| 151 |
+
int start_index,
|
| 152 |
+
int length,
|
| 153 |
+
PangoAttrList *attrs,
|
| 154 |
+
PangoAttrIterator *cached_iter);
|
| 155 |
+
|
| 156 |
+
PANGO_AVAILABLE_IN_1_4
|
| 157 |
+
GList * pango_itemize_with_base_dir (PangoContext *context,
|
| 158 |
+
PangoDirection base_dir,
|
| 159 |
+
const char *text,
|
| 160 |
+
int start_index,
|
| 161 |
+
int length,
|
| 162 |
+
PangoAttrList *attrs,
|
| 163 |
+
PangoAttrIterator *cached_iter);
|
| 164 |
+
|
| 165 |
+
G_END_DECLS
|
| 166 |
+
|
| 167 |
+
#endif /* __PANGO_ITEM_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-language.h
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-language.h: Language handling routines
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 1999 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_LANGUAGE_H__
|
| 23 |
+
#define __PANGO_LANGUAGE_H__
|
| 24 |
+
|
| 25 |
+
#include <glib.h>
|
| 26 |
+
#include <glib-object.h>
|
| 27 |
+
|
| 28 |
+
#include <pango/pango-types.h>
|
| 29 |
+
#include <pango/pango-version-macros.h>
|
| 30 |
+
#include <pango/pango-script.h>
|
| 31 |
+
|
| 32 |
+
G_BEGIN_DECLS
|
| 33 |
+
|
| 34 |
+
#define PANGO_TYPE_LANGUAGE (pango_language_get_type ())
|
| 35 |
+
|
| 36 |
+
PANGO_AVAILABLE_IN_ALL
|
| 37 |
+
GType pango_language_get_type (void) G_GNUC_CONST;
|
| 38 |
+
|
| 39 |
+
PANGO_AVAILABLE_IN_1_16
|
| 40 |
+
PangoLanguage * pango_language_get_default (void) G_GNUC_CONST;
|
| 41 |
+
|
| 42 |
+
PANGO_AVAILABLE_IN_1_48
|
| 43 |
+
PangoLanguage ** pango_language_get_preferred (void) G_GNUC_CONST;
|
| 44 |
+
|
| 45 |
+
PANGO_AVAILABLE_IN_ALL
|
| 46 |
+
PangoLanguage * pango_language_from_string (const char *language);
|
| 47 |
+
|
| 48 |
+
PANGO_AVAILABLE_IN_ALL
|
| 49 |
+
const char * pango_language_to_string (PangoLanguage *language) G_GNUC_CONST;
|
| 50 |
+
|
| 51 |
+
/* For back compat. Will have to keep indefinitely. */
|
| 52 |
+
#define pango_language_to_string(language) ((const char *)language)
|
| 53 |
+
|
| 54 |
+
PANGO_AVAILABLE_IN_ALL
|
| 55 |
+
const char * pango_language_get_sample_string (PangoLanguage *language) G_GNUC_CONST;
|
| 56 |
+
|
| 57 |
+
PANGO_AVAILABLE_IN_ALL
|
| 58 |
+
gboolean pango_language_matches (PangoLanguage *language,
|
| 59 |
+
const char *range_list) G_GNUC_PURE;
|
| 60 |
+
|
| 61 |
+
PANGO_AVAILABLE_IN_1_4
|
| 62 |
+
gboolean pango_language_includes_script (PangoLanguage *language,
|
| 63 |
+
PangoScript script) G_GNUC_PURE;
|
| 64 |
+
PANGO_AVAILABLE_IN_1_22
|
| 65 |
+
const PangoScript * pango_language_get_scripts (PangoLanguage *language,
|
| 66 |
+
int *num_scripts);
|
| 67 |
+
|
| 68 |
+
G_END_DECLS
|
| 69 |
+
|
| 70 |
+
#endif /* __PANGO_LANGUAGE_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-layout.h
ADDED
|
@@ -0,0 +1,563 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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ver
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_LAYOUT_H__
|
| 23 |
+
#define __PANGO_LAYOUT_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-attributes.h>
|
| 26 |
+
#include <pango/pango-context.h>
|
| 27 |
+
#include <pango/pango-glyph-item.h>
|
| 28 |
+
#include <pango/pango-tabs.h>
|
| 29 |
+
|
| 30 |
+
G_BEGIN_DECLS
|
| 31 |
+
|
| 32 |
+
typedef struct _PangoLayout PangoLayout;
|
| 33 |
+
typedef struct _PangoLayoutClass PangoLayoutClass;
|
| 34 |
+
typedef struct _PangoLayoutLine PangoLayoutLine;
|
| 35 |
+
|
| 36 |
+
/**
|
| 37 |
+
* PangoLayoutRun:
|
| 38 |
+
*
|
| 39 |
+
* A `PangoLayoutRun` represents a single run within a `PangoLayoutLine`.
|
| 40 |
+
*
|
| 41 |
+
* It is simply an alternate name for [struct@Pango.GlyphItem].
|
| 42 |
+
* See the [struct@Pango.GlyphItem] docs for details on the fields.
|
| 43 |
+
*/
|
| 44 |
+
typedef PangoGlyphItem PangoLayoutRun;
|
| 45 |
+
|
| 46 |
+
/**
|
| 47 |
+
* PangoAlignment:
|
| 48 |
+
* @PANGO_ALIGN_LEFT: Put all available space on the right
|
| 49 |
+
* @PANGO_ALIGN_CENTER: Center the line within the available space
|
| 50 |
+
* @PANGO_ALIGN_RIGHT: Put all available space on the left
|
| 51 |
+
*
|
| 52 |
+
* `PangoAlignment` describes how to align the lines of a `PangoLayout`
|
| 53 |
+
* within the available space.
|
| 54 |
+
*
|
| 55 |
+
* If the `PangoLayout` is set to justify using [method@Pango.Layout.set_justify],
|
| 56 |
+
* this only affects partial lines.
|
| 57 |
+
*
|
| 58 |
+
* See [method@Pango.Layout.set_auto_dir] for how text direction affects
|
| 59 |
+
* the interpretation of `PangoAlignment` values.
|
| 60 |
+
*/
|
| 61 |
+
typedef enum {
|
| 62 |
+
PANGO_ALIGN_LEFT,
|
| 63 |
+
PANGO_ALIGN_CENTER,
|
| 64 |
+
PANGO_ALIGN_RIGHT
|
| 65 |
+
} PangoAlignment;
|
| 66 |
+
|
| 67 |
+
/**
|
| 68 |
+
* PangoWrapMode:
|
| 69 |
+
* @PANGO_WRAP_WORD: wrap lines at word boundaries.
|
| 70 |
+
* @PANGO_WRAP_CHAR: wrap lines at character boundaries.
|
| 71 |
+
* @PANGO_WRAP_WORD_CHAR: wrap lines at word boundaries, but fall back to
|
| 72 |
+
* character boundaries if there is not enough space for a full word.
|
| 73 |
+
*
|
| 74 |
+
* `PangoWrapMode` describes how to wrap the lines of a `PangoLayout`
|
| 75 |
+
* to the desired width.
|
| 76 |
+
*
|
| 77 |
+
* For @PANGO_WRAP_WORD, Pango uses break opportunities that are determined
|
| 78 |
+
* by the Unicode line breaking algorithm. For @PANGO_WRAP_CHAR, Pango allows
|
| 79 |
+
* breaking at grapheme boundaries that are determined by the Unicode text
|
| 80 |
+
* segmentation algorithm.
|
| 81 |
+
*/
|
| 82 |
+
|
| 83 |
+
/**
|
| 84 |
+
* PANGO_WRAP_NONE:
|
| 85 |
+
*
|
| 86 |
+
* do not wrap.
|
| 87 |
+
*
|
| 88 |
+
* Since: 1.56
|
| 89 |
+
*/
|
| 90 |
+
typedef enum {
|
| 91 |
+
PANGO_WRAP_WORD,
|
| 92 |
+
PANGO_WRAP_CHAR,
|
| 93 |
+
PANGO_WRAP_WORD_CHAR,
|
| 94 |
+
PANGO_WRAP_NONE PANGO_AVAILABLE_ENUMERATOR_IN_1_56
|
| 95 |
+
} PangoWrapMode;
|
| 96 |
+
|
| 97 |
+
/**
|
| 98 |
+
* PangoEllipsizeMode:
|
| 99 |
+
* @PANGO_ELLIPSIZE_NONE: No ellipsization
|
| 100 |
+
* @PANGO_ELLIPSIZE_START: Omit characters at the start of the text
|
| 101 |
+
* @PANGO_ELLIPSIZE_MIDDLE: Omit characters in the middle of the text
|
| 102 |
+
* @PANGO_ELLIPSIZE_END: Omit characters at the end of the text
|
| 103 |
+
*
|
| 104 |
+
* `PangoEllipsizeMode` describes what sort of ellipsization
|
| 105 |
+
* should be applied to text.
|
| 106 |
+
*
|
| 107 |
+
* In the ellipsization process characters are removed from the
|
| 108 |
+
* text in order to make it fit to a given width and replaced
|
| 109 |
+
* with an ellipsis.
|
| 110 |
+
*/
|
| 111 |
+
typedef enum {
|
| 112 |
+
PANGO_ELLIPSIZE_NONE,
|
| 113 |
+
PANGO_ELLIPSIZE_START,
|
| 114 |
+
PANGO_ELLIPSIZE_MIDDLE,
|
| 115 |
+
PANGO_ELLIPSIZE_END
|
| 116 |
+
} PangoEllipsizeMode;
|
| 117 |
+
|
| 118 |
+
/**
|
| 119 |
+
* PangoLayoutLine:
|
| 120 |
+
* @layout: (nullable): the layout this line belongs to, might be %NULL
|
| 121 |
+
* @start_index: start of line as byte index into layout->text
|
| 122 |
+
* @length: length of line in bytes
|
| 123 |
+
* @runs: (nullable) (element-type Pango.LayoutRun): list of runs in the
|
| 124 |
+
* line, from left to right
|
| 125 |
+
* @is_paragraph_start: #TRUE if this is the first line of the paragraph
|
| 126 |
+
* @resolved_dir: #Resolved PangoDirection of line
|
| 127 |
+
*
|
| 128 |
+
* A `PangoLayoutLine` represents one of the lines resulting from laying
|
| 129 |
+
* out a paragraph via `PangoLayout`.
|
| 130 |
+
*
|
| 131 |
+
* `PangoLayoutLine` structures are obtained by calling
|
| 132 |
+
* [method@Pango.Layout.get_line] and are only valid until the text,
|
| 133 |
+
* attributes, or settings of the parent `PangoLayout` are modified.
|
| 134 |
+
*/
|
| 135 |
+
struct _PangoLayoutLine
|
| 136 |
+
{
|
| 137 |
+
PangoLayout *layout;
|
| 138 |
+
gint start_index; /* start of line as byte index into layout->text */
|
| 139 |
+
gint length; /* length of line in bytes */
|
| 140 |
+
GSList *runs;
|
| 141 |
+
guint is_paragraph_start : 1; /* TRUE if this is the first line of the paragraph */
|
| 142 |
+
guint resolved_dir : 3; /* Resolved PangoDirection of line */
|
| 143 |
+
};
|
| 144 |
+
|
| 145 |
+
#define PANGO_TYPE_LAYOUT (pango_layout_get_type ())
|
| 146 |
+
#define PANGO_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_LAYOUT, PangoLayout))
|
| 147 |
+
#define PANGO_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_LAYOUT, PangoLayoutClass))
|
| 148 |
+
#define PANGO_IS_LAYOUT(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_LAYOUT))
|
| 149 |
+
#define PANGO_IS_LAYOUT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_LAYOUT))
|
| 150 |
+
#define PANGO_LAYOUT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_LAYOUT, PangoLayoutClass))
|
| 151 |
+
|
| 152 |
+
/* The PangoLayout and PangoLayoutClass structs are private; if you
|
| 153 |
+
* need to create a subclass of these, file a bug.
|
| 154 |
+
*/
|
| 155 |
+
|
| 156 |
+
PANGO_AVAILABLE_IN_ALL
|
| 157 |
+
GType pango_layout_get_type (void) G_GNUC_CONST;
|
| 158 |
+
PANGO_AVAILABLE_IN_ALL
|
| 159 |
+
PangoLayout *pango_layout_new (PangoContext *context);
|
| 160 |
+
PANGO_AVAILABLE_IN_ALL
|
| 161 |
+
PangoLayout *pango_layout_copy (PangoLayout *src);
|
| 162 |
+
|
| 163 |
+
PANGO_AVAILABLE_IN_ALL
|
| 164 |
+
PangoContext *pango_layout_get_context (PangoLayout *layout);
|
| 165 |
+
|
| 166 |
+
PANGO_AVAILABLE_IN_ALL
|
| 167 |
+
void pango_layout_set_attributes (PangoLayout *layout,
|
| 168 |
+
PangoAttrList *attrs);
|
| 169 |
+
PANGO_AVAILABLE_IN_ALL
|
| 170 |
+
PangoAttrList *pango_layout_get_attributes (PangoLayout *layout);
|
| 171 |
+
|
| 172 |
+
PANGO_AVAILABLE_IN_ALL
|
| 173 |
+
void pango_layout_set_text (PangoLayout *layout,
|
| 174 |
+
const char *text,
|
| 175 |
+
int length);
|
| 176 |
+
PANGO_AVAILABLE_IN_ALL
|
| 177 |
+
const char *pango_layout_get_text (PangoLayout *layout);
|
| 178 |
+
|
| 179 |
+
PANGO_AVAILABLE_IN_1_30
|
| 180 |
+
gint pango_layout_get_character_count (PangoLayout *layout);
|
| 181 |
+
|
| 182 |
+
PANGO_AVAILABLE_IN_ALL
|
| 183 |
+
void pango_layout_set_markup (PangoLayout *layout,
|
| 184 |
+
const char *markup,
|
| 185 |
+
int length);
|
| 186 |
+
|
| 187 |
+
PANGO_AVAILABLE_IN_ALL
|
| 188 |
+
void pango_layout_set_markup_with_accel (PangoLayout *layout,
|
| 189 |
+
const char *markup,
|
| 190 |
+
int length,
|
| 191 |
+
gunichar accel_marker,
|
| 192 |
+
gunichar *accel_char);
|
| 193 |
+
|
| 194 |
+
PANGO_AVAILABLE_IN_ALL
|
| 195 |
+
void pango_layout_set_font_description (PangoLayout *layout,
|
| 196 |
+
const PangoFontDescription *desc);
|
| 197 |
+
|
| 198 |
+
PANGO_AVAILABLE_IN_1_8
|
| 199 |
+
const PangoFontDescription *pango_layout_get_font_description (PangoLayout *layout);
|
| 200 |
+
|
| 201 |
+
PANGO_AVAILABLE_IN_ALL
|
| 202 |
+
void pango_layout_set_width (PangoLayout *layout,
|
| 203 |
+
int width);
|
| 204 |
+
PANGO_AVAILABLE_IN_ALL
|
| 205 |
+
int pango_layout_get_width (PangoLayout *layout);
|
| 206 |
+
PANGO_AVAILABLE_IN_1_20
|
| 207 |
+
void pango_layout_set_height (PangoLayout *layout,
|
| 208 |
+
int height);
|
| 209 |
+
PANGO_AVAILABLE_IN_1_20
|
| 210 |
+
int pango_layout_get_height (PangoLayout *layout);
|
| 211 |
+
PANGO_AVAILABLE_IN_ALL
|
| 212 |
+
void pango_layout_set_wrap (PangoLayout *layout,
|
| 213 |
+
PangoWrapMode wrap);
|
| 214 |
+
PANGO_AVAILABLE_IN_ALL
|
| 215 |
+
PangoWrapMode pango_layout_get_wrap (PangoLayout *layout);
|
| 216 |
+
PANGO_AVAILABLE_IN_1_16
|
| 217 |
+
gboolean pango_layout_is_wrapped (PangoLayout *layout);
|
| 218 |
+
PANGO_AVAILABLE_IN_ALL
|
| 219 |
+
void pango_layout_set_indent (PangoLayout *layout,
|
| 220 |
+
int indent);
|
| 221 |
+
PANGO_AVAILABLE_IN_ALL
|
| 222 |
+
int pango_layout_get_indent (PangoLayout *layout);
|
| 223 |
+
PANGO_AVAILABLE_IN_ALL
|
| 224 |
+
void pango_layout_set_spacing (PangoLayout *layout,
|
| 225 |
+
int spacing);
|
| 226 |
+
PANGO_AVAILABLE_IN_ALL
|
| 227 |
+
int pango_layout_get_spacing (PangoLayout *layout);
|
| 228 |
+
PANGO_AVAILABLE_IN_1_44
|
| 229 |
+
void pango_layout_set_line_spacing (PangoLayout *layout,
|
| 230 |
+
float factor);
|
| 231 |
+
PANGO_AVAILABLE_IN_1_44
|
| 232 |
+
float pango_layout_get_line_spacing (PangoLayout *layout);
|
| 233 |
+
PANGO_AVAILABLE_IN_ALL
|
| 234 |
+
void pango_layout_set_justify (PangoLayout *layout,
|
| 235 |
+
gboolean justify);
|
| 236 |
+
PANGO_AVAILABLE_IN_ALL
|
| 237 |
+
gboolean pango_layout_get_justify (PangoLayout *layout);
|
| 238 |
+
PANGO_AVAILABLE_IN_1_50
|
| 239 |
+
void pango_layout_set_justify_last_line (PangoLayout *layout,
|
| 240 |
+
gboolean justify);
|
| 241 |
+
PANGO_AVAILABLE_IN_1_50
|
| 242 |
+
gboolean pango_layout_get_justify_last_line (PangoLayout *layout);
|
| 243 |
+
PANGO_AVAILABLE_IN_1_4
|
| 244 |
+
void pango_layout_set_auto_dir (PangoLayout *layout,
|
| 245 |
+
gboolean auto_dir);
|
| 246 |
+
PANGO_AVAILABLE_IN_1_4
|
| 247 |
+
gboolean pango_layout_get_auto_dir (PangoLayout *layout);
|
| 248 |
+
PANGO_AVAILABLE_IN_ALL
|
| 249 |
+
void pango_layout_set_alignment (PangoLayout *layout,
|
| 250 |
+
PangoAlignment alignment);
|
| 251 |
+
PANGO_AVAILABLE_IN_ALL
|
| 252 |
+
PangoAlignment pango_layout_get_alignment (PangoLayout *layout);
|
| 253 |
+
|
| 254 |
+
PANGO_AVAILABLE_IN_ALL
|
| 255 |
+
void pango_layout_set_tabs (PangoLayout *layout,
|
| 256 |
+
PangoTabArray *tabs);
|
| 257 |
+
PANGO_AVAILABLE_IN_ALL
|
| 258 |
+
PangoTabArray* pango_layout_get_tabs (PangoLayout *layout);
|
| 259 |
+
|
| 260 |
+
PANGO_AVAILABLE_IN_ALL
|
| 261 |
+
void pango_layout_set_single_paragraph_mode (PangoLayout *layout,
|
| 262 |
+
gboolean setting);
|
| 263 |
+
PANGO_AVAILABLE_IN_ALL
|
| 264 |
+
gboolean pango_layout_get_single_paragraph_mode (PangoLayout *layout);
|
| 265 |
+
|
| 266 |
+
PANGO_AVAILABLE_IN_1_6
|
| 267 |
+
void pango_layout_set_ellipsize (PangoLayout *layout,
|
| 268 |
+
PangoEllipsizeMode ellipsize);
|
| 269 |
+
PANGO_AVAILABLE_IN_1_6
|
| 270 |
+
PangoEllipsizeMode pango_layout_get_ellipsize (PangoLayout *layout);
|
| 271 |
+
PANGO_AVAILABLE_IN_1_16
|
| 272 |
+
gboolean pango_layout_is_ellipsized (PangoLayout *layout);
|
| 273 |
+
|
| 274 |
+
PANGO_AVAILABLE_IN_1_16
|
| 275 |
+
int pango_layout_get_unknown_glyphs_count (PangoLayout *layout);
|
| 276 |
+
|
| 277 |
+
PANGO_AVAILABLE_IN_1_46
|
| 278 |
+
PangoDirection pango_layout_get_direction (PangoLayout *layout,
|
| 279 |
+
int index);
|
| 280 |
+
|
| 281 |
+
PANGO_AVAILABLE_IN_ALL
|
| 282 |
+
void pango_layout_context_changed (PangoLayout *layout);
|
| 283 |
+
PANGO_AVAILABLE_IN_1_32
|
| 284 |
+
guint pango_layout_get_serial (PangoLayout *layout);
|
| 285 |
+
|
| 286 |
+
PANGO_AVAILABLE_IN_ALL
|
| 287 |
+
void pango_layout_get_log_attrs (PangoLayout *layout,
|
| 288 |
+
PangoLogAttr **attrs,
|
| 289 |
+
gint *n_attrs);
|
| 290 |
+
|
| 291 |
+
PANGO_AVAILABLE_IN_1_30
|
| 292 |
+
const PangoLogAttr *pango_layout_get_log_attrs_readonly (PangoLayout *layout,
|
| 293 |
+
gint *n_attrs);
|
| 294 |
+
|
| 295 |
+
PANGO_AVAILABLE_IN_ALL
|
| 296 |
+
void pango_layout_index_to_pos (PangoLayout *layout,
|
| 297 |
+
int index_,
|
| 298 |
+
PangoRectangle *pos);
|
| 299 |
+
PANGO_AVAILABLE_IN_ALL
|
| 300 |
+
void pango_layout_index_to_line_x (PangoLayout *layout,
|
| 301 |
+
int index_,
|
| 302 |
+
gboolean trailing,
|
| 303 |
+
int *line,
|
| 304 |
+
int *x_pos);
|
| 305 |
+
PANGO_AVAILABLE_IN_ALL
|
| 306 |
+
void pango_layout_get_cursor_pos (PangoLayout *layout,
|
| 307 |
+
int index_,
|
| 308 |
+
PangoRectangle *strong_pos,
|
| 309 |
+
PangoRectangle *weak_pos);
|
| 310 |
+
|
| 311 |
+
PANGO_AVAILABLE_IN_1_50
|
| 312 |
+
void pango_layout_get_caret_pos (PangoLayout *layout,
|
| 313 |
+
int index_,
|
| 314 |
+
PangoRectangle *strong_pos,
|
| 315 |
+
PangoRectangle *weak_pos);
|
| 316 |
+
|
| 317 |
+
PANGO_AVAILABLE_IN_ALL
|
| 318 |
+
void pango_layout_move_cursor_visually (PangoLayout *layout,
|
| 319 |
+
gboolean strong,
|
| 320 |
+
int old_index,
|
| 321 |
+
int old_trailing,
|
| 322 |
+
int direction,
|
| 323 |
+
int *new_index,
|
| 324 |
+
int *new_trailing);
|
| 325 |
+
PANGO_AVAILABLE_IN_ALL
|
| 326 |
+
gboolean pango_layout_xy_to_index (PangoLayout *layout,
|
| 327 |
+
int x,
|
| 328 |
+
int y,
|
| 329 |
+
int *index_,
|
| 330 |
+
int *trailing);
|
| 331 |
+
PANGO_AVAILABLE_IN_ALL
|
| 332 |
+
void pango_layout_get_extents (PangoLayout *layout,
|
| 333 |
+
PangoRectangle *ink_rect,
|
| 334 |
+
PangoRectangle *logical_rect);
|
| 335 |
+
PANGO_AVAILABLE_IN_ALL
|
| 336 |
+
void pango_layout_get_pixel_extents (PangoLayout *layout,
|
| 337 |
+
PangoRectangle *ink_rect,
|
| 338 |
+
PangoRectangle *logical_rect);
|
| 339 |
+
PANGO_AVAILABLE_IN_ALL
|
| 340 |
+
void pango_layout_get_size (PangoLayout *layout,
|
| 341 |
+
int *width,
|
| 342 |
+
int *height);
|
| 343 |
+
PANGO_AVAILABLE_IN_ALL
|
| 344 |
+
void pango_layout_get_pixel_size (PangoLayout *layout,
|
| 345 |
+
int *width,
|
| 346 |
+
int *height);
|
| 347 |
+
PANGO_AVAILABLE_IN_1_22
|
| 348 |
+
int pango_layout_get_baseline (PangoLayout *layout);
|
| 349 |
+
|
| 350 |
+
PANGO_AVAILABLE_IN_ALL
|
| 351 |
+
int pango_layout_get_line_count (PangoLayout *layout);
|
| 352 |
+
PANGO_AVAILABLE_IN_ALL
|
| 353 |
+
PangoLayoutLine *pango_layout_get_line (PangoLayout *layout,
|
| 354 |
+
int line);
|
| 355 |
+
PANGO_AVAILABLE_IN_1_16
|
| 356 |
+
PangoLayoutLine *pango_layout_get_line_readonly (PangoLayout *layout,
|
| 357 |
+
int line);
|
| 358 |
+
PANGO_AVAILABLE_IN_ALL
|
| 359 |
+
GSList * pango_layout_get_lines (PangoLayout *layout);
|
| 360 |
+
PANGO_AVAILABLE_IN_1_16
|
| 361 |
+
GSList * pango_layout_get_lines_readonly (PangoLayout *layout);
|
| 362 |
+
|
| 363 |
+
/**
|
| 364 |
+
* PangoLayoutSerializeFlags:
|
| 365 |
+
* @PANGO_LAYOUT_SERIALIZE_DEFAULT: Default behavior
|
| 366 |
+
* @PANGO_LAYOUT_SERIALIZE_CONTEXT: Include context information
|
| 367 |
+
* @PANGO_LAYOUT_SERIALIZE_OUTPUT: Include information about the formatted output
|
| 368 |
+
*
|
| 369 |
+
* Flags that influence the behavior of [method@Pango.Layout.serialize].
|
| 370 |
+
*
|
| 371 |
+
* New members may be added to this enumeration over time.
|
| 372 |
+
*
|
| 373 |
+
* Since: 1.50
|
| 374 |
+
*/
|
| 375 |
+
typedef enum {
|
| 376 |
+
PANGO_LAYOUT_SERIALIZE_DEFAULT = 0,
|
| 377 |
+
PANGO_LAYOUT_SERIALIZE_CONTEXT = 1 << 0,
|
| 378 |
+
PANGO_LAYOUT_SERIALIZE_OUTPUT = 1 << 1,
|
| 379 |
+
} PangoLayoutSerializeFlags;
|
| 380 |
+
|
| 381 |
+
PANGO_AVAILABLE_IN_1_50
|
| 382 |
+
GBytes * pango_layout_serialize (PangoLayout *layout,
|
| 383 |
+
PangoLayoutSerializeFlags flags);
|
| 384 |
+
|
| 385 |
+
PANGO_AVAILABLE_IN_1_50
|
| 386 |
+
gboolean pango_layout_write_to_file (PangoLayout *layout,
|
| 387 |
+
PangoLayoutSerializeFlags flags,
|
| 388 |
+
|
| 389 |
+
const char *filename,
|
| 390 |
+
GError **error);
|
| 391 |
+
|
| 392 |
+
#define PANGO_LAYOUT_DESERIALIZE_ERROR (pango_layout_deserialize_error_quark ())
|
| 393 |
+
|
| 394 |
+
/**
|
| 395 |
+
* PangoLayoutDeserializeError:
|
| 396 |
+
* @PANGO_LAYOUT_DESERIALIZE_INVALID: Unspecified error
|
| 397 |
+
* @PANGO_LAYOUT_DESERIALIZE_INVALID_VALUE: A JSon value could not be
|
| 398 |
+
* interpreted
|
| 399 |
+
* @PANGO_LAYOUT_DESERIALIZE_MISSING_VALUE: A required JSon member was
|
| 400 |
+
* not found
|
| 401 |
+
*
|
| 402 |
+
* Errors that can be returned by [func@Pango.Layout.deserialize].
|
| 403 |
+
*
|
| 404 |
+
* Since: 1.50
|
| 405 |
+
*/
|
| 406 |
+
typedef enum {
|
| 407 |
+
PANGO_LAYOUT_DESERIALIZE_INVALID,
|
| 408 |
+
PANGO_LAYOUT_DESERIALIZE_INVALID_VALUE,
|
| 409 |
+
PANGO_LAYOUT_DESERIALIZE_MISSING_VALUE,
|
| 410 |
+
} PangoLayoutDeserializeError;
|
| 411 |
+
|
| 412 |
+
PANGO_AVAILABLE_IN_1_50
|
| 413 |
+
GQuark pango_layout_deserialize_error_quark (void);
|
| 414 |
+
|
| 415 |
+
/**
|
| 416 |
+
* PangoLayoutDeserializeFlags:
|
| 417 |
+
* @PANGO_LAYOUT_DESERIALIZE_DEFAULT: Default behavior
|
| 418 |
+
* @PANGO_LAYOUT_DESERIALIZE_CONTEXT: Apply context information
|
| 419 |
+
* from the serialization to the `PangoContext`
|
| 420 |
+
*
|
| 421 |
+
* Flags that influence the behavior of [func@Pango.Layout.deserialize].
|
| 422 |
+
*
|
| 423 |
+
* New members may be added to this enumeration over time.
|
| 424 |
+
*
|
| 425 |
+
* Since: 1.50
|
| 426 |
+
*/
|
| 427 |
+
typedef enum {
|
| 428 |
+
PANGO_LAYOUT_DESERIALIZE_DEFAULT = 0,
|
| 429 |
+
PANGO_LAYOUT_DESERIALIZE_CONTEXT = 1 << 0,
|
| 430 |
+
} PangoLayoutDeserializeFlags;
|
| 431 |
+
|
| 432 |
+
PANGO_AVAILABLE_IN_1_50
|
| 433 |
+
PangoLayout * pango_layout_deserialize (PangoContext *context,
|
| 434 |
+
GBytes *bytes,
|
| 435 |
+
PangoLayoutDeserializeFlags flags,
|
| 436 |
+
GError **error);
|
| 437 |
+
|
| 438 |
+
|
| 439 |
+
#define PANGO_TYPE_LAYOUT_LINE (pango_layout_line_get_type ())
|
| 440 |
+
|
| 441 |
+
PANGO_AVAILABLE_IN_ALL
|
| 442 |
+
GType pango_layout_line_get_type (void) G_GNUC_CONST;
|
| 443 |
+
|
| 444 |
+
PANGO_AVAILABLE_IN_1_10
|
| 445 |
+
PangoLayoutLine *pango_layout_line_ref (PangoLayoutLine *line);
|
| 446 |
+
PANGO_AVAILABLE_IN_ALL
|
| 447 |
+
void pango_layout_line_unref (PangoLayoutLine *line);
|
| 448 |
+
|
| 449 |
+
PANGO_AVAILABLE_IN_1_50
|
| 450 |
+
int pango_layout_line_get_start_index (PangoLayoutLine *line);
|
| 451 |
+
PANGO_AVAILABLE_IN_1_50
|
| 452 |
+
int pango_layout_line_get_length (PangoLayoutLine *line);
|
| 453 |
+
PANGO_AVAILABLE_IN_1_50
|
| 454 |
+
gboolean pango_layout_line_is_paragraph_start (PangoLayoutLine *line);
|
| 455 |
+
PANGO_AVAILABLE_IN_1_50
|
| 456 |
+
PangoDirection pango_layout_line_get_resolved_direction (PangoLayoutLine *line);
|
| 457 |
+
|
| 458 |
+
PANGO_AVAILABLE_IN_ALL
|
| 459 |
+
gboolean pango_layout_line_x_to_index (PangoLayoutLine *line,
|
| 460 |
+
int x_pos,
|
| 461 |
+
int *index_,
|
| 462 |
+
int *trailing);
|
| 463 |
+
PANGO_AVAILABLE_IN_ALL
|
| 464 |
+
void pango_layout_line_index_to_x (PangoLayoutLine *line,
|
| 465 |
+
int index_,
|
| 466 |
+
gboolean trailing,
|
| 467 |
+
int *x_pos);
|
| 468 |
+
PANGO_AVAILABLE_IN_ALL
|
| 469 |
+
void pango_layout_line_get_x_ranges (PangoLayoutLine *line,
|
| 470 |
+
int start_index,
|
| 471 |
+
int end_index,
|
| 472 |
+
int **ranges,
|
| 473 |
+
int *n_ranges);
|
| 474 |
+
PANGO_AVAILABLE_IN_ALL
|
| 475 |
+
void pango_layout_line_get_extents (PangoLayoutLine *line,
|
| 476 |
+
PangoRectangle *ink_rect,
|
| 477 |
+
PangoRectangle *logical_rect);
|
| 478 |
+
PANGO_AVAILABLE_IN_1_44
|
| 479 |
+
void pango_layout_line_get_height (PangoLayoutLine *line,
|
| 480 |
+
int *height);
|
| 481 |
+
|
| 482 |
+
PANGO_AVAILABLE_IN_ALL
|
| 483 |
+
void pango_layout_line_get_pixel_extents (PangoLayoutLine *layout_line,
|
| 484 |
+
PangoRectangle *ink_rect,
|
| 485 |
+
PangoRectangle *logical_rect);
|
| 486 |
+
|
| 487 |
+
typedef struct _PangoLayoutIter PangoLayoutIter;
|
| 488 |
+
|
| 489 |
+
#define PANGO_TYPE_LAYOUT_ITER (pango_layout_iter_get_type ())
|
| 490 |
+
|
| 491 |
+
PANGO_AVAILABLE_IN_ALL
|
| 492 |
+
GType pango_layout_iter_get_type (void) G_GNUC_CONST;
|
| 493 |
+
|
| 494 |
+
PANGO_AVAILABLE_IN_ALL
|
| 495 |
+
PangoLayoutIter *pango_layout_get_iter (PangoLayout *layout);
|
| 496 |
+
PANGO_AVAILABLE_IN_1_20
|
| 497 |
+
PangoLayoutIter *pango_layout_iter_copy (PangoLayoutIter *iter);
|
| 498 |
+
PANGO_AVAILABLE_IN_ALL
|
| 499 |
+
void pango_layout_iter_free (PangoLayoutIter *iter);
|
| 500 |
+
|
| 501 |
+
PANGO_AVAILABLE_IN_ALL
|
| 502 |
+
int pango_layout_iter_get_index (PangoLayoutIter *iter);
|
| 503 |
+
PANGO_AVAILABLE_IN_ALL
|
| 504 |
+
PangoLayoutRun *pango_layout_iter_get_run (PangoLayoutIter *iter);
|
| 505 |
+
PANGO_AVAILABLE_IN_1_16
|
| 506 |
+
PangoLayoutRun *pango_layout_iter_get_run_readonly (PangoLayoutIter *iter);
|
| 507 |
+
PANGO_AVAILABLE_IN_ALL
|
| 508 |
+
PangoLayoutLine *pango_layout_iter_get_line (PangoLayoutIter *iter);
|
| 509 |
+
PANGO_AVAILABLE_IN_1_16
|
| 510 |
+
PangoLayoutLine *pango_layout_iter_get_line_readonly (PangoLayoutIter *iter);
|
| 511 |
+
PANGO_AVAILABLE_IN_ALL
|
| 512 |
+
gboolean pango_layout_iter_at_last_line (PangoLayoutIter *iter);
|
| 513 |
+
PANGO_AVAILABLE_IN_1_20
|
| 514 |
+
PangoLayout *pango_layout_iter_get_layout (PangoLayoutIter *iter);
|
| 515 |
+
|
| 516 |
+
PANGO_AVAILABLE_IN_ALL
|
| 517 |
+
gboolean pango_layout_iter_next_char (PangoLayoutIter *iter);
|
| 518 |
+
PANGO_AVAILABLE_IN_ALL
|
| 519 |
+
gboolean pango_layout_iter_next_cluster (PangoLayoutIter *iter);
|
| 520 |
+
PANGO_AVAILABLE_IN_ALL
|
| 521 |
+
gboolean pango_layout_iter_next_run (PangoLayoutIter *iter);
|
| 522 |
+
PANGO_AVAILABLE_IN_ALL
|
| 523 |
+
gboolean pango_layout_iter_next_line (PangoLayoutIter *iter);
|
| 524 |
+
|
| 525 |
+
PANGO_AVAILABLE_IN_ALL
|
| 526 |
+
void pango_layout_iter_get_char_extents (PangoLayoutIter *iter,
|
| 527 |
+
PangoRectangle *logical_rect);
|
| 528 |
+
PANGO_AVAILABLE_IN_ALL
|
| 529 |
+
void pango_layout_iter_get_cluster_extents (PangoLayoutIter *iter,
|
| 530 |
+
PangoRectangle *ink_rect,
|
| 531 |
+
PangoRectangle *logical_rect);
|
| 532 |
+
PANGO_AVAILABLE_IN_ALL
|
| 533 |
+
void pango_layout_iter_get_run_extents (PangoLayoutIter *iter,
|
| 534 |
+
PangoRectangle *ink_rect,
|
| 535 |
+
PangoRectangle *logical_rect);
|
| 536 |
+
PANGO_AVAILABLE_IN_ALL
|
| 537 |
+
void pango_layout_iter_get_line_extents (PangoLayoutIter *iter,
|
| 538 |
+
PangoRectangle *ink_rect,
|
| 539 |
+
PangoRectangle *logical_rect);
|
| 540 |
+
/* All the yranges meet, unlike the logical_rect's (i.e. the yranges
|
| 541 |
+
* assign between-line spacing to the nearest line)
|
| 542 |
+
*/
|
| 543 |
+
PANGO_AVAILABLE_IN_ALL
|
| 544 |
+
void pango_layout_iter_get_line_yrange (PangoLayoutIter *iter,
|
| 545 |
+
int *y0_,
|
| 546 |
+
int *y1_);
|
| 547 |
+
PANGO_AVAILABLE_IN_ALL
|
| 548 |
+
void pango_layout_iter_get_layout_extents (PangoLayoutIter *iter,
|
| 549 |
+
PangoRectangle *ink_rect,
|
| 550 |
+
PangoRectangle *logical_rect);
|
| 551 |
+
PANGO_AVAILABLE_IN_ALL
|
| 552 |
+
int pango_layout_iter_get_baseline (PangoLayoutIter *iter);
|
| 553 |
+
PANGO_AVAILABLE_IN_1_50
|
| 554 |
+
int pango_layout_iter_get_run_baseline (PangoLayoutIter *iter);
|
| 555 |
+
|
| 556 |
+
|
| 557 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoLayout, g_object_unref)
|
| 558 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoLayoutIter, pango_layout_iter_free)
|
| 559 |
+
|
| 560 |
+
G_END_DECLS
|
| 561 |
+
|
| 562 |
+
#endif /* __PANGO_LAYOUT_H__ */
|
| 563 |
+
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-markup.h
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-markup.h: Parser for attributed text
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_MARKUP_H__
|
| 23 |
+
#define __PANGO_MARKUP_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-attributes.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
|
| 30 |
+
PANGO_AVAILABLE_IN_1_32
|
| 31 |
+
GMarkupParseContext * pango_markup_parser_new (gunichar accel_marker);
|
| 32 |
+
|
| 33 |
+
PANGO_AVAILABLE_IN_1_32
|
| 34 |
+
gboolean pango_markup_parser_finish (GMarkupParseContext *context,
|
| 35 |
+
PangoAttrList **attr_list,
|
| 36 |
+
char **text,
|
| 37 |
+
gunichar *accel_char,
|
| 38 |
+
GError **error);
|
| 39 |
+
|
| 40 |
+
PANGO_AVAILABLE_IN_ALL
|
| 41 |
+
gboolean pango_parse_markup (const char *markup_text,
|
| 42 |
+
int length,
|
| 43 |
+
gunichar accel_marker,
|
| 44 |
+
PangoAttrList **attr_list,
|
| 45 |
+
char **text,
|
| 46 |
+
gunichar *accel_char,
|
| 47 |
+
GError **error);
|
| 48 |
+
|
| 49 |
+
|
| 50 |
+
G_END_DECLS
|
| 51 |
+
|
| 52 |
+
#endif /* __PANGO_MARKUP_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-matrix.h
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-matrix.h: Matrix manipulation routines
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2002, 2006 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_MATRIX_H__
|
| 23 |
+
#define __PANGO_MATRIX_H__
|
| 24 |
+
|
| 25 |
+
#include <glib.h>
|
| 26 |
+
#include <glib-object.h>
|
| 27 |
+
|
| 28 |
+
G_BEGIN_DECLS
|
| 29 |
+
|
| 30 |
+
typedef struct _PangoMatrix PangoMatrix;
|
| 31 |
+
|
| 32 |
+
/**
|
| 33 |
+
* PangoMatrix:
|
| 34 |
+
* @xx: 1st component of the transformation matrix
|
| 35 |
+
* @xy: 2nd component of the transformation matrix
|
| 36 |
+
* @yx: 3rd component of the transformation matrix
|
| 37 |
+
* @yy: 4th component of the transformation matrix
|
| 38 |
+
* @x0: x translation
|
| 39 |
+
* @y0: y translation
|
| 40 |
+
*
|
| 41 |
+
* A `PangoMatrix` specifies a transformation between user-space
|
| 42 |
+
* and device coordinates.
|
| 43 |
+
*
|
| 44 |
+
* The transformation is given by
|
| 45 |
+
*
|
| 46 |
+
* ```
|
| 47 |
+
* x_device = x_user * matrix->xx + y_user * matrix->xy + matrix->x0;
|
| 48 |
+
* y_device = x_user * matrix->yx + y_user * matrix->yy + matrix->y0;
|
| 49 |
+
* ```
|
| 50 |
+
*
|
| 51 |
+
* Since: 1.6
|
| 52 |
+
*/
|
| 53 |
+
struct _PangoMatrix
|
| 54 |
+
{
|
| 55 |
+
double xx;
|
| 56 |
+
double xy;
|
| 57 |
+
double yx;
|
| 58 |
+
double yy;
|
| 59 |
+
double x0;
|
| 60 |
+
double y0;
|
| 61 |
+
};
|
| 62 |
+
|
| 63 |
+
#define PANGO_TYPE_MATRIX (pango_matrix_get_type ())
|
| 64 |
+
|
| 65 |
+
/**
|
| 66 |
+
* PANGO_MATRIX_INIT:
|
| 67 |
+
*
|
| 68 |
+
* Constant that can be used to initialize a `PangoMatrix` to
|
| 69 |
+
* the identity transform.
|
| 70 |
+
*
|
| 71 |
+
* ```
|
| 72 |
+
* PangoMatrix matrix = PANGO_MATRIX_INIT;
|
| 73 |
+
* pango_matrix_rotate (&matrix, 45.);
|
| 74 |
+
* ```
|
| 75 |
+
*
|
| 76 |
+
* Since: 1.6
|
| 77 |
+
**/
|
| 78 |
+
#define PANGO_MATRIX_INIT { 1., 0., 0., 1., 0., 0. }
|
| 79 |
+
|
| 80 |
+
/* for PangoRectangle */
|
| 81 |
+
#include <pango/pango-types.h>
|
| 82 |
+
|
| 83 |
+
PANGO_AVAILABLE_IN_1_6
|
| 84 |
+
GType pango_matrix_get_type (void) G_GNUC_CONST;
|
| 85 |
+
|
| 86 |
+
PANGO_AVAILABLE_IN_1_6
|
| 87 |
+
PangoMatrix *pango_matrix_copy (const PangoMatrix *matrix);
|
| 88 |
+
PANGO_AVAILABLE_IN_1_6
|
| 89 |
+
void pango_matrix_free (PangoMatrix *matrix);
|
| 90 |
+
|
| 91 |
+
PANGO_AVAILABLE_IN_1_6
|
| 92 |
+
void pango_matrix_translate (PangoMatrix *matrix,
|
| 93 |
+
double tx,
|
| 94 |
+
double ty);
|
| 95 |
+
PANGO_AVAILABLE_IN_1_6
|
| 96 |
+
void pango_matrix_scale (PangoMatrix *matrix,
|
| 97 |
+
double scale_x,
|
| 98 |
+
double scale_y);
|
| 99 |
+
PANGO_AVAILABLE_IN_1_6
|
| 100 |
+
void pango_matrix_rotate (PangoMatrix *matrix,
|
| 101 |
+
double degrees);
|
| 102 |
+
PANGO_AVAILABLE_IN_1_6
|
| 103 |
+
void pango_matrix_concat (PangoMatrix *matrix,
|
| 104 |
+
const PangoMatrix *new_matrix);
|
| 105 |
+
PANGO_AVAILABLE_IN_1_16
|
| 106 |
+
void pango_matrix_transform_point (const PangoMatrix *matrix,
|
| 107 |
+
double *x,
|
| 108 |
+
double *y);
|
| 109 |
+
PANGO_AVAILABLE_IN_1_16
|
| 110 |
+
void pango_matrix_transform_distance (const PangoMatrix *matrix,
|
| 111 |
+
double *dx,
|
| 112 |
+
double *dy);
|
| 113 |
+
PANGO_AVAILABLE_IN_1_16
|
| 114 |
+
void pango_matrix_transform_rectangle (const PangoMatrix *matrix,
|
| 115 |
+
PangoRectangle *rect);
|
| 116 |
+
PANGO_AVAILABLE_IN_1_16
|
| 117 |
+
void pango_matrix_transform_pixel_rectangle (const PangoMatrix *matrix,
|
| 118 |
+
PangoRectangle *rect);
|
| 119 |
+
PANGO_AVAILABLE_IN_1_12
|
| 120 |
+
double pango_matrix_get_font_scale_factor (const PangoMatrix *matrix) G_GNUC_PURE;
|
| 121 |
+
PANGO_AVAILABLE_IN_1_38
|
| 122 |
+
void pango_matrix_get_font_scale_factors (const PangoMatrix *matrix,
|
| 123 |
+
double *xscale, double *yscale);
|
| 124 |
+
PANGO_AVAILABLE_IN_1_50
|
| 125 |
+
double pango_matrix_get_slant_ratio (const PangoMatrix *matrix) G_GNUC_PURE;
|
| 126 |
+
|
| 127 |
+
|
| 128 |
+
G_END_DECLS
|
| 129 |
+
|
| 130 |
+
#endif /* __PANGO_MATRIX_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-modules.h
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-modules.h:
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 1999 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_MODULES_H__
|
| 23 |
+
#define __PANGO_MODULES_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-engine.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
/* All of this is deprecated and entirely useless for bindings.
|
| 30 |
+
* Leave it out of the gir file.
|
| 31 |
+
*/
|
| 32 |
+
#ifndef __GI_SCANNER__
|
| 33 |
+
|
| 34 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 35 |
+
|
| 36 |
+
typedef struct _PangoMap PangoMap;
|
| 37 |
+
typedef struct _PangoMapEntry PangoMapEntry;
|
| 38 |
+
|
| 39 |
+
typedef struct _PangoIncludedModule PangoIncludedModule;
|
| 40 |
+
|
| 41 |
+
/**
|
| 42 |
+
* PangoIncludedModule:
|
| 43 |
+
* @list: a function that lists the engines defined in this module.
|
| 44 |
+
* @init: a function to initialize the module.
|
| 45 |
+
* @exit: a function to finalize the module.
|
| 46 |
+
* @create: a function to create an engine, given the engine name.
|
| 47 |
+
*
|
| 48 |
+
* The `PangoIncludedModule` structure for a statically linked module
|
| 49 |
+
* contains the functions that would otherwise be loaded from a dynamically
|
| 50 |
+
* loaded module.
|
| 51 |
+
*
|
| 52 |
+
* Deprecated: 1.38
|
| 53 |
+
*/
|
| 54 |
+
struct _PangoIncludedModule
|
| 55 |
+
{
|
| 56 |
+
void (*list) (PangoEngineInfo **engines,
|
| 57 |
+
int *n_engines);
|
| 58 |
+
void (*init) (GTypeModule *module);
|
| 59 |
+
void (*exit) (void);
|
| 60 |
+
PangoEngine *(*create) (const char *id);
|
| 61 |
+
};
|
| 62 |
+
|
| 63 |
+
PANGO_DEPRECATED_IN_1_38
|
| 64 |
+
PangoMap * pango_find_map (PangoLanguage *language,
|
| 65 |
+
guint engine_type_id,
|
| 66 |
+
guint render_type_id);
|
| 67 |
+
PANGO_DEPRECATED_IN_1_38
|
| 68 |
+
PangoEngine * pango_map_get_engine (PangoMap *map,
|
| 69 |
+
PangoScript script);
|
| 70 |
+
PANGO_DEPRECATED_IN_1_38
|
| 71 |
+
void pango_map_get_engines (PangoMap *map,
|
| 72 |
+
PangoScript script,
|
| 73 |
+
GSList **exact_engines,
|
| 74 |
+
GSList **fallback_engines);
|
| 75 |
+
PANGO_DEPRECATED_IN_1_38
|
| 76 |
+
void pango_module_register (PangoIncludedModule *module);
|
| 77 |
+
|
| 78 |
+
#endif /* PANGO_DISABLE_DEPRECATED */
|
| 79 |
+
|
| 80 |
+
#endif /* __GI_SCANNER__ */
|
| 81 |
+
|
| 82 |
+
G_END_DECLS
|
| 83 |
+
|
| 84 |
+
#endif /* __PANGO_MODULES_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-ot.h
ADDED
|
@@ -0,0 +1,427 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-ot.h:
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000,2007 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_OT_H__
|
| 23 |
+
#define __PANGO_OT_H__
|
| 24 |
+
|
| 25 |
+
/* Deprecated. Use HarfBuzz directly! */
|
| 26 |
+
|
| 27 |
+
#include <pango/pangofc-font.h>
|
| 28 |
+
#include <pango/pango-glyph.h>
|
| 29 |
+
#include <pango/pango-font.h>
|
| 30 |
+
#include <pango/pango-script.h>
|
| 31 |
+
#include <pango/pango-language.h>
|
| 32 |
+
|
| 33 |
+
#include <ft2build.h>
|
| 34 |
+
#include FT_FREETYPE_H
|
| 35 |
+
|
| 36 |
+
G_BEGIN_DECLS
|
| 37 |
+
|
| 38 |
+
#ifndef PANGO_DISABLE_DEPRECATED
|
| 39 |
+
|
| 40 |
+
/**
|
| 41 |
+
* PangoOTTag:
|
| 42 |
+
*
|
| 43 |
+
* The `PangoOTTag` typedef is used to represent TrueType and OpenType
|
| 44 |
+
* four letter tags inside Pango. Use PANGO_OT_TAG_MAKE()
|
| 45 |
+
* or PANGO_OT_TAG_MAKE_FROM_STRING() macros to create PangoOTTags manually.
|
| 46 |
+
*/
|
| 47 |
+
typedef guint32 PangoOTTag;
|
| 48 |
+
|
| 49 |
+
/**
|
| 50 |
+
* PANGO_OT_TAG_MAKE:
|
| 51 |
+
* @c1: First character.
|
| 52 |
+
* @c2: Second character.
|
| 53 |
+
* @c3: Third character.
|
| 54 |
+
* @c4: Fourth character.
|
| 55 |
+
*
|
| 56 |
+
* Creates a `PangoOTTag` from four characters. This is similar and
|
| 57 |
+
* compatible with the FT_MAKE_TAG() macro from FreeType.
|
| 58 |
+
*/
|
| 59 |
+
/**
|
| 60 |
+
* PANGO_OT_TAG_MAKE_FROM_STRING:
|
| 61 |
+
* @s: The string representation of the tag.
|
| 62 |
+
*
|
| 63 |
+
* Creates a `PangoOTTag` from a string. The string should be at least
|
| 64 |
+
* four characters long (pad with space characters if needed), and need
|
| 65 |
+
* not be nul-terminated. This is a convenience wrapper around
|
| 66 |
+
* PANGO_OT_TAG_MAKE(), but cannot be used in certain situations, for
|
| 67 |
+
* example, as a switch expression, as it dereferences pointers.
|
| 68 |
+
*/
|
| 69 |
+
#define PANGO_OT_TAG_MAKE(c1,c2,c3,c4) ((PangoOTTag) FT_MAKE_TAG (c1, c2, c3, c4))
|
| 70 |
+
#define PANGO_OT_TAG_MAKE_FROM_STRING(s) (PANGO_OT_TAG_MAKE(((const char *) s)[0], \
|
| 71 |
+
((const char *) s)[1], \
|
| 72 |
+
((const char *) s)[2], \
|
| 73 |
+
((const char *) s)[3]))
|
| 74 |
+
|
| 75 |
+
typedef struct _PangoOTInfo PangoOTInfo;
|
| 76 |
+
typedef struct _PangoOTBuffer PangoOTBuffer;
|
| 77 |
+
typedef struct _PangoOTGlyph PangoOTGlyph;
|
| 78 |
+
typedef struct _PangoOTRuleset PangoOTRuleset;
|
| 79 |
+
typedef struct _PangoOTFeatureMap PangoOTFeatureMap;
|
| 80 |
+
typedef struct _PangoOTRulesetDescription PangoOTRulesetDescription;
|
| 81 |
+
|
| 82 |
+
/**
|
| 83 |
+
* PangoOTTableType:
|
| 84 |
+
* @PANGO_OT_TABLE_GSUB: The GSUB table.
|
| 85 |
+
* @PANGO_OT_TABLE_GPOS: The GPOS table.
|
| 86 |
+
*
|
| 87 |
+
* The PangoOTTableType enumeration values are used to
|
| 88 |
+
* identify the various OpenType tables in the
|
| 89 |
+
* pango_ot_info_… functions.
|
| 90 |
+
*/
|
| 91 |
+
typedef enum
|
| 92 |
+
{
|
| 93 |
+
PANGO_OT_TABLE_GSUB,
|
| 94 |
+
PANGO_OT_TABLE_GPOS
|
| 95 |
+
} PangoOTTableType;
|
| 96 |
+
|
| 97 |
+
/**
|
| 98 |
+
* PANGO_OT_ALL_GLYPHS:
|
| 99 |
+
*
|
| 100 |
+
* This is used as the property bit in pango_ot_ruleset_add_feature() when a
|
| 101 |
+
* feature should be applied to all glyphs.
|
| 102 |
+
*
|
| 103 |
+
* Since: 1.16
|
| 104 |
+
*/
|
| 105 |
+
/**
|
| 106 |
+
* PANGO_OT_NO_FEATURE:
|
| 107 |
+
*
|
| 108 |
+
* This is used as a feature index that represent no feature, that is, should be
|
| 109 |
+
* skipped. It may be returned as feature index by pango_ot_info_find_feature()
|
| 110 |
+
* if the feature is not found, and pango_ot_ruleset_add_feature() function
|
| 111 |
+
* automatically skips this value, so no special handling is required by the user.
|
| 112 |
+
*
|
| 113 |
+
* Since: 1.18
|
| 114 |
+
*/
|
| 115 |
+
/**
|
| 116 |
+
* PANGO_OT_NO_SCRIPT:
|
| 117 |
+
*
|
| 118 |
+
* This is used as a script index that represent no script, that is, when the
|
| 119 |
+
* requested script was not found, and a default ('DFLT') script was not found
|
| 120 |
+
* either. It may be returned as script index by pango_ot_info_find_script()
|
| 121 |
+
* if the script or a default script are not found, all other functions
|
| 122 |
+
* taking a script index essentially return if the input script index is
|
| 123 |
+
* this value, so no special handling is required by the user.
|
| 124 |
+
*
|
| 125 |
+
* Since: 1.18
|
| 126 |
+
*/
|
| 127 |
+
/**
|
| 128 |
+
* PANGO_OT_DEFAULT_LANGUAGE:
|
| 129 |
+
*
|
| 130 |
+
* This is used as the language index in pango_ot_info_find_feature() when
|
| 131 |
+
* the default language system of the script is desired.
|
| 132 |
+
*
|
| 133 |
+
* It is also returned by pango_ot_info_find_language() if the requested language
|
| 134 |
+
* is not found, or the requested language tag was PANGO_OT_TAG_DEFAULT_LANGUAGE.
|
| 135 |
+
* The end result is that one can always call pango_ot_tag_from_language()
|
| 136 |
+
* followed by pango_ot_info_find_language() and pass the result to
|
| 137 |
+
* pango_ot_info_find_feature() without having to worry about falling back to
|
| 138 |
+
* default language system explicitly.
|
| 139 |
+
*
|
| 140 |
+
* Since: 1.16
|
| 141 |
+
*/
|
| 142 |
+
#define PANGO_OT_ALL_GLYPHS ((guint) 0xFFFF)
|
| 143 |
+
#define PANGO_OT_NO_FEATURE ((guint) 0xFFFF)
|
| 144 |
+
#define PANGO_OT_NO_SCRIPT ((guint) 0xFFFF)
|
| 145 |
+
#define PANGO_OT_DEFAULT_LANGUAGE ((guint) 0xFFFF)
|
| 146 |
+
|
| 147 |
+
/**
|
| 148 |
+
* PANGO_OT_TAG_DEFAULT_SCRIPT:
|
| 149 |
+
*
|
| 150 |
+
* This is a `PangoOTTag` representing the special script tag 'DFLT'. It is
|
| 151 |
+
* returned as script tag by pango_ot_tag_from_script() if the requested script
|
| 152 |
+
* is not found.
|
| 153 |
+
*
|
| 154 |
+
* Since: 1.18
|
| 155 |
+
*/
|
| 156 |
+
/**
|
| 157 |
+
* PANGO_OT_TAG_DEFAULT_LANGUAGE:
|
| 158 |
+
*
|
| 159 |
+
* This is a `PangoOTTag` representing a special language tag 'dflt'. It is
|
| 160 |
+
* returned as language tag by pango_ot_tag_from_language() if the requested
|
| 161 |
+
* language is not found. It is safe to pass this value to
|
| 162 |
+
* pango_ot_info_find_language() as that function falls back to returning default
|
| 163 |
+
* language-system if the requested language tag is not found.
|
| 164 |
+
*
|
| 165 |
+
* Since: 1.18
|
| 166 |
+
*/
|
| 167 |
+
#define PANGO_OT_TAG_DEFAULT_SCRIPT PANGO_OT_TAG_MAKE ('D', 'F', 'L', 'T')
|
| 168 |
+
#define PANGO_OT_TAG_DEFAULT_LANGUAGE PANGO_OT_TAG_MAKE ('d', 'f', 'l', 't')
|
| 169 |
+
|
| 170 |
+
/* Note that this must match hb_glyph_info_t */
|
| 171 |
+
/**
|
| 172 |
+
* PangoOTGlyph:
|
| 173 |
+
* @glyph: the glyph itself.
|
| 174 |
+
* @properties: the properties value, identifying which features should be
|
| 175 |
+
* applied on this glyph. See pango_ot_ruleset_add_feature().
|
| 176 |
+
* @cluster: the cluster that this glyph belongs to.
|
| 177 |
+
* @component: a component value, set by the OpenType layout engine.
|
| 178 |
+
* @ligID: a ligature index value, set by the OpenType layout engine.
|
| 179 |
+
* @internal: for Pango internal use
|
| 180 |
+
*
|
| 181 |
+
* The `PangoOTGlyph` structure represents a single glyph together with
|
| 182 |
+
* information used for OpenType layout processing of the glyph.
|
| 183 |
+
* It contains the following fields.
|
| 184 |
+
*/
|
| 185 |
+
struct _PangoOTGlyph
|
| 186 |
+
{
|
| 187 |
+
guint32 glyph;
|
| 188 |
+
guint properties;
|
| 189 |
+
guint cluster;
|
| 190 |
+
gushort component;
|
| 191 |
+
gushort ligID;
|
| 192 |
+
|
| 193 |
+
guint internal;
|
| 194 |
+
};
|
| 195 |
+
|
| 196 |
+
/**
|
| 197 |
+
* PangoOTFeatureMap:
|
| 198 |
+
* @feature_name: feature tag in represented as four-letter ASCII string.
|
| 199 |
+
* @property_bit: the property bit to use for this feature. See
|
| 200 |
+
* pango_ot_ruleset_add_feature() for details.
|
| 201 |
+
*
|
| 202 |
+
* The `PangoOTFeatureMap` typedef is used to represent an OpenType
|
| 203 |
+
* feature with the property bit associated with it. The feature tag is
|
| 204 |
+
* represented as a char array instead of a `PangoOTTag` for convenience.
|
| 205 |
+
*
|
| 206 |
+
* Since: 1.18
|
| 207 |
+
*/
|
| 208 |
+
struct _PangoOTFeatureMap
|
| 209 |
+
{
|
| 210 |
+
char feature_name[5];
|
| 211 |
+
gulong property_bit;
|
| 212 |
+
};
|
| 213 |
+
|
| 214 |
+
/**
|
| 215 |
+
* PangoOTRulesetDescription:
|
| 216 |
+
* @script: a `PangoScript`
|
| 217 |
+
* @language: a `PangoLanguage`
|
| 218 |
+
* @static_gsub_features: (nullable): static map of GSUB features
|
| 219 |
+
* @n_static_gsub_features: length of @static_gsub_features, or 0.
|
| 220 |
+
* @static_gpos_features: (nullable): static map of GPOS features
|
| 221 |
+
* @n_static_gpos_features: length of @static_gpos_features, or 0.
|
| 222 |
+
* @other_features: (nullable): map of extra features to add to both
|
| 223 |
+
* GSUB and GPOS. Unlike the static maps, this pointer need not
|
| 224 |
+
* live beyond the life of function calls taking this struct.
|
| 225 |
+
* @n_other_features: length of @other_features, or 0.
|
| 226 |
+
*
|
| 227 |
+
* The `PangoOTRuleset` structure holds all the information needed
|
| 228 |
+
* to build a complete `PangoOTRuleset` from an OpenType font.
|
| 229 |
+
* The main use of this struct is to act as the key for a per-font
|
| 230 |
+
* hash of rulesets. The user populates a ruleset description and
|
| 231 |
+
* gets the ruleset using pango_ot_ruleset_get_for_description()
|
| 232 |
+
* or create a new one using pango_ot_ruleset_new_from_description().
|
| 233 |
+
*
|
| 234 |
+
* Since: 1.18
|
| 235 |
+
*/
|
| 236 |
+
struct _PangoOTRulesetDescription {
|
| 237 |
+
PangoScript script;
|
| 238 |
+
PangoLanguage *language;
|
| 239 |
+
const PangoOTFeatureMap *static_gsub_features;
|
| 240 |
+
guint n_static_gsub_features;
|
| 241 |
+
const PangoOTFeatureMap *static_gpos_features;
|
| 242 |
+
guint n_static_gpos_features;
|
| 243 |
+
const PangoOTFeatureMap *other_features;
|
| 244 |
+
guint n_other_features;
|
| 245 |
+
};
|
| 246 |
+
|
| 247 |
+
#ifdef __GI_SCANNER__
|
| 248 |
+
#define PANGO_OT_TYPE_INFO (pango_ot_info_get_type ())
|
| 249 |
+
#define PANGO_OT_INFO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_OT_TYPE_INFO, PangoOTInfo))
|
| 250 |
+
#define PANGO_OT_IS_INFO(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_OT_TYPE_INFO))
|
| 251 |
+
#else
|
| 252 |
+
#define PANGO_TYPE_OT_INFO (pango_ot_info_get_type ())
|
| 253 |
+
#define PANGO_OT_INFO(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_OT_INFO, PangoOTInfo))
|
| 254 |
+
#define PANGO_IS_OT_INFO(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_OT_INFO))
|
| 255 |
+
#endif
|
| 256 |
+
|
| 257 |
+
PANGO_DEPRECATED
|
| 258 |
+
GType pango_ot_info_get_type (void) G_GNUC_CONST;
|
| 259 |
+
|
| 260 |
+
#ifdef __GI_SCANNER__
|
| 261 |
+
#define PANGO_OT_TYPE_RULESET (pango_ot_ruleset_get_type ())
|
| 262 |
+
#define PANGO_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_OT_TYPE_RULESET, PangoOTRuleset))
|
| 263 |
+
#define PANGO_OT_IS_RULESET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_OT_TYPE_RULESET))
|
| 264 |
+
#else
|
| 265 |
+
#define PANGO_TYPE_OT_RULESET (pango_ot_ruleset_get_type ())
|
| 266 |
+
#define PANGO_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_OT_RULESET, PangoOTRuleset))
|
| 267 |
+
#define PANGO_IS_OT_RULESET(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_OT_RULESET))
|
| 268 |
+
#endif
|
| 269 |
+
|
| 270 |
+
PANGO_DEPRECATED
|
| 271 |
+
GType pango_ot_ruleset_get_type (void) G_GNUC_CONST;
|
| 272 |
+
|
| 273 |
+
|
| 274 |
+
PANGO_DEPRECATED
|
| 275 |
+
PangoOTInfo *pango_ot_info_get (FT_Face face);
|
| 276 |
+
|
| 277 |
+
PANGO_DEPRECATED
|
| 278 |
+
gboolean pango_ot_info_find_script (PangoOTInfo *info,
|
| 279 |
+
PangoOTTableType table_type,
|
| 280 |
+
PangoOTTag script_tag,
|
| 281 |
+
guint *script_index);
|
| 282 |
+
|
| 283 |
+
PANGO_DEPRECATED
|
| 284 |
+
gboolean pango_ot_info_find_language (PangoOTInfo *info,
|
| 285 |
+
PangoOTTableType table_type,
|
| 286 |
+
guint script_index,
|
| 287 |
+
PangoOTTag language_tag,
|
| 288 |
+
guint *language_index,
|
| 289 |
+
guint *required_feature_index);
|
| 290 |
+
PANGO_DEPRECATED
|
| 291 |
+
gboolean pango_ot_info_find_feature (PangoOTInfo *info,
|
| 292 |
+
PangoOTTableType table_type,
|
| 293 |
+
PangoOTTag feature_tag,
|
| 294 |
+
guint script_index,
|
| 295 |
+
guint language_index,
|
| 296 |
+
guint *feature_index);
|
| 297 |
+
|
| 298 |
+
PANGO_DEPRECATED
|
| 299 |
+
PangoOTTag *pango_ot_info_list_scripts (PangoOTInfo *info,
|
| 300 |
+
PangoOTTableType table_type);
|
| 301 |
+
PANGO_DEPRECATED
|
| 302 |
+
PangoOTTag *pango_ot_info_list_languages (PangoOTInfo *info,
|
| 303 |
+
PangoOTTableType table_type,
|
| 304 |
+
guint script_index,
|
| 305 |
+
PangoOTTag language_tag);
|
| 306 |
+
PANGO_DEPRECATED
|
| 307 |
+
PangoOTTag *pango_ot_info_list_features (PangoOTInfo *info,
|
| 308 |
+
PangoOTTableType table_type,
|
| 309 |
+
PangoOTTag tag,
|
| 310 |
+
guint script_index,
|
| 311 |
+
guint language_index);
|
| 312 |
+
|
| 313 |
+
#ifdef __GI_SCANNER__
|
| 314 |
+
#define PANGO_OT_TYPE_BUFFER (pango_ot_buffer_get_type())
|
| 315 |
+
#else
|
| 316 |
+
#define PANGO_TYPE_OT_BUFFER (pango_ot_buffer_get_type())
|
| 317 |
+
#endif
|
| 318 |
+
|
| 319 |
+
PANGO_DEPRECATED
|
| 320 |
+
GType pango_ot_buffer_get_type (void) G_GNUC_CONST;
|
| 321 |
+
|
| 322 |
+
PANGO_DEPRECATED
|
| 323 |
+
PangoOTBuffer *pango_ot_buffer_new (PangoFcFont *font);
|
| 324 |
+
PANGO_DEPRECATED
|
| 325 |
+
void pango_ot_buffer_destroy (PangoOTBuffer *buffer);
|
| 326 |
+
PANGO_DEPRECATED
|
| 327 |
+
void pango_ot_buffer_clear (PangoOTBuffer *buffer);
|
| 328 |
+
PANGO_DEPRECATED
|
| 329 |
+
void pango_ot_buffer_set_rtl (PangoOTBuffer *buffer,
|
| 330 |
+
gboolean rtl);
|
| 331 |
+
PANGO_DEPRECATED
|
| 332 |
+
void pango_ot_buffer_add_glyph (PangoOTBuffer *buffer,
|
| 333 |
+
guint glyph,
|
| 334 |
+
guint properties,
|
| 335 |
+
guint cluster);
|
| 336 |
+
PANGO_DEPRECATED
|
| 337 |
+
void pango_ot_buffer_get_glyphs (const PangoOTBuffer *buffer,
|
| 338 |
+
PangoOTGlyph **glyphs,
|
| 339 |
+
int *n_glyphs);
|
| 340 |
+
PANGO_DEPRECATED
|
| 341 |
+
void pango_ot_buffer_output (const PangoOTBuffer *buffer,
|
| 342 |
+
PangoGlyphString *glyphs);
|
| 343 |
+
|
| 344 |
+
PANGO_DEPRECATED
|
| 345 |
+
void pango_ot_buffer_set_zero_width_marks (PangoOTBuffer *buffer,
|
| 346 |
+
gboolean zero_width_marks);
|
| 347 |
+
|
| 348 |
+
PANGO_DEPRECATED
|
| 349 |
+
const PangoOTRuleset *pango_ot_ruleset_get_for_description (PangoOTInfo *info,
|
| 350 |
+
const PangoOTRulesetDescription *desc);
|
| 351 |
+
PANGO_DEPRECATED
|
| 352 |
+
PangoOTRuleset *pango_ot_ruleset_new (PangoOTInfo *info);
|
| 353 |
+
PANGO_DEPRECATED
|
| 354 |
+
PangoOTRuleset *pango_ot_ruleset_new_for (PangoOTInfo *info,
|
| 355 |
+
PangoScript script,
|
| 356 |
+
PangoLanguage *language);
|
| 357 |
+
PANGO_DEPRECATED
|
| 358 |
+
PangoOTRuleset *pango_ot_ruleset_new_from_description (PangoOTInfo *info,
|
| 359 |
+
const PangoOTRulesetDescription *desc);
|
| 360 |
+
PANGO_DEPRECATED
|
| 361 |
+
void pango_ot_ruleset_add_feature (PangoOTRuleset *ruleset,
|
| 362 |
+
PangoOTTableType table_type,
|
| 363 |
+
guint feature_index,
|
| 364 |
+
gulong property_bit);
|
| 365 |
+
PANGO_DEPRECATED
|
| 366 |
+
gboolean pango_ot_ruleset_maybe_add_feature (PangoOTRuleset *ruleset,
|
| 367 |
+
PangoOTTableType table_type,
|
| 368 |
+
PangoOTTag feature_tag,
|
| 369 |
+
gulong property_bit);
|
| 370 |
+
PANGO_DEPRECATED
|
| 371 |
+
guint pango_ot_ruleset_maybe_add_features (PangoOTRuleset *ruleset,
|
| 372 |
+
PangoOTTableType table_type,
|
| 373 |
+
const PangoOTFeatureMap *features,
|
| 374 |
+
guint n_features);
|
| 375 |
+
PANGO_DEPRECATED
|
| 376 |
+
guint pango_ot_ruleset_get_feature_count (const PangoOTRuleset *ruleset,
|
| 377 |
+
guint *n_gsub_features,
|
| 378 |
+
guint *n_gpos_features);
|
| 379 |
+
|
| 380 |
+
PANGO_DEPRECATED
|
| 381 |
+
void pango_ot_ruleset_substitute (const PangoOTRuleset *ruleset,
|
| 382 |
+
PangoOTBuffer *buffer);
|
| 383 |
+
|
| 384 |
+
PANGO_DEPRECATED
|
| 385 |
+
void pango_ot_ruleset_position (const PangoOTRuleset *ruleset,
|
| 386 |
+
PangoOTBuffer *buffer);
|
| 387 |
+
|
| 388 |
+
PANGO_DEPRECATED
|
| 389 |
+
PangoScript pango_ot_tag_to_script (PangoOTTag script_tag) G_GNUC_CONST;
|
| 390 |
+
|
| 391 |
+
PANGO_DEPRECATED
|
| 392 |
+
PangoOTTag pango_ot_tag_from_script (PangoScript script) G_GNUC_CONST;
|
| 393 |
+
|
| 394 |
+
PANGO_DEPRECATED
|
| 395 |
+
PangoLanguage *pango_ot_tag_to_language (PangoOTTag language_tag) G_GNUC_CONST;
|
| 396 |
+
|
| 397 |
+
PANGO_DEPRECATED
|
| 398 |
+
PangoOTTag pango_ot_tag_from_language (PangoLanguage *language) G_GNUC_CONST;
|
| 399 |
+
|
| 400 |
+
#ifdef __GI_SCANNER__
|
| 401 |
+
#define PANGO_OT_TYPE_RULESET_DESCRIPTION (pango_ot_ruleset_description_get_type())
|
| 402 |
+
#else
|
| 403 |
+
#define PANGO_TYPE_OT_RULESET_DESCRIPTION (pango_ot_ruleset_description_get_type())
|
| 404 |
+
#endif
|
| 405 |
+
|
| 406 |
+
PANGO_DEPRECATED
|
| 407 |
+
GType pango_ot_ruleset_description_get_type (void) G_GNUC_CONST;
|
| 408 |
+
|
| 409 |
+
PANGO_DEPRECATED
|
| 410 |
+
guint pango_ot_ruleset_description_hash (const PangoOTRulesetDescription *desc) G_GNUC_PURE;
|
| 411 |
+
|
| 412 |
+
PANGO_DEPRECATED
|
| 413 |
+
gboolean pango_ot_ruleset_description_equal (const PangoOTRulesetDescription *desc1,
|
| 414 |
+
const PangoOTRulesetDescription *desc2) G_GNUC_PURE;
|
| 415 |
+
|
| 416 |
+
PANGO_DEPRECATED
|
| 417 |
+
PangoOTRulesetDescription *pango_ot_ruleset_description_copy (const PangoOTRulesetDescription *desc);
|
| 418 |
+
|
| 419 |
+
PANGO_DEPRECATED
|
| 420 |
+
void pango_ot_ruleset_description_free (PangoOTRulesetDescription *desc);
|
| 421 |
+
|
| 422 |
+
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ute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
#ifndef __PANGO_RENDERER_H_
|
| 22 |
+
#define __PANGO_RENDERER_H_
|
| 23 |
+
|
| 24 |
+
#include <pango/pango-layout.h>
|
| 25 |
+
|
| 26 |
+
G_BEGIN_DECLS
|
| 27 |
+
|
| 28 |
+
#define PANGO_TYPE_RENDERER (pango_renderer_get_type())
|
| 29 |
+
#define PANGO_RENDERER(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), PANGO_TYPE_RENDERER, PangoRenderer))
|
| 30 |
+
#define PANGO_IS_RENDERER(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), PANGO_TYPE_RENDERER))
|
| 31 |
+
#define PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PANGO_TYPE_RENDERER, PangoRendererClass))
|
| 32 |
+
#define PANGO_IS_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PANGO_TYPE_RENDERER))
|
| 33 |
+
#define PANGO_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PANGO_TYPE_RENDERER, PangoRendererClass))
|
| 34 |
+
|
| 35 |
+
typedef struct _PangoRenderer PangoRenderer;
|
| 36 |
+
typedef struct _PangoRendererClass PangoRendererClass;
|
| 37 |
+
typedef struct _PangoRendererPrivate PangoRendererPrivate;
|
| 38 |
+
|
| 39 |
+
/**
|
| 40 |
+
* PangoRenderPart:
|
| 41 |
+
* @PANGO_RENDER_PART_FOREGROUND: the text itself
|
| 42 |
+
* @PANGO_RENDER_PART_BACKGROUND: the area behind the text
|
| 43 |
+
* @PANGO_RENDER_PART_UNDERLINE: underlines
|
| 44 |
+
* @PANGO_RENDER_PART_STRIKETHROUGH: strikethrough lines
|
| 45 |
+
* @PANGO_RENDER_PART_OVERLINE: overlines
|
| 46 |
+
*
|
| 47 |
+
* `PangoRenderPart` defines different items to render for such
|
| 48 |
+
* purposes as setting colors.
|
| 49 |
+
*
|
| 50 |
+
* Since: 1.8
|
| 51 |
+
**/
|
| 52 |
+
/* When extending, note N_RENDER_PARTS #define in pango-renderer.c */
|
| 53 |
+
typedef enum
|
| 54 |
+
{
|
| 55 |
+
PANGO_RENDER_PART_FOREGROUND,
|
| 56 |
+
PANGO_RENDER_PART_BACKGROUND,
|
| 57 |
+
PANGO_RENDER_PART_UNDERLINE,
|
| 58 |
+
PANGO_RENDER_PART_STRIKETHROUGH,
|
| 59 |
+
PANGO_RENDER_PART_OVERLINE
|
| 60 |
+
} PangoRenderPart;
|
| 61 |
+
|
| 62 |
+
/**
|
| 63 |
+
* PangoRenderer:
|
| 64 |
+
* @matrix: (nullable): the current transformation matrix for
|
| 65 |
+
* the Renderer; may be %NULL, which should be treated the
|
| 66 |
+
* same as the identity matrix.
|
| 67 |
+
*
|
| 68 |
+
* `PangoRenderer` is a base class for objects that can render text
|
| 69 |
+
* provided as `PangoGlyphString` or `PangoLayout`.
|
| 70 |
+
*
|
| 71 |
+
* By subclassing `PangoRenderer` and overriding operations such as
|
| 72 |
+
* @draw_glyphs and @draw_rectangle, renderers for particular font
|
| 73 |
+
* backends and destinations can be created.
|
| 74 |
+
*
|
| 75 |
+
* Since: 1.8
|
| 76 |
+
*/
|
| 77 |
+
struct _PangoRenderer
|
| 78 |
+
{
|
| 79 |
+
/*< private >*/
|
| 80 |
+
GObject parent_instance;
|
| 81 |
+
|
| 82 |
+
PangoUnderline underline;
|
| 83 |
+
gboolean strikethrough;
|
| 84 |
+
int active_count;
|
| 85 |
+
|
| 86 |
+
/*< public >*/
|
| 87 |
+
PangoMatrix *matrix; /* May be NULL */
|
| 88 |
+
|
| 89 |
+
/*< private >*/
|
| 90 |
+
PangoRendererPrivate *priv;
|
| 91 |
+
};
|
| 92 |
+
|
| 93 |
+
/**
|
| 94 |
+
* PangoRendererClass:
|
| 95 |
+
* @draw_glyphs: draws a `PangoGlyphString`
|
| 96 |
+
* @draw_rectangle: draws a rectangle
|
| 97 |
+
* @draw_error_underline: draws a squiggly line that approximately
|
| 98 |
+
* covers the given rectangle in the style of an underline used to
|
| 99 |
+
* indicate a spelling error.
|
| 100 |
+
* @draw_shape: draw content for a glyph shaped with `PangoAttrShape`
|
| 101 |
+
* @x, @y are the coordinates of the left edge of the baseline,
|
| 102 |
+
* in user coordinates.
|
| 103 |
+
* @draw_trapezoid: draws a trapezoidal filled area
|
| 104 |
+
* @draw_glyph: draws a single glyph
|
| 105 |
+
* @part_changed: do renderer specific processing when rendering
|
| 106 |
+
* attributes change
|
| 107 |
+
* @begin: Do renderer-specific initialization before drawing
|
| 108 |
+
* @end: Do renderer-specific cleanup after drawing
|
| 109 |
+
* @prepare_run: updates the renderer for a new run
|
| 110 |
+
* @draw_glyph_item: draws a `PangoGlyphItem`
|
| 111 |
+
*
|
| 112 |
+
* Class structure for `PangoRenderer`.
|
| 113 |
+
*
|
| 114 |
+
* The following vfuncs take user space coordinates in Pango units
|
| 115 |
+
* and have default implementations:
|
| 116 |
+
* - draw_glyphs
|
| 117 |
+
* - draw_rectangle
|
| 118 |
+
* - draw_error_underline
|
| 119 |
+
* - draw_shape
|
| 120 |
+
* - draw_glyph_item
|
| 121 |
+
*
|
| 122 |
+
* The default draw_shape implementation draws nothing.
|
| 123 |
+
*
|
| 124 |
+
* The following vfuncs take device space coordinates as doubles
|
| 125 |
+
* and must be implemented:
|
| 126 |
+
* - draw_trapezoid
|
| 127 |
+
* - draw_glyph
|
| 128 |
+
*
|
| 129 |
+
* Since: 1.8
|
| 130 |
+
*/
|
| 131 |
+
struct _PangoRendererClass
|
| 132 |
+
{
|
| 133 |
+
/*< private >*/
|
| 134 |
+
GObjectClass parent_class;
|
| 135 |
+
|
| 136 |
+
/* vtable - not signals */
|
| 137 |
+
/*< public >*/
|
| 138 |
+
|
| 139 |
+
void (*draw_glyphs) (PangoRenderer *renderer,
|
| 140 |
+
PangoFont *font,
|
| 141 |
+
PangoGlyphString *glyphs,
|
| 142 |
+
int x,
|
| 143 |
+
int y);
|
| 144 |
+
void (*draw_rectangle) (PangoRenderer *renderer,
|
| 145 |
+
PangoRenderPart part,
|
| 146 |
+
int x,
|
| 147 |
+
int y,
|
| 148 |
+
int width,
|
| 149 |
+
int height);
|
| 150 |
+
void (*draw_error_underline) (PangoRenderer *renderer,
|
| 151 |
+
int x,
|
| 152 |
+
int y,
|
| 153 |
+
int width,
|
| 154 |
+
int height);
|
| 155 |
+
void (*draw_shape) (PangoRenderer *renderer,
|
| 156 |
+
PangoAttrShape *attr,
|
| 157 |
+
int x,
|
| 158 |
+
int y);
|
| 159 |
+
|
| 160 |
+
void (*draw_trapezoid) (PangoRenderer *renderer,
|
| 161 |
+
PangoRenderPart part,
|
| 162 |
+
double y1_,
|
| 163 |
+
double x11,
|
| 164 |
+
double x21,
|
| 165 |
+
double y2,
|
| 166 |
+
double x12,
|
| 167 |
+
double x22);
|
| 168 |
+
void (*draw_glyph) (PangoRenderer *renderer,
|
| 169 |
+
PangoFont *font,
|
| 170 |
+
PangoGlyph glyph,
|
| 171 |
+
double x,
|
| 172 |
+
double y);
|
| 173 |
+
|
| 174 |
+
void (*part_changed) (PangoRenderer *renderer,
|
| 175 |
+
PangoRenderPart part);
|
| 176 |
+
|
| 177 |
+
void (*begin) (PangoRenderer *renderer);
|
| 178 |
+
void (*end) (PangoRenderer *renderer);
|
| 179 |
+
|
| 180 |
+
void (*prepare_run) (PangoRenderer *renderer,
|
| 181 |
+
PangoLayoutRun *run);
|
| 182 |
+
|
| 183 |
+
void (*draw_glyph_item) (PangoRenderer *renderer,
|
| 184 |
+
const char *text,
|
| 185 |
+
PangoGlyphItem *glyph_item,
|
| 186 |
+
int x,
|
| 187 |
+
int y);
|
| 188 |
+
|
| 189 |
+
/*< private >*/
|
| 190 |
+
|
| 191 |
+
/* Padding for future expansion */
|
| 192 |
+
void (*_pango_reserved2) (void);
|
| 193 |
+
void (*_pango_reserved3) (void);
|
| 194 |
+
void (*_pango_reserved4) (void);
|
| 195 |
+
};
|
| 196 |
+
|
| 197 |
+
PANGO_AVAILABLE_IN_1_8
|
| 198 |
+
GType pango_renderer_get_type (void) G_GNUC_CONST;
|
| 199 |
+
|
| 200 |
+
PANGO_AVAILABLE_IN_1_8
|
| 201 |
+
void pango_renderer_draw_layout (PangoRenderer *renderer,
|
| 202 |
+
PangoLayout *layout,
|
| 203 |
+
int x,
|
| 204 |
+
int y);
|
| 205 |
+
PANGO_AVAILABLE_IN_1_8
|
| 206 |
+
void pango_renderer_draw_layout_line (PangoRenderer *renderer,
|
| 207 |
+
PangoLayoutLine *line,
|
| 208 |
+
int x,
|
| 209 |
+
int y);
|
| 210 |
+
PANGO_AVAILABLE_IN_1_8
|
| 211 |
+
void pango_renderer_draw_glyphs (PangoRenderer *renderer,
|
| 212 |
+
PangoFont *font,
|
| 213 |
+
PangoGlyphString *glyphs,
|
| 214 |
+
int x,
|
| 215 |
+
int y);
|
| 216 |
+
PANGO_AVAILABLE_IN_1_22
|
| 217 |
+
void pango_renderer_draw_glyph_item (PangoRenderer *renderer,
|
| 218 |
+
const char *text,
|
| 219 |
+
PangoGlyphItem *glyph_item,
|
| 220 |
+
int x,
|
| 221 |
+
int y);
|
| 222 |
+
PANGO_AVAILABLE_IN_1_8
|
| 223 |
+
void pango_renderer_draw_rectangle (PangoRenderer *renderer,
|
| 224 |
+
PangoRenderPart part,
|
| 225 |
+
int x,
|
| 226 |
+
int y,
|
| 227 |
+
int width,
|
| 228 |
+
int height);
|
| 229 |
+
PANGO_AVAILABLE_IN_1_8
|
| 230 |
+
void pango_renderer_draw_error_underline (PangoRenderer *renderer,
|
| 231 |
+
int x,
|
| 232 |
+
int y,
|
| 233 |
+
int width,
|
| 234 |
+
int height);
|
| 235 |
+
PANGO_AVAILABLE_IN_1_8
|
| 236 |
+
void pango_renderer_draw_trapezoid (PangoRenderer *renderer,
|
| 237 |
+
PangoRenderPart part,
|
| 238 |
+
double y1_,
|
| 239 |
+
double x11,
|
| 240 |
+
double x21,
|
| 241 |
+
double y2,
|
| 242 |
+
double x12,
|
| 243 |
+
double x22);
|
| 244 |
+
PANGO_AVAILABLE_IN_1_8
|
| 245 |
+
void pango_renderer_draw_glyph (PangoRenderer *renderer,
|
| 246 |
+
PangoFont *font,
|
| 247 |
+
PangoGlyph glyph,
|
| 248 |
+
double x,
|
| 249 |
+
double y);
|
| 250 |
+
|
| 251 |
+
PANGO_AVAILABLE_IN_1_8
|
| 252 |
+
void pango_renderer_activate (PangoRenderer *renderer);
|
| 253 |
+
PANGO_AVAILABLE_IN_1_8
|
| 254 |
+
void pango_renderer_deactivate (PangoRenderer *renderer);
|
| 255 |
+
|
| 256 |
+
PANGO_AVAILABLE_IN_1_8
|
| 257 |
+
void pango_renderer_part_changed (PangoRenderer *renderer,
|
| 258 |
+
PangoRenderPart part);
|
| 259 |
+
|
| 260 |
+
PANGO_AVAILABLE_IN_1_8
|
| 261 |
+
void pango_renderer_set_color (PangoRenderer *renderer,
|
| 262 |
+
PangoRenderPart part,
|
| 263 |
+
const PangoColor *color);
|
| 264 |
+
PANGO_AVAILABLE_IN_1_8
|
| 265 |
+
PangoColor *pango_renderer_get_color (PangoRenderer *renderer,
|
| 266 |
+
PangoRenderPart part);
|
| 267 |
+
|
| 268 |
+
PANGO_AVAILABLE_IN_1_38
|
| 269 |
+
void pango_renderer_set_alpha (PangoRenderer *renderer,
|
| 270 |
+
PangoRenderPart part,
|
| 271 |
+
guint16 alpha);
|
| 272 |
+
PANGO_AVAILABLE_IN_1_38
|
| 273 |
+
guint16 pango_renderer_get_alpha (PangoRenderer *renderer,
|
| 274 |
+
PangoRenderPart part);
|
| 275 |
+
|
| 276 |
+
PANGO_AVAILABLE_IN_1_8
|
| 277 |
+
void pango_renderer_set_matrix (PangoRenderer *renderer,
|
| 278 |
+
const PangoMatrix *matrix);
|
| 279 |
+
PANGO_AVAILABLE_IN_1_8
|
| 280 |
+
const PangoMatrix *pango_renderer_get_matrix (PangoRenderer *renderer);
|
| 281 |
+
|
| 282 |
+
PANGO_AVAILABLE_IN_1_20
|
| 283 |
+
PangoLayout *pango_renderer_get_layout (PangoRenderer *renderer);
|
| 284 |
+
PANGO_AVAILABLE_IN_1_20
|
| 285 |
+
PangoLayoutLine *pango_renderer_get_layout_line (PangoRenderer *renderer);
|
| 286 |
+
|
| 287 |
+
G_END_DECLS
|
| 288 |
+
|
| 289 |
+
#endif /* __PANGO_RENDERER_H_ */
|
| 290 |
+
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-script.h
ADDED
|
@@ -0,0 +1,335 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-script.h: Script tag handling
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2002 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_SCRIPT_H__
|
| 23 |
+
#define __PANGO_SCRIPT_H__
|
| 24 |
+
|
| 25 |
+
#include <glib-object.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
/**
|
| 30 |
+
* PangoScriptIter:
|
| 31 |
+
*
|
| 32 |
+
* A `PangoScriptIter` is used to iterate through a string
|
| 33 |
+
* and identify ranges in different scripts.
|
| 34 |
+
**/
|
| 35 |
+
typedef struct _PangoScriptIter PangoScriptIter;
|
| 36 |
+
|
| 37 |
+
/**
|
| 38 |
+
* PangoScript:
|
| 39 |
+
* @PANGO_SCRIPT_INVALID_CODE: a value never returned from pango_script_for_unichar()
|
| 40 |
+
* @PANGO_SCRIPT_COMMON: a character used by multiple different scripts
|
| 41 |
+
* @PANGO_SCRIPT_INHERITED: a mark glyph that takes its script from the
|
| 42 |
+
* base glyph to which it is attached
|
| 43 |
+
* @PANGO_SCRIPT_ARABIC: Arabic
|
| 44 |
+
* @PANGO_SCRIPT_ARMENIAN: Armenian
|
| 45 |
+
* @PANGO_SCRIPT_BENGALI: Bengali
|
| 46 |
+
* @PANGO_SCRIPT_BOPOMOFO: Bopomofo
|
| 47 |
+
* @PANGO_SCRIPT_CHEROKEE: Cherokee
|
| 48 |
+
* @PANGO_SCRIPT_COPTIC: Coptic
|
| 49 |
+
* @PANGO_SCRIPT_CYRILLIC: Cyrillic
|
| 50 |
+
* @PANGO_SCRIPT_DESERET: Deseret
|
| 51 |
+
* @PANGO_SCRIPT_DEVANAGARI: Devanagari
|
| 52 |
+
* @PANGO_SCRIPT_ETHIOPIC: Ethiopic
|
| 53 |
+
* @PANGO_SCRIPT_GEORGIAN: Georgian
|
| 54 |
+
* @PANGO_SCRIPT_GOTHIC: Gothic
|
| 55 |
+
* @PANGO_SCRIPT_GREEK: Greek
|
| 56 |
+
* @PANGO_SCRIPT_GUJARATI: Gujarati
|
| 57 |
+
* @PANGO_SCRIPT_GURMUKHI: Gurmukhi
|
| 58 |
+
* @PANGO_SCRIPT_HAN: Han
|
| 59 |
+
* @PANGO_SCRIPT_HANGUL: Hangul
|
| 60 |
+
* @PANGO_SCRIPT_HEBREW: Hebrew
|
| 61 |
+
* @PANGO_SCRIPT_HIRAGANA: Hiragana
|
| 62 |
+
* @PANGO_SCRIPT_KANNADA: Kannada
|
| 63 |
+
* @PANGO_SCRIPT_KATAKANA: Katakana
|
| 64 |
+
* @PANGO_SCRIPT_KHMER: Khmer
|
| 65 |
+
* @PANGO_SCRIPT_LAO: Lao
|
| 66 |
+
* @PANGO_SCRIPT_LATIN: Latin
|
| 67 |
+
* @PANGO_SCRIPT_MALAYALAM: Malayalam
|
| 68 |
+
* @PANGO_SCRIPT_MONGOLIAN: Mongolian
|
| 69 |
+
* @PANGO_SCRIPT_MYANMAR: Myanmar
|
| 70 |
+
* @PANGO_SCRIPT_OGHAM: Ogham
|
| 71 |
+
* @PANGO_SCRIPT_OLD_ITALIC: Old Italic
|
| 72 |
+
* @PANGO_SCRIPT_ORIYA: Oriya
|
| 73 |
+
* @PANGO_SCRIPT_RUNIC: Runic
|
| 74 |
+
* @PANGO_SCRIPT_SINHALA: Sinhala
|
| 75 |
+
* @PANGO_SCRIPT_SYRIAC: Syriac
|
| 76 |
+
* @PANGO_SCRIPT_TAMIL: Tamil
|
| 77 |
+
* @PANGO_SCRIPT_TELUGU: Telugu
|
| 78 |
+
* @PANGO_SCRIPT_THAANA: Thaana
|
| 79 |
+
* @PANGO_SCRIPT_THAI: Thai
|
| 80 |
+
* @PANGO_SCRIPT_TIBETAN: Tibetan
|
| 81 |
+
* @PANGO_SCRIPT_CANADIAN_ABORIGINAL: Canadian Aboriginal
|
| 82 |
+
* @PANGO_SCRIPT_YI: Yi
|
| 83 |
+
* @PANGO_SCRIPT_TAGALOG: Tagalog
|
| 84 |
+
* @PANGO_SCRIPT_HANUNOO: Hanunoo
|
| 85 |
+
* @PANGO_SCRIPT_BUHID: Buhid
|
| 86 |
+
* @PANGO_SCRIPT_TAGBANWA: Tagbanwa
|
| 87 |
+
* @PANGO_SCRIPT_BRAILLE: Braille
|
| 88 |
+
* @PANGO_SCRIPT_CYPRIOT: Cypriot
|
| 89 |
+
* @PANGO_SCRIPT_LIMBU: Limbu
|
| 90 |
+
* @PANGO_SCRIPT_OSMANYA: Osmanya
|
| 91 |
+
* @PANGO_SCRIPT_SHAVIAN: Shavian
|
| 92 |
+
* @PANGO_SCRIPT_LINEAR_B: Linear B
|
| 93 |
+
* @PANGO_SCRIPT_TAI_LE: Tai Le
|
| 94 |
+
* @PANGO_SCRIPT_UGARITIC: Ugaritic
|
| 95 |
+
* @PANGO_SCRIPT_NEW_TAI_LUE: New Tai Lue. Since 1.10
|
| 96 |
+
* @PANGO_SCRIPT_BUGINESE: Buginese. Since 1.10
|
| 97 |
+
* @PANGO_SCRIPT_GLAGOLITIC: Glagolitic. Since 1.10
|
| 98 |
+
* @PANGO_SCRIPT_TIFINAGH: Tifinagh. Since 1.10
|
| 99 |
+
* @PANGO_SCRIPT_SYLOTI_NAGRI: Syloti Nagri. Since 1.10
|
| 100 |
+
* @PANGO_SCRIPT_OLD_PERSIAN: Old Persian. Since 1.10
|
| 101 |
+
* @PANGO_SCRIPT_KHAROSHTHI: Kharoshthi. Since 1.10
|
| 102 |
+
* @PANGO_SCRIPT_UNKNOWN: an unassigned code point. Since 1.14
|
| 103 |
+
* @PANGO_SCRIPT_BALINESE: Balinese. Since 1.14
|
| 104 |
+
* @PANGO_SCRIPT_CUNEIFORM: Cuneiform. Since 1.14
|
| 105 |
+
* @PANGO_SCRIPT_PHOENICIAN: Phoenician. Since 1.14
|
| 106 |
+
* @PANGO_SCRIPT_PHAGS_PA: Phags-pa. Since 1.14
|
| 107 |
+
* @PANGO_SCRIPT_NKO: N'Ko. Since 1.14
|
| 108 |
+
* @PANGO_SCRIPT_KAYAH_LI: Kayah Li. Since 1.20.1
|
| 109 |
+
* @PANGO_SCRIPT_LEPCHA: Lepcha. Since 1.20.1
|
| 110 |
+
* @PANGO_SCRIPT_REJANG: Rejang. Since 1.20.1
|
| 111 |
+
* @PANGO_SCRIPT_SUNDANESE: Sundanese. Since 1.20.1
|
| 112 |
+
* @PANGO_SCRIPT_SAURASHTRA: Saurashtra. Since 1.20.1
|
| 113 |
+
* @PANGO_SCRIPT_CHAM: Cham. Since 1.20.1
|
| 114 |
+
* @PANGO_SCRIPT_OL_CHIKI: Ol Chiki. Since 1.20.1
|
| 115 |
+
* @PANGO_SCRIPT_VAI: Vai. Since 1.20.1
|
| 116 |
+
* @PANGO_SCRIPT_CARIAN: Carian. Since 1.20.1
|
| 117 |
+
* @PANGO_SCRIPT_LYCIAN: Lycian. Since 1.20.1
|
| 118 |
+
* @PANGO_SCRIPT_LYDIAN: Lydian. Since 1.20.1
|
| 119 |
+
* @PANGO_SCRIPT_BATAK: Batak. Since 1.32
|
| 120 |
+
* @PANGO_SCRIPT_BRAHMI: Brahmi. Since 1.32
|
| 121 |
+
* @PANGO_SCRIPT_MANDAIC: Mandaic. Since 1.32
|
| 122 |
+
* @PANGO_SCRIPT_CHAKMA: Chakma. Since: 1.32
|
| 123 |
+
* @PANGO_SCRIPT_MEROITIC_CURSIVE: Meroitic Cursive. Since: 1.32
|
| 124 |
+
* @PANGO_SCRIPT_MEROITIC_HIEROGLYPHS: Meroitic Hieroglyphs. Since: 1.32
|
| 125 |
+
* @PANGO_SCRIPT_MIAO: Miao. Since: 1.32
|
| 126 |
+
* @PANGO_SCRIPT_SHARADA: Sharada. Since: 1.32
|
| 127 |
+
* @PANGO_SCRIPT_SORA_SOMPENG: Sora Sompeng. Since: 1.32
|
| 128 |
+
* @PANGO_SCRIPT_TAKRI: Takri. Since: 1.32
|
| 129 |
+
* @PANGO_SCRIPT_BASSA_VAH: Bassa. Since: 1.40
|
| 130 |
+
* @PANGO_SCRIPT_CAUCASIAN_ALBANIAN: Caucasian Albanian. Since: 1.40
|
| 131 |
+
* @PANGO_SCRIPT_DUPLOYAN: Duployan. Since: 1.40
|
| 132 |
+
* @PANGO_SCRIPT_ELBASAN: Elbasan. Since: 1.40
|
| 133 |
+
* @PANGO_SCRIPT_GRANTHA: Grantha. Since: 1.40
|
| 134 |
+
* @PANGO_SCRIPT_KHOJKI: Kjohki. Since: 1.40
|
| 135 |
+
* @PANGO_SCRIPT_KHUDAWADI: Khudawadi, Sindhi. Since: 1.40
|
| 136 |
+
* @PANGO_SCRIPT_LINEAR_A: Linear A. Since: 1.40
|
| 137 |
+
* @PANGO_SCRIPT_MAHAJANI: Mahajani. Since: 1.40
|
| 138 |
+
* @PANGO_SCRIPT_MANICHAEAN: Manichaean. Since: 1.40
|
| 139 |
+
* @PANGO_SCRIPT_MENDE_KIKAKUI: Mende Kikakui. Since: 1.40
|
| 140 |
+
* @PANGO_SCRIPT_MODI: Modi. Since: 1.40
|
| 141 |
+
* @PANGO_SCRIPT_MRO: Mro. Since: 1.40
|
| 142 |
+
* @PANGO_SCRIPT_NABATAEAN: Nabataean. Since: 1.40
|
| 143 |
+
* @PANGO_SCRIPT_OLD_NORTH_ARABIAN: Old North Arabian. Since: 1.40
|
| 144 |
+
* @PANGO_SCRIPT_OLD_PERMIC: Old Permic. Since: 1.40
|
| 145 |
+
* @PANGO_SCRIPT_PAHAWH_HMONG: Pahawh Hmong. Since: 1.40
|
| 146 |
+
* @PANGO_SCRIPT_PALMYRENE: Palmyrene. Since: 1.40
|
| 147 |
+
* @PANGO_SCRIPT_PAU_CIN_HAU: Pau Cin Hau. Since: 1.40
|
| 148 |
+
* @PANGO_SCRIPT_PSALTER_PAHLAVI: Psalter Pahlavi. Since: 1.40
|
| 149 |
+
* @PANGO_SCRIPT_SIDDHAM: Siddham. Since: 1.40
|
| 150 |
+
* @PANGO_SCRIPT_TIRHUTA: Tirhuta. Since: 1.40
|
| 151 |
+
* @PANGO_SCRIPT_WARANG_CITI: Warang Citi. Since: 1.40
|
| 152 |
+
* @PANGO_SCRIPT_AHOM: Ahom. Since: 1.40
|
| 153 |
+
* @PANGO_SCRIPT_ANATOLIAN_HIEROGLYPHS: Anatolian Hieroglyphs. Since: 1.40
|
| 154 |
+
* @PANGO_SCRIPT_HATRAN: Hatran. Since: 1.40
|
| 155 |
+
* @PANGO_SCRIPT_MULTANI: Multani. Since: 1.40
|
| 156 |
+
* @PANGO_SCRIPT_OLD_HUNGARIAN: Old Hungarian. Since: 1.40
|
| 157 |
+
* @PANGO_SCRIPT_SIGNWRITING: Signwriting. Since: 1.40
|
| 158 |
+
*
|
| 159 |
+
* The `PangoScript` enumeration identifies different writing
|
| 160 |
+
* systems.
|
| 161 |
+
*
|
| 162 |
+
* The values correspond to the names as defined in the Unicode standard. See
|
| 163 |
+
* [Unicode Standard Annex 24: Script names](http://www.unicode.org/reports/tr24/)
|
| 164 |
+
*
|
| 165 |
+
* Note that this enumeration is deprecated and will not be updated to include values
|
| 166 |
+
* in newer versions of the Unicode standard. Applications should use the
|
| 167 |
+
* [enum@GLib.UnicodeScript] enumeration instead,
|
| 168 |
+
* whose values are interchangeable with `PangoScript`.
|
| 169 |
+
*/
|
| 170 |
+
typedef enum { /* ISO 15924 code */
|
| 171 |
+
PANGO_SCRIPT_INVALID_CODE = -1,
|
| 172 |
+
PANGO_SCRIPT_COMMON = 0, /* Zyyy */
|
| 173 |
+
PANGO_SCRIPT_INHERITED, /* Qaai */
|
| 174 |
+
PANGO_SCRIPT_ARABIC, /* Arab */
|
| 175 |
+
PANGO_SCRIPT_ARMENIAN, /* Armn */
|
| 176 |
+
PANGO_SCRIPT_BENGALI, /* Beng */
|
| 177 |
+
PANGO_SCRIPT_BOPOMOFO, /* Bopo */
|
| 178 |
+
PANGO_SCRIPT_CHEROKEE, /* Cher */
|
| 179 |
+
PANGO_SCRIPT_COPTIC, /* Qaac */
|
| 180 |
+
PANGO_SCRIPT_CYRILLIC, /* Cyrl (Cyrs) */
|
| 181 |
+
PANGO_SCRIPT_DESERET, /* Dsrt */
|
| 182 |
+
PANGO_SCRIPT_DEVANAGARI, /* Deva */
|
| 183 |
+
PANGO_SCRIPT_ETHIOPIC, /* Ethi */
|
| 184 |
+
PANGO_SCRIPT_GEORGIAN, /* Geor (Geon, Geoa) */
|
| 185 |
+
PANGO_SCRIPT_GOTHIC, /* Goth */
|
| 186 |
+
PANGO_SCRIPT_GREEK, /* Grek */
|
| 187 |
+
PANGO_SCRIPT_GUJARATI, /* Gujr */
|
| 188 |
+
PANGO_SCRIPT_GURMUKHI, /* Guru */
|
| 189 |
+
PANGO_SCRIPT_HAN, /* Hani */
|
| 190 |
+
PANGO_SCRIPT_HANGUL, /* Hang */
|
| 191 |
+
PANGO_SCRIPT_HEBREW, /* Hebr */
|
| 192 |
+
PANGO_SCRIPT_HIRAGANA, /* Hira */
|
| 193 |
+
PANGO_SCRIPT_KANNADA, /* Knda */
|
| 194 |
+
PANGO_SCRIPT_KATAKANA, /* Kana */
|
| 195 |
+
PANGO_SCRIPT_KHMER, /* Khmr */
|
| 196 |
+
PANGO_SCRIPT_LAO, /* Laoo */
|
| 197 |
+
PANGO_SCRIPT_LATIN, /* Latn (Latf, Latg) */
|
| 198 |
+
PANGO_SCRIPT_MALAYALAM, /* Mlym */
|
| 199 |
+
PANGO_SCRIPT_MONGOLIAN, /* Mong */
|
| 200 |
+
PANGO_SCRIPT_MYANMAR, /* Mymr */
|
| 201 |
+
PANGO_SCRIPT_OGHAM, /* Ogam */
|
| 202 |
+
PANGO_SCRIPT_OLD_ITALIC, /* Ital */
|
| 203 |
+
PANGO_SCRIPT_ORIYA, /* Orya */
|
| 204 |
+
PANGO_SCRIPT_RUNIC, /* Runr */
|
| 205 |
+
PANGO_SCRIPT_SINHALA, /* Sinh */
|
| 206 |
+
PANGO_SCRIPT_SYRIAC, /* Syrc (Syrj, Syrn, Syre) */
|
| 207 |
+
PANGO_SCRIPT_TAMIL, /* Taml */
|
| 208 |
+
PANGO_SCRIPT_TELUGU, /* Telu */
|
| 209 |
+
PANGO_SCRIPT_THAANA, /* Thaa */
|
| 210 |
+
PANGO_SCRIPT_THAI, /* Thai */
|
| 211 |
+
PANGO_SCRIPT_TIBETAN, /* Tibt */
|
| 212 |
+
PANGO_SCRIPT_CANADIAN_ABORIGINAL, /* Cans */
|
| 213 |
+
PANGO_SCRIPT_YI, /* Yiii */
|
| 214 |
+
PANGO_SCRIPT_TAGALOG, /* Tglg */
|
| 215 |
+
PANGO_SCRIPT_HANUNOO, /* Hano */
|
| 216 |
+
PANGO_SCRIPT_BUHID, /* Buhd */
|
| 217 |
+
PANGO_SCRIPT_TAGBANWA, /* Tagb */
|
| 218 |
+
|
| 219 |
+
/* Unicode-4.0 additions */
|
| 220 |
+
PANGO_SCRIPT_BRAILLE, /* Brai */
|
| 221 |
+
PANGO_SCRIPT_CYPRIOT, /* Cprt */
|
| 222 |
+
PANGO_SCRIPT_LIMBU, /* Limb */
|
| 223 |
+
PANGO_SCRIPT_OSMANYA, /* Osma */
|
| 224 |
+
PANGO_SCRIPT_SHAVIAN, /* Shaw */
|
| 225 |
+
PANGO_SCRIPT_LINEAR_B, /* Linb */
|
| 226 |
+
PANGO_SCRIPT_TAI_LE, /* Tale */
|
| 227 |
+
PANGO_SCRIPT_UGARITIC, /* Ugar */
|
| 228 |
+
|
| 229 |
+
/* Unicode-4.1 additions */
|
| 230 |
+
PANGO_SCRIPT_NEW_TAI_LUE, /* Talu */
|
| 231 |
+
PANGO_SCRIPT_BUGINESE, /* Bugi */
|
| 232 |
+
PANGO_SCRIPT_GLAGOLITIC, /* Glag */
|
| 233 |
+
PANGO_SCRIPT_TIFINAGH, /* Tfng */
|
| 234 |
+
PANGO_SCRIPT_SYLOTI_NAGRI, /* Sylo */
|
| 235 |
+
PANGO_SCRIPT_OLD_PERSIAN, /* Xpeo */
|
| 236 |
+
PANGO_SCRIPT_KHAROSHTHI, /* Khar */
|
| 237 |
+
|
| 238 |
+
/* Unicode-5.0 additions */
|
| 239 |
+
PANGO_SCRIPT_UNKNOWN, /* Zzzz */
|
| 240 |
+
PANGO_SCRIPT_BALINESE, /* Bali */
|
| 241 |
+
PANGO_SCRIPT_CUNEIFORM, /* Xsux */
|
| 242 |
+
PANGO_SCRIPT_PHOENICIAN, /* Phnx */
|
| 243 |
+
PANGO_SCRIPT_PHAGS_PA, /* Phag */
|
| 244 |
+
PANGO_SCRIPT_NKO, /* Nkoo */
|
| 245 |
+
|
| 246 |
+
/* Unicode-5.1 additions */
|
| 247 |
+
PANGO_SCRIPT_KAYAH_LI, /* Kali */
|
| 248 |
+
PANGO_SCRIPT_LEPCHA, /* Lepc */
|
| 249 |
+
PANGO_SCRIPT_REJANG, /* Rjng */
|
| 250 |
+
PANGO_SCRIPT_SUNDANESE, /* Sund */
|
| 251 |
+
PANGO_SCRIPT_SAURASHTRA, /* Saur */
|
| 252 |
+
PANGO_SCRIPT_CHAM, /* Cham */
|
| 253 |
+
PANGO_SCRIPT_OL_CHIKI, /* Olck */
|
| 254 |
+
PANGO_SCRIPT_VAI, /* Vaii */
|
| 255 |
+
PANGO_SCRIPT_CARIAN, /* Cari */
|
| 256 |
+
PANGO_SCRIPT_LYCIAN, /* Lyci */
|
| 257 |
+
PANGO_SCRIPT_LYDIAN, /* Lydi */
|
| 258 |
+
|
| 259 |
+
/* Unicode-6.0 additions */
|
| 260 |
+
PANGO_SCRIPT_BATAK, /* Batk */
|
| 261 |
+
PANGO_SCRIPT_BRAHMI, /* Brah */
|
| 262 |
+
PANGO_SCRIPT_MANDAIC, /* Mand */
|
| 263 |
+
|
| 264 |
+
/* Unicode-6.1 additions */
|
| 265 |
+
PANGO_SCRIPT_CHAKMA, /* Cakm */
|
| 266 |
+
PANGO_SCRIPT_MEROITIC_CURSIVE, /* Merc */
|
| 267 |
+
PANGO_SCRIPT_MEROITIC_HIEROGLYPHS,/* Mero */
|
| 268 |
+
PANGO_SCRIPT_MIAO, /* Plrd */
|
| 269 |
+
PANGO_SCRIPT_SHARADA, /* Shrd */
|
| 270 |
+
PANGO_SCRIPT_SORA_SOMPENG, /* Sora */
|
| 271 |
+
PANGO_SCRIPT_TAKRI, /* Takr */
|
| 272 |
+
|
| 273 |
+
/* Unicode 7.0 additions */
|
| 274 |
+
PANGO_SCRIPT_BASSA_VAH, /* Bass */
|
| 275 |
+
PANGO_SCRIPT_CAUCASIAN_ALBANIAN, /* Aghb */
|
| 276 |
+
PANGO_SCRIPT_DUPLOYAN, /* Dupl */
|
| 277 |
+
PANGO_SCRIPT_ELBASAN, /* Elba */
|
| 278 |
+
PANGO_SCRIPT_GRANTHA, /* Gran */
|
| 279 |
+
PANGO_SCRIPT_KHOJKI, /* Khoj */
|
| 280 |
+
PANGO_SCRIPT_KHUDAWADI, /* Sind */
|
| 281 |
+
PANGO_SCRIPT_LINEAR_A, /* Lina */
|
| 282 |
+
PANGO_SCRIPT_MAHAJANI, /* Mahj */
|
| 283 |
+
PANGO_SCRIPT_MANICHAEAN, /* Manu */
|
| 284 |
+
PANGO_SCRIPT_MENDE_KIKAKUI, /* Mend */
|
| 285 |
+
PANGO_SCRIPT_MODI, /* Modi */
|
| 286 |
+
PANGO_SCRIPT_MRO, /* Mroo */
|
| 287 |
+
PANGO_SCRIPT_NABATAEAN, /* Nbat */
|
| 288 |
+
PANGO_SCRIPT_OLD_NORTH_ARABIAN, /* Narb */
|
| 289 |
+
PANGO_SCRIPT_OLD_PERMIC, /* Perm */
|
| 290 |
+
PANGO_SCRIPT_PAHAWH_HMONG, /* Hmng */
|
| 291 |
+
PANGO_SCRIPT_PALMYRENE, /* Palm */
|
| 292 |
+
PANGO_SCRIPT_PAU_CIN_HAU, /* Pauc */
|
| 293 |
+
PANGO_SCRIPT_PSALTER_PAHLAVI, /* Phlp */
|
| 294 |
+
PANGO_SCRIPT_SIDDHAM, /* Sidd */
|
| 295 |
+
PANGO_SCRIPT_TIRHUTA, /* Tirh */
|
| 296 |
+
PANGO_SCRIPT_WARANG_CITI, /* Wara */
|
| 297 |
+
|
| 298 |
+
/* Unicode 8.0 additions */
|
| 299 |
+
PANGO_SCRIPT_AHOM, /* Ahom */
|
| 300 |
+
PANGO_SCRIPT_ANATOLIAN_HIEROGLYPHS, /* Hluw */
|
| 301 |
+
PANGO_SCRIPT_HATRAN, /* Hatr */
|
| 302 |
+
PANGO_SCRIPT_MULTANI, /* Mult */
|
| 303 |
+
PANGO_SCRIPT_OLD_HUNGARIAN, /* Hung */
|
| 304 |
+
PANGO_SCRIPT_SIGNWRITING /* Sgnw */
|
| 305 |
+
} PangoScript;
|
| 306 |
+
|
| 307 |
+
#include <pango/pango-version-macros.h>
|
| 308 |
+
|
| 309 |
+
PANGO_DEPRECATED_IN_1_44_FOR(g_unichar_get_script)
|
| 310 |
+
PangoScript pango_script_for_unichar (gunichar ch) G_GNUC_CONST;
|
| 311 |
+
|
| 312 |
+
PANGO_AVAILABLE_IN_1_44
|
| 313 |
+
GType pango_script_iter_get_type (void) G_GNUC_CONST;
|
| 314 |
+
|
| 315 |
+
PANGO_AVAILABLE_IN_1_4
|
| 316 |
+
PangoScriptIter *pango_script_iter_new (const char *text,
|
| 317 |
+
int length);
|
| 318 |
+
PANGO_AVAILABLE_IN_1_4
|
| 319 |
+
void pango_script_iter_get_range (PangoScriptIter *iter,
|
| 320 |
+
const char **start,
|
| 321 |
+
const char **end,
|
| 322 |
+
PangoScript *script);
|
| 323 |
+
PANGO_AVAILABLE_IN_1_4
|
| 324 |
+
gboolean pango_script_iter_next (PangoScriptIter *iter);
|
| 325 |
+
PANGO_AVAILABLE_IN_1_4
|
| 326 |
+
void pango_script_iter_free (PangoScriptIter *iter);
|
| 327 |
+
|
| 328 |
+
#include <pango/pango-language.h>
|
| 329 |
+
|
| 330 |
+
PANGO_AVAILABLE_IN_1_4
|
| 331 |
+
PangoLanguage *pango_script_get_sample_language (PangoScript script) G_GNUC_PURE;
|
| 332 |
+
|
| 333 |
+
G_END_DECLS
|
| 334 |
+
|
| 335 |
+
#endif /* __PANGO_SCRIPT_H__ */
|
data/miniconda3/pkgs/pango-1.56.4-hadf4263_0/include/pango-1.0/pango/pango-tabs.h
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
/* Pango
|
| 2 |
+
* pango-tabs.h: Tab-related stuff
|
| 3 |
+
*
|
| 4 |
+
* Copyright (C) 2000 Red Hat Software
|
| 5 |
+
*
|
| 6 |
+
* This library is free software; you can redistribute it and/or
|
| 7 |
+
* modify it under the terms of the GNU Library General Public
|
| 8 |
+
* License as published by the Free Software Foundation; either
|
| 9 |
+
* version 2 of the License, or (at your option) any later version.
|
| 10 |
+
*
|
| 11 |
+
* This library is distributed in the hope that it will be useful,
|
| 12 |
+
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
| 13 |
+
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
| 14 |
+
* Library General Public License for more details.
|
| 15 |
+
*
|
| 16 |
+
* You should have received a copy of the GNU Library General Public
|
| 17 |
+
* License along with this library; if not, write to the
|
| 18 |
+
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
| 19 |
+
* Boston, MA 02111-1307, USA.
|
| 20 |
+
*/
|
| 21 |
+
|
| 22 |
+
#ifndef __PANGO_TABS_H__
|
| 23 |
+
#define __PANGO_TABS_H__
|
| 24 |
+
|
| 25 |
+
#include <pango/pango-types.h>
|
| 26 |
+
|
| 27 |
+
G_BEGIN_DECLS
|
| 28 |
+
|
| 29 |
+
typedef struct _PangoTabArray PangoTabArray;
|
| 30 |
+
|
| 31 |
+
/**
|
| 32 |
+
* PangoTabAlign:
|
| 33 |
+
* @PANGO_TAB_LEFT: the text appears to the right of the tab stop position
|
| 34 |
+
* @PANGO_TAB_RIGHT: the text appears to the left of the tab stop position
|
| 35 |
+
* until the available space is filled. Since: 1.50
|
| 36 |
+
* @PANGO_TAB_CENTER: the text is centered at the tab stop position
|
| 37 |
+
* until the available space is filled. Since: 1.50
|
| 38 |
+
* @PANGO_TAB_DECIMAL: text before the first occurrence of the decimal point
|
| 39 |
+
* character appears to the left of the tab stop position (until the available
|
| 40 |
+
* space is filled), the rest to the right. Since: 1.50
|
| 41 |
+
*
|
| 42 |
+
* `PangoTabAlign` specifies where the text appears relative to the tab stop
|
| 43 |
+
* position.
|
| 44 |
+
*/
|
| 45 |
+
typedef enum
|
| 46 |
+
{
|
| 47 |
+
PANGO_TAB_LEFT,
|
| 48 |
+
PANGO_TAB_RIGHT,
|
| 49 |
+
PANGO_TAB_CENTER,
|
| 50 |
+
PANGO_TAB_DECIMAL
|
| 51 |
+
} PangoTabAlign;
|
| 52 |
+
|
| 53 |
+
#define PANGO_TYPE_TAB_ARRAY (pango_tab_array_get_type ())
|
| 54 |
+
|
| 55 |
+
PANGO_AVAILABLE_IN_ALL
|
| 56 |
+
PangoTabArray *pango_tab_array_new (gint initial_size,
|
| 57 |
+
gboolean positions_in_pixels);
|
| 58 |
+
PANGO_AVAILABLE_IN_ALL
|
| 59 |
+
PangoTabArray *pango_tab_array_new_with_positions (gint size,
|
| 60 |
+
gboolean positions_in_pixels,
|
| 61 |
+
PangoTabAlign first_alignment,
|
| 62 |
+
gint first_position,
|
| 63 |
+
...);
|
| 64 |
+
PANGO_AVAILABLE_IN_ALL
|
| 65 |
+
GType pango_tab_array_get_type (void) G_GNUC_CONST;
|
| 66 |
+
PANGO_AVAILABLE_IN_ALL
|
| 67 |
+
PangoTabArray *pango_tab_array_copy (PangoTabArray *src);
|
| 68 |
+
PANGO_AVAILABLE_IN_ALL
|
| 69 |
+
void pango_tab_array_free (PangoTabArray *tab_array);
|
| 70 |
+
PANGO_AVAILABLE_IN_ALL
|
| 71 |
+
gint pango_tab_array_get_size (PangoTabArray *tab_array);
|
| 72 |
+
PANGO_AVAILABLE_IN_ALL
|
| 73 |
+
void pango_tab_array_resize (PangoTabArray *tab_array,
|
| 74 |
+
gint new_size);
|
| 75 |
+
PANGO_AVAILABLE_IN_ALL
|
| 76 |
+
void pango_tab_array_set_tab (PangoTabArray *tab_array,
|
| 77 |
+
gint tab_index,
|
| 78 |
+
PangoTabAlign alignment,
|
| 79 |
+
gint location);
|
| 80 |
+
PANGO_AVAILABLE_IN_ALL
|
| 81 |
+
void pango_tab_array_get_tab (PangoTabArray *tab_array,
|
| 82 |
+
gint tab_index,
|
| 83 |
+
PangoTabAlign *alignment,
|
| 84 |
+
gint *location);
|
| 85 |
+
PANGO_AVAILABLE_IN_ALL
|
| 86 |
+
void pango_tab_array_get_tabs (PangoTabArray *tab_array,
|
| 87 |
+
PangoTabAlign **alignments,
|
| 88 |
+
gint **locations);
|
| 89 |
+
|
| 90 |
+
PANGO_AVAILABLE_IN_ALL
|
| 91 |
+
gboolean pango_tab_array_get_positions_in_pixels (PangoTabArray *tab_array);
|
| 92 |
+
|
| 93 |
+
PANGO_AVAILABLE_IN_1_50
|
| 94 |
+
void pango_tab_array_set_positions_in_pixels (PangoTabArray *tab_array,
|
| 95 |
+
gboolean positions_in_pixels);
|
| 96 |
+
|
| 97 |
+
PANGO_AVAILABLE_IN_1_50
|
| 98 |
+
char * pango_tab_array_to_string (PangoTabArray *tab_array);
|
| 99 |
+
PANGO_AVAILABLE_IN_1_50
|
| 100 |
+
PangoTabArray * pango_tab_array_from_string (const char *text);
|
| 101 |
+
|
| 102 |
+
PANGO_AVAILABLE_IN_1_50
|
| 103 |
+
void pango_tab_array_set_decimal_point (PangoTabArray *tab_array,
|
| 104 |
+
int tab_index,
|
| 105 |
+
gunichar decimal_point);
|
| 106 |
+
PANGO_AVAILABLE_IN_1_50
|
| 107 |
+
gunichar pango_tab_array_get_decimal_point (PangoTabArray *tab_array,
|
| 108 |
+
int tab_index);
|
| 109 |
+
|
| 110 |
+
PANGO_AVAILABLE_IN_1_50
|
| 111 |
+
void pango_tab_array_sort (PangoTabArray *tab_array);
|
| 112 |
+
|
| 113 |
+
G_DEFINE_AUTOPTR_CLEANUP_FUNC(PangoTabArray, pango_tab_array_free)
|
| 114 |
+
|
| 115 |
+
G_END_DECLS
|
| 116 |
+
|
| 117 |
+
#endif /* __PANGO_TABS_H__ */
|