Sha256: b90377e35a474a844c0157a307c3c8707bdc602df379bf5264e1e4b2619171ad
Contents?: true
Size: 732 Bytes
Versions: 2
Compression:
Stored size: 732 Bytes
Contents
#ifndef SPYGLASS_SIZE_H_ #define SPYGLASS_SIZE_H_ #include "spyglass.h" namespace Spyglass { SG_GEN_GET_OBJECT_FUNCTION(SG_GET_SIZE, cv::Size); namespace Size { void define_ruby_class(); VALUE get_ruby_class(); static VALUE rb_alloc(VALUE self); static void rb_free(cv::Size *size); static VALUE rb_initialize(VALUE self, VALUE width, VALUE height); static VALUE rb_get_area(VALUE self); static VALUE rb_get_width(VALUE self); static VALUE rb_get_height(VALUE self); static VALUE rb_set_width(VALUE self, VALUE width); static VALUE rb_set_height(VALUE self, VALUE height); VALUE from_cvmat(cv::Mat *mat); VALUE from_cvrect(cv::Rect *rect); } } #endif // SPYGLASS_SIZE_H_
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
spyglass-0.0.5.1 | ext/spyglass/size.h |
spyglass-0.0.5 | ext/spyglass/size.h |