moved image rescaler to lib/gfximage.c
[swftools.git] / spec / layers.spec.rb
1 require File.dirname(__FILE__) + '/spec_helper'
2
3 describe "pdf conversion" do
4
5   convert_file "layers.pdf" do
6     pixel_at(67,134).should_be_of_color 0x00ffff
7     pixel_at(299,182).should_be_of_color 0x00ffff
8     pixel_at(144,215).should_be_of_color 0x00ffff
9     pixel_at(206,203).should_be_of_color 0x00ffff
10     pixel_at(243,196).should_be_of_color 0x00ffff
11     pixel_at(270,190).should_be_of_color 0x00ffff
12     pixel_at(114,220).should_be_of_color 0x00ffff
13     pixel_at(406,161).should_be_of_color 0x00ffff
14     pixel_at(398,201).should_be_of_color 0x00ffff
15     pixel_at(438,211).should_be_of_color 0x0000ff
16     pixel_at(499,216).should_be_of_color 0xffff00
17     pixel_at(498,223).should_be_of_color 0x00ffff
18     pixel_at(515,175).should_be_of_color 0xffff00
19     pixel_at(458,185).should_be_of_color 0x0000ff
20     pixel_at(541,138).should_be_of_color 0xffff00
21     pixel_at(433,158).should_be_of_color 0x0000ff
22     area_at(431,155,485,212).should_be_plain_colored
23     pixel_at(103,184).should_be_of_color 0x000000
24     pixel_at(505,84).should_be_of_color 0xffff00
25     pixel_at(314,149).should_be_of_color 0xffffff
26   end
27 end