Top | ![]() |
![]() |
![]() |
![]() |
void gdkcut_pixbuf_assert_equal (const GdkPixbuf *expected
,const GdkPixbuf *actual
,guint threshold
,...
);
Passes if expected
== actual
. If difference of each
corresponding pixel value is within threshold, expected
and actual
are treated as equal image.
If threshold is 3, pixel value of expected
at (1, 1) is
127 and pixel value of actual
at (1, 1) is 131, actual
doesn't equals to expected
. If pixel value of actual
at
(1, 1) is 130, actual
may equal to expected
. (All other
corresponding pixel values are needed to fill this
condition.)
expected |
期待するGdkPixbuf。 |
|
actual |
実際のGdkPixbuf。 |
|
threshold |
ピクセルの違いを検出するために使われるしきい値。 |
|
... |
追加メッセージ(省略可能)。詳細は |
Since: 1.0.5