File: test_quartz_image_surface.rb

package info (click to toggle)
ruby-cairo 1.17.13-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,532 kB
  • sloc: ruby: 11,997; ansic: 10,183; sh: 48; makefile: 4
file content (15 lines) | stat: -rw-r--r-- 369 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class QuartzImageSurfaceTest < Test::Unit::TestCase
  include Helper

  def setup
    only_surface("QuartzImage")
  end

  def test_quartz_image_surface
    Cairo::ImageSurface.create(100, 100) do |surface|
      Cairo::QuartzImageSurface.create(surface) do |quartz_surface|
        assert_kind_of(Cairo::QuartzImageSurface, quartz_surface)
      end
    end
  end
end