Sha256: 79a3936a01251434904c7e74e29af91df571cd994088c6b21acf6f59d609c7a6

Contents?: true

Size: 829 Bytes

Versions: 1

Compression:

Stored size: 829 Bytes

Contents

o:$YARD::CodeObjects::MethodObject:
@name:reset_region:@docstringIC:YARD::Docstring":@objectu:YARD::StubProxyPhotoCanvas#reset_region:
@summary0:@line_range0:
@tags[:	@all":@ref_tags[:
@linei
:@visibility:public:@files[["$ext/tk/sample/figmemo_sample.rbi
;[:@parameters[:
@dynamicT:
@path"PhotoCanvas#reset_region:@source_type:	ruby:@explicitT:@signature"def reset_region:@source"Qdef reset_region
  width = @photo.width
  height = @photo.height

  if width > @scr_region[2]
    @scr_region[0] = -width
    @scr_region[2] = width
  end

  if height > @scr_region[3]
    @scr_region[1] = -height
    @scr_region[3] = height
  end

  self.scrollregion(@scr_region)
  self.xview_moveto(0.25)
  self.yview_moveto(0.25)
end:@namespaceu;PhotoCanvas:@scope:
instance:@current_file_has_commentsF

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pry-0.6.9pre1-i386-mingw32 lib/pry/stdlib_docs18/objects/PhotoCanvas/reset_region_i.dat