X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;f=lib%2Fredact%2Fpart.rb;h=60822d11402f70ea7b4f879db24f3adf44d5c31d;hb=65d027a0b57b6d97cc73e55ea703e17aae623da3;hp=3446de26c7d41b88007521d1fae4bfbd10f7d748;hpb=237a825fb05bc8d9128c8711aa46e112a5b91c62;p=redact.git diff --git a/lib/redact/part.rb b/lib/redact/part.rb index 3446de2..60822d1 100644 --- a/lib/redact/part.rb +++ b/lib/redact/part.rb @@ -1,6 +1,4 @@ #-- -# $Id: part.rb 70 2005-09-21 15:56:55Z tilman $ -# # Copyright (c) 2005 Tilman Sauerbeck (tilman at code-monkey de) # # Permission is hereby granted, free of charge, to any person obtaining @@ -500,19 +498,19 @@ module Redact @fill_smooth = (v == true) end - def fill_pos_rel=(x, y) + def set_fill_pos_rel(x, y) @fill_pos_rel = [x.to_f, y.to_f] end - def fill_pos_abs=(x, y) + def set_fill_pos_abs(x, y) @fill_pos_abs = [x.to_i, y.to_i] end - def fill_rel=(x, y) + def set_fill_rel(x, y) @fill_rel = [x.to_f, y.to_f] end - def fill_abs=(x, y) + def set_fill_abs(x, y) @fill_abs = [x.to_i, y.to_i] end