Debian Codegraph @

docs/locales/ja/LC_MESSAGES/recipes-drawing-and-graphics.po

raw
1 # PyMuPDF Japanese documentation
2 # Copyright (C) 2015-2023, Artifex
3 # This file is distributed under the same license as the PyMuPDF package.
4 # Jamie Lemon <[email protected]>, 2023.
5 #
6 #, fuzzy
7 msgid ""
8 msgstr ""
9 "Project-Id-Version: PyMuPDF 1.23.0rc1\n"
10 "Report-Msgid-Bugs-To: \n"
11 "POT-Creation-Date: 2025-04-17 15:00+0100\n"
12 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
13 "Last-Translator: Suzan Sanver <[email protected]>\n"
14 "Language: ja\n"
15 "Language-Team: ja <[email protected]>\n"
16 "Plural-Forms: nplurals=1; plural=0;\n"
17 "MIME-Version: 1.0\n"
18 "Content-Type: text/plain; charset=utf-8\n"
19 "Content-Transfer-Encoding: 8bit\n"
20 "Generated-By: Babel 2.10.3\n"
21
22 #: ../../header.rst:-1 cb49434c487144e990e8778af438e31c
23 msgid "Artifex"
24 msgstr ""
25
26 #: ../../header.rst:-1 b51ec2c5bec0471caa6c704e84d440e8
27 msgid ""
28 "PyMuPDF is a high-performance Python library for data extraction, "
29 "analysis, conversion & manipulation of PDF (and other) documents."
30 msgstr "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。"
31
32 #: ../../header.rst:-1 5049a6512fcf48e592552896861b4264
33 msgid ""
34 "PDF Text Extraction, PDF Image Extraction, PDF Conversion, PDF Tables, "
35 "PDF Splitting, PDF Creation, Pyodide, PyScript"
36 msgstr "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript"
37
38 #: ../../recipes-drawing-and-graphics.rst:7 c0b1ffca482b4acc93f866d4c279b9d4
39 msgid "Drawing and Graphics"
40 msgstr "描画とグラフィックス"
41
42 #: ../../recipes-drawing-and-graphics.rst:11 cead69fa4d944be19c81d6669a194971
43 msgid ""
44 "When the terms \"Drawings\" or \"Graphics\" are mentioned here we are "
45 "referring to \"Vector Graphics\" or \"Line Art\"."
46 msgstr "ここで「Drawings」や「Graphics」という用語が言及されている場合、それは「ベクトルグラフィックス」や「線画」を指しています。"
47
48 #: ../../recipes-drawing-and-graphics.rst:13 688ad77eb281436f8d8c2e421a35ccae
49 msgid "Therefore please consider these terms as being synonymous!"
50 msgstr "したがって、これらの用語を同義語として考えてください。"
51
52 #: ../../recipes-drawing-and-graphics.rst:16 d4e85709e4c54144a43b7930cee0c0b5
53 msgid ""
54 "PDF files support elementary drawing operations as part of their syntax. "
55 "These are **vector graphics** and include basic geometrical objects like "
56 "lines, curves, circles, rectangles including specifying colors."
57 msgstr "PDFファイルは、その構文の一部として基本的な描画操作をサポートしています。これらは**ベクトルグラフィックス**であり、線、曲線、円、長方形などの基本的な幾何学的オブジェクトを含み、色の指定も可能です。"
58
59 #: ../../recipes-drawing-and-graphics.rst:18 9cd89e5c62e34160bf2adcbf9cb4d393
60 msgid ""
61 "The syntax for such operations is defined in \"A Operator Summary\" on "
62 "page 643 of the :ref:`AdobeManual`. Specifying these operators for a PDF "
63 "page happens in its :data:`contents` objects."
64 msgstr ""
65 "このような操作の構文は、:ref:`AdobeManual` の「A Operator "
66 "Summary」のページ643で定義されています。PDFページのためのこれらのオペレータは、その内容 "
67 "(:data:`contents`)オブジェクト内で指定されます。"
68
69 #: ../../recipes-drawing-and-graphics.rst:20 4a3ebf96479040d49b72aa665e43f8a3
70 msgid ""
71 "|PyMuPDF| implements a large part of the available features via its "
72 ":ref:`Shape` class, which is comparable to notions like \"canvas\" in "
73 "other packages (e.g. `reportlab <https://pypi.org/project/reportlab/>`_)."
74 msgstr ""
75 "PyMuPDFは、 :ref:`Shape` クラスを介して利用可能な多くの機能を実装しており、これは他のパッケージ(例: `reportlab "
76 "<https://pypi.org/project/reportlab/>`_ など)の「キャンバス」のような概念と類似しています。"
77
78 #: ../../recipes-drawing-and-graphics.rst:22 1bcec4ef8d0a4c69a61128221389abfa
79 msgid ""
80 "A shape is always created as a **child of a page**, usually with an "
81 "instruction like `shape = page.new_shape()`. The class defines numerous "
82 "methods that perform drawing operations on the page's area. For example, "
83 "`last_point = shape.draw_rect(rect)` draws a rectangle along the borders "
84 "of a suitably defined `rect = pymupdf.Rect(...)`."
85 msgstr ""
86 "シェイプは常にページの子として作成され、通常は `shape = page.new_shape()` "
87 "のような命令で行います。このクラスは、ページの領域に描画操作を実行するための多数のメソッドを定義しています。たとえば、 `last_point ="
88 " shape.draw_rect(rect)` は、適切に定義された `rect = pymupdf.Rect(…)` "
89 "の境界に沿って四角形を描画します。"
90
91 #: ../../recipes-drawing-and-graphics.rst:24 522b5200167c42fc91bcda96ab482884
92 msgid ""
93 "The returned *last_point* **always** is the :ref:`Point` where drawing "
94 "operation ended (\"last point\"). Every such elementary drawing requires "
95 "a subsequent :meth:`Shape.finish` to \"close\" it, but there may be "
96 "multiple drawings which have one common ``finish()`` method."
97 msgstr ""
98 "返されるlast_pointは常に描画操作が終了する :ref:`Point` "
99 "(「最後のポイント」)です。このような基本的な描画ごとに、それを「閉じる」ために :meth:`Shape.finish` "
100 "が必要ですが、1つの共通の``finish()``メソッドを持つ複数の描画があるかもしれません。"
101
102 #: ../../recipes-drawing-and-graphics.rst:26 a1a6cf576e374185b575ac29ef915ceb
103 msgid ""
104 "In fact, :meth:`Shape.finish` *defines* a group of preceding draw "
105 "operations to form one -- potentially rather complex -- graphics object. "
106 "|PyMuPDF| provides several predefined graphics in `shapes_and_symbols.py "
107 "<https://github.com/pymupdf/PyMuPDF-"
108 "Utilities/blob/master/shapes/shapes_and_symbols.py>`_ which demonstrate "
109 "how this works."
110 msgstr ""
111 "実際には、 :meth:`Shape.finish` "
112 "は、1つの(潜在的に非常に複雑な)グラフィックオブジェクトを形成するための前の描画操作のグループを定義します。PyMuPDFは、これがどのように機能するかを示す"
113 " `shapes_and_symbols.py <https://github.com/pymupdf/PyMuPDF-"
114 "Utilities/blob/master/shapes/shapes_and_symbols.py>`_ "
115 "内のいくつかの事前定義されたグラフィックスを提供しています。"
116
117 #: ../../recipes-drawing-and-graphics.rst:28 6682ec89ed0243e1a7c05a40ab825358
118 msgid ""
119 "If you import this script, you can also directly use its graphics as in "
120 "the following example::"
121 msgstr "このスクリプトをインポートすると、次の例のようにそのグラフィックスを直接使用することもできます::"
122
123 #: ../../recipes-drawing-and-graphics.rst:86 ccbd2af5bfaa46dcbe5f2f15e412fc23
124 msgid "This is the script's outcome:"
125 msgstr "これがスクリプトの結果です:"
126
127 #: ../../recipes-drawing-and-graphics.rst:97 65b162adbc52489e95a0170bada6afe9
128 msgid "How to Extract Drawings"
129 msgstr "描画の抽出方法"
130
131 #: ../../recipes-drawing-and-graphics.rst:99 8373533f008548a89798eddeba96f9d8
132 msgid "New in v1.18.0"
133 msgstr "v1.18.0で新登場"
134
135 #: ../../recipes-drawing-and-graphics.rst:101 0acd4de5d8554ebaa10b1347a50cf1de
136 msgid ""
137 "Drawing commands (**vector graphics**) issued by a page can be extracted "
138 "as a list of dictionaries. Interestingly, this is possible for :ref:`all "
139 "supported document types<Supported_File_Types>` -- not just PDF: so you "
140 "can use it for XPS, EPUB and others as well."
141 msgstr ""
142 "ページから発行された描画コマンドを抽出できます。興味深いことに、これはすべての :ref:`サポートされている "
143 "<Supported_File_Types>` ドキュメントタイプに対して可能です – PDFだけでなく、XPS、EPUBなどにも使用できます。"
144
145 #: ../../recipes-drawing-and-graphics.rst:103 7a07bc7541854578ad35f95ad5dfc330
146 msgid ""
147 "Page method, :meth:`Page.get_drawings()` accesses draw commands and "
148 "converts them into a list of Python dictionaries. Each dictionary -- "
149 "called a \"path\" -- represents a separate drawing -- it may be simple "
150 "like a single line, or a complex combination of lines and curves "
151 "representing one of the shapes of the previous section."
152 msgstr ""
153 ":ref:`Page` メソッド、:meth:`Page.get_drawings()` "
154 "は描画コマンドにアクセスし、それらをPythonの辞書のリストに変換します。各辞書 – 「パス」と呼ばれる – は個別の描画を表します – "
155 "それは単純な単一の線であるか、前のセクションの形状の1つを表す線と曲線の複雑な組み合わせであるかもしれません。"
156
157 #: ../../recipes-drawing-and-graphics.rst:105 7ffb5ff050964de093cfe20336fa283d
158 msgid ""
159 "The *path* dictionary has been designed such that it can easily be used "
160 "by the :ref:`Shape` class and its methods. Here is an example for a page "
161 "with one path, that draws a red-bordered yellow circle inside rectangle "
162 "`Rect(100, 100, 200, 200)`::"
163 msgstr ""
164 "パスの辞書は、 :ref:`Shape` "
165 "クラスとそのメソッドで簡単に使用できるように設計されています。以下は、1つのパスを持つページの例で、そのパスは `Rect(100, 100, "
166 "200, 200)` の内側に赤い境界線の黄色い円を描画します::"
167
168 #: ../../recipes-drawing-and-graphics.rst:140 c1f4f56de6e1441f988e21f4184bed57
169 msgid ""
170 "You need (at least) 4 Bézier curves (of 3rd order) to draw a circle with "
171 "acceptable precision. See this `Wikipedia article "
172 "<https://en.wikipedia.org/wiki/B%C3%A9zier_curve>`_ for some background."
173 msgstr ""
174 "適切な精度で円を描画するには、(少なくとも)4つの3次ベジエ曲線が必要です。背景については、この `Wikipediaの記事 "
175 "<https://en.wikipedia.org/wiki/B%C3%A9zier_curve>`_ を参照してください。"
176
177 #: ../../recipes-drawing-and-graphics.rst:143 be59d541be214b669a9c6663ca6abcd1
178 msgid ""
179 "The following is a code snippet which extracts the drawings of a page and"
180 " re-draws them on a new page::"
181 msgstr "以下は、ページの描画を抽出し、それらを新しいページに再描画するコードの断片です::"
182
183 #: ../../recipes-drawing-and-graphics.rst:194 660c9c99b6864b26ad3a377cf1d1f343
184 msgid ""
185 "As can be seen, there is a high congruence level with the :ref:`Shape` "
186 "class. With one exception: For technical reasons `lineCap` is a tuple of "
187 "3 numbers here, whereas it is an integer in :ref:`Shape` (and in PDF). So"
188 " we simply take the maximum value of that tuple."
189 msgstr ""
190 "ご覧の通り、 :ref:`Shape` クラスとの高い一致度があります。ただし1つ例外があります。技術的な理由から、ここでは `lineCap` "
191 "は3つの数字のタプルですが、 :ref:`Shape` クラス(およびPDF内)では整数です。そのため、そのタプルの最大値を単純に取得します。"
192
193 #: ../../recipes-drawing-and-graphics.rst:196 d8e69210bfb24c3ebf97b7efbc549af6
194 msgid ""
195 "Here is a comparison between input and output of an example page, created"
196 " by the previous script:"
197 msgstr "以下は、前のスクリプトで作成された例のページの入力と出力の比較です。"
198
199 #: ../../recipes-drawing-and-graphics.rst:201 9fc8264dcf1f4bfd98a7c1ad1aa9aee3
200 msgid ""
201 "The reconstruction of graphics, like shown here, is not perfect. The "
202 "following aspects will not be reproduced as of this version:"
203 msgstr "ここに示されているようなグラフィックスの再構築は完璧ではありません。次の点は、このバージョンでは再現されません:"
204
205 #: ../../recipes-drawing-and-graphics.rst:203 8166cbf0fbaf40bb8343e4d7155fc0ce
206 msgid ""
207 "Page definitions can be complex and include instructions for not showing "
208 "/ hiding certain areas to keep them invisible. Things like this are "
209 "ignored by :meth:`Page.get_drawings` - it will always return all paths."
210 msgstr ""
211 "ページの定義は複雑になる可能性があり、特定の領域を表示しない/非表示にするための指示を含むことがあります。こうしたことは、 "
212 ":meth:`Page.get_drawings` によって無視されます – このメソッドは常にすべてのパスを返します。"
213
214 #: ../../recipes-drawing-and-graphics.rst:205 fd360aa336ff48d2b72658c63221a561
215 msgid ""
216 "You can use the path list to make your own lists of e.g. all lines or all"
217 " rectangles on the page and subselect them by criteria, like color or "
218 "position on the page etc."
219 msgstr "パスのリストを使用して、ページ上のすべての線またはすべての四角形などのリストを作成し、色やページ上の位置などの基準でサブセレクトすることができます。"
220
221 #: ../../recipes-drawing-and-graphics.rst:210 93b3944bb9e543f48ca901f90fb021e4
222 msgid "How to Delete Drawings"
223 msgstr "描画の削除方法"
224
225 #: ../../recipes-drawing-and-graphics.rst:212 094bb3cfc57b4461b8e1fea1652d63a5
226 msgid ""
227 "To delete drawings/vector graphics we must use a :ref:`Redaction "
228 "Annotation <The_Basics_Redacting>` with the bounding box of the drawing "
229 "and then **add and apply** a redaction to it to delete it."
230 msgstr ""
231 "描画やベクトルグラフィックスを削除するには、その描画の境界ボックスを持つ "
232 ":ref:`赤字アノテーション<The_Basics_Redacting>` を使用し、それに赤字を **追加して適用する** 必要があります。"
233
234 #: ../../recipes-drawing-and-graphics.rst:215 2f4f8d0e3e694181a5ce64ea3ccbe672
235 msgid ""
236 "The following code shows an example of deleting the first drawing found "
237 "on the page::"
238 msgstr "以下のコードは、ページ上で最初に見つかった描画を削除する例を示しています:"
239
240 #: ../../recipes-drawing-and-graphics.rst:225 edf0ff01d38248c8b9f6608213f47b52
241 msgid ""
242 "See :meth:`Page.apply_redactions` for the parameter options which can be "
243 "sent - you are able to apply deletion options to image, drawing and text "
244 "objects which are bound by the annotation area."
245 msgstr ""
246 ":meth:`Page.apply_redactions` "
247 "には送信できるパラメータオプションがあります。アノテーション領域によって境界付けられたイメージ、描画、テキストオブジェクトに削除オプションを適用できます。"
248
249 #: ../../recipes-drawing-and-graphics.rst:229 ada7ddfefd1344ee94d178c3df118ae1
250 msgid "How to Draw Graphics"
251 msgstr "グラフィックスを描画する方法"
252
253 #: ../../recipes-drawing-and-graphics.rst:231 4606dbe6b222488fac1f4948be78ee37
254 msgid ""
255 "Drawing graphics is as simple as calling the type of :meth:`Drawing "
256 "Method <Page.draw_line>` you may want. You can draw graphics directly on "
257 "pages or within shape objects."
258 msgstr ""
259 "グラフィックスを描画することは、必要な :meth:`描画方法 <Page.draw_line>` "
260 "の種類を呼び出すだけです。グラフィックスは、ページ上または形状オブジェクト内に直接描画できます。"
261
262 #: ../../recipes-drawing-and-graphics.rst:234 55d0693f8fc14f2e8744839a6f7afe99
263 msgid "For example, to draw a circle::"
264 msgstr "例えば、円を描画するには:"
265
266 #: ../../recipes-drawing-and-graphics.rst:245 1426496584b041f18b185bc3ee064f75
267 msgid ""
268 "The :ref:`Shape` object can be used to combine multiple drawings that "
269 "should receive common properties as specified by :meth:`Shape.finish`."
270 msgstr ""
271 ":ref:`Shape` オブジェクトは、:meth:`Shape.finish` "
272 "で指定された共通のプロパティを受け取る必要がある複数の描画を組み合わせるために使用できます。"
273
274 #: ../../footer.rst:60 15d9c97491bd46d9806555b60b5da2ed
275 msgid "This documentation covers all versions up to |version|."
276 msgstr "このドキュメントは |version| までのすべてのバージョンを対象としています。"
277
278 #~ msgid "PyMuPDF は、PDF (およびその他の)ドキュメントのデータ抽出、分析、変換、操作のための高性能な Python ライブラリです。"
279 #~ msgstr ""
280
281 #~ msgid "PDFテキスト抽出、PDFイメージ抽出、PDF変換、PDFテーブル、PDF分割、PDF作成, Pyodide, PyScript"
282 #~ msgstr ""
283
284 #~ msgid "Discord logo"
285 #~ msgstr ""
286