Sha256: 04c8f11e40208c467ff0f75e7ca0fd059a3c722635f3f24aa3949181251a5717
Contents?: true
Size: 427 Bytes
Versions: 2
Compression:
Stored size: 427 Bytes
Contents
# TODO: Revisar el nombre de estos metodos class CGSize def half_width width / 2 end def double_width width * 2 end def half_height height / 2 end def double_height height * 2 end def to_pixel_coordinates CGSizeMake(self.width.to_pixels, self.height.to_pixels) end def from_pixel_coordinates CGSizeMake(self.width.from_pixels, self.height.from_pixels) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
joybox-1.0.0 | motion/joybox/common/gc_size.rb |
joybox-0.0.6 | motion/joybox/common/gc_size.rb |