24 25 26
# File 'lib/sdl2_rect.rb', line 24 def self.RectEmpty(r) return (!r.null? || (r.w <= 0) || (r.h <= 0)) ? 1 : 0 end