module Winop - tk-0.2.0 Documentation

# module Winop

### Constants

TkCommandNames

### Private Class Methods

changes(win) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 20
    def changes(win)
      tk_call('::blt::winop', 'changes', win)
    end

colormap(win) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 24
    def colormap(win)
      Hash[*list(tk_call('::blt::winop', 'colormap', win))]
    end

convolve(src, dest, filter) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 28
    def convolve(src, dest, filter)
      tk_call('::blt::winop', 'convolve', src, dest, filter)
    end

image_convolve(src, dest, filter) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 32
    def image_convolve(src, dest, filter)
      tk_call('::blt::winop', 'image', 'convolve', src, dest, filter)
    end

image_gradient(photo, left, right, type) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 35
    def image_gradient(photo, left, right, type)
      tk_call('::blt::winop', 'image', 'gradient', photo, left, right, type)
    end

image_read_jpeg(file, photo) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 38
    def image_read_jpeg(file, photo)
      tk_call('::blt::winop', 'image', 'readjpeg', file, photo)
    end

image_resample(src, dest, horiz_filter=None, vert_filter=None) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 41
    def image_resample(src, dest, horiz_filter=None, vert_filter=None)
      tk_call('::blt::winop', 'image', 'resample',
              src, dest, horiz_filter, vert_filter)
    end

image_rotate(src, dest, angle) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 45
    def image_rotate(src, dest, angle)
      tk_call('::blt::winop', 'image', 'rotate', src, dest, angle)
    end

image_snap(win, photo, width=None, height=None) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 48
    def image_snap(win, photo, width=None, height=None)
      tk_call('::blt::winop', 'image', 'snap', win, photo, width, height)
    end

image_subsample(src, dest, x, y, width, height, horiz_filter=None, vert_filter=None) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 51
    def image_subsample(src, dest, x, y, width, height,
                        horiz_filter=None, vert_filter=None)
      tk_call('::blt::winop', 'image', 'subsample',
              src, dest, x, y, width, height, horiz_filter, vert_filter)
    end

lower(*wins) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 84
    def lower(*wins)
      tk_call('::blt::winop', 'lower', *wins)
    end

map(*wins) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 88
    def map(*wins)
      tk_call('::blt::winop', 'map', *wins)
    end

move(win, x, y) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 96
    def move(win, x, y)
      tk_call('::blt::winop', 'move', win, x, y)
    end

quantize(src, dest, colors) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 57
    def quantize(src, dest, colors)
      tk_call('::blt::winop', 'quantize', src, dest, colors)
    end

query() click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 61
    def query()
      tk_call('::blt::winop', 'query')
    end

raise(*wins) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 80
    def raise(*wins)
      tk_call('::blt::winop', 'raise', *wins)
    end

read_jpeg(file, photo) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 65
    def read_jpeg(file, photo)
      tk_call('::blt::winop', 'readjpeg', file, photo)
    end

resample(src, dest, horiz_filter=None, vert_filter=None) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 69
    def resample(src, dest, horiz_filter=None, vert_filter=None)
      tk_call('::blt::winop', 'resample',
              src, dest, horiz_filter, vert_filter)
    end

snap(win, photo) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 100
    def snap(win, photo)
      tk_call('::blt::winop', 'snap', win, photo)
    end

subsample(src, dest, x, y, width, height, horiz_filter=None, vert_filter=None) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 74
    def subsample(src, dest, x, y, width, height,
                  horiz_filter=None, vert_filter=None)
      tk_call('::blt::winop', 'subsample',
              src, dest, x, y, width, height, horiz_filter, vert_filter)
    end

unmap(*wins) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 92
    def unmap(*wins)
      tk_call('::blt::winop', 'unmap', *wins)
    end

warp_to(win = None)
Alias for: warpto
warpto(win = None) click to toggle source

    # File lib/tkextlib/blt/winop.rb, line 104
    def warpto(win = None)
      tk_call('::blt::winop', 'warpto', win)
    end

Also aliased as: warp_to