Class: Painter::ImageStruct
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Painter::ImageStruct
- Defined in:
- lib/painter/image_struct.rb
Constant Summary collapse
- MAXCOLORS =
256
Instance Method Summary collapse
Instance Method Details
#x ⇒ Object
28 29 30 |
# File 'lib/painter/image_struct.rb', line 28 def x self[:sx] end |
#y ⇒ Object
31 32 33 |
# File 'lib/painter/image_struct.rb', line 31 def y self[:sy] end |