Skip to content

Commit 5ea83a7

Browse files
committed
Fix #78370: imagefilltoborder does not fill
1 parent bbe37fb commit 5ea83a7

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

reference/image/functions/imagefilltoborder.xml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: 1faec0faeb2235f5816d153f8c61a62443c26fce Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 4b4883c70a4a4bd73e4a0c437432127514176c79 Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: shimooka -->
55
<refentry xml:id="function.imagefilltoborder" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -110,6 +110,20 @@ imagedestroy($im);
110110
</example>
111111
</para>
112112
</refsect1>
113+
114+
<refsect1 role="notes">
115+
&reftitle.notes;
116+
<simpara>
117+
塗りつぶしのアルゴリズムは、
118+
どのピクセルが既に設定されているかについて明示的に記憶しません。
119+
むしろピクセルの色からそれを推測しようとします。
120+
よって、そのピクセルが既に存在していたものか、
121+
新たに設定されたものなのかは区別できません。
122+
これは、画像で既に使われている色で画像を塗りつぶそうとすると、
123+
望ましくない結果が得られることがあるということです。
124+
</simpara>
125+
</refsect1>
126+
113127
</refentry>
114128

115129
<!-- Keep this comment at the end of the file

0 commit comments

Comments
 (0)