bitmap-plus-plus 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/CHANGELOG.md +40 -0
- data/LICENSE +25 -0
- data/README.md +75 -0
- data/examples/colormaps.rb +1857 -0
- data/examples/draw_primitives.rb +53 -0
- data/examples/julia.rb +68 -0
- data/examples/mandelbrot.rb +68 -0
- data/examples/random_colors.rb +37 -0
- data/examples/transformations.rb +84 -0
- data/ext/BitmapPlusPlus-rb.cpp +420 -0
- data/ext/BitmapPlusPlus-rb.hpp +11 -0
- data/ext/BitmapPlusPlus.hpp +659 -0
- data/ext/CMakeLists.txt +170 -0
- data/ext/CMakePresets.json +209 -0
- data/lib/bitmap-plus-plus/version.rb +3 -0
- data/lib/bitmap-plus-plus.rb +3 -0
- data/sig/Bmp/Bitmap.rbs +39 -0
- data/sig/Bmp/BitmapHeader.rbs +22 -0
- data/sig/Bmp/Exception.rbs +5 -0
- data/sig/Bmp/Pixel.rbs +16 -0
- data/sig/Rice/Arg.rbs +6 -0
- data/sig/Rice/Buffer/342/211/272Rice/352/236/211/352/236/211detail/352/236/211/352/236/211ParameterAbstract/342/210/227/342/211/273.rbs +15 -0
- data/sig/Rice/Buffer/342/211/272char/342/211/273.rbs +16 -0
- data/sig/Rice/ModuleRegistry.rbs +5 -0
- data/sig/Rice/Native.rbs +9 -0
- data/sig/Rice/NativeKind.rbs +20 -0
- data/sig/Rice/NativeRegistry.rbs +5 -0
- data/sig/Rice/Parameter.rbs +7 -0
- data/sig/Rice/Pointer/342/211/272Rice/352/236/211/352/236/211detail/352/236/211/352/236/211ParameterAbstract/342/210/227/342/211/273.rbs +5 -0
- data/sig/Rice/Pointer/342/211/272char/342/211/273.rbs +5 -0
- data/sig/Rice/Reference/342/211/272char/342/211/273.rbs +6 -0
- data/sig/Rice/Reference/342/211/272int/342/211/273.rbs +6 -0
- data/sig/Rice/Reference/342/211/272unsigned/302/240Int64/342/211/273.rbs +6 -0
- data/sig/Rice/Registries.rbs +8 -0
- data/sig/Rice/TypeRegistry.rbs +5 -0
- data/sig/Std/Exception.rbs +6 -0
- data/sig/Std/Filesystem/Path.rbs +6 -0
- data/sig/Std/RuntimeError.rbs +6 -0
- data/sig/Std/Vector/342/211/272Rice/352/236/211/352/236/211detail/352/236/211/352/236/211ParameterAbstract/302/240const/342/210/227/342/211/273.rbs +33 -0
- metadata +116 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
module Std
|
|
2
|
+
class Vector≺Rice꞉꞉detail꞉꞉ParameterAbstract const∗≻
|
|
3
|
+
def initialize: () -> NilClass
|
|
4
|
+
| (arg_0: Integer) -> NilClass
|
|
5
|
+
| (arg_0: Array) -> NilClass
|
|
6
|
+
| (arg_0: Integer, arg_1: Rice::Parameter) -> NilClass
|
|
7
|
+
def ==: (arg_0: Std::Vector≺Rice꞉꞉detail꞉꞉ParameterAbstract const∗≻) -> TrueClass
|
|
8
|
+
def []: (arg_0: Integer) -> Rice::Parameter
|
|
9
|
+
| (arg_0: Integer, arg_1: Integer) -> Integer
|
|
10
|
+
def []=: (arg_0: Integer, arg_1: Rice::Parameter) -> NilClass
|
|
11
|
+
def capacity: () -> Integer
|
|
12
|
+
def data: () -> Rice::Pointer≺Rice꞉꞉detail꞉꞉ParameterAbstract∗≻
|
|
13
|
+
def delete: (arg_0: Rice::Parameter) -> Rice::Parameter
|
|
14
|
+
def delete_at: (arg_0: Integer) -> Rice::Parameter
|
|
15
|
+
def empty?: () -> TrueClass
|
|
16
|
+
def clear: () -> NilClass
|
|
17
|
+
def first: () -> Rice::Parameter
|
|
18
|
+
def include?: (arg_0: Rice::Parameter) -> TrueClass
|
|
19
|
+
def index: (arg_0: Rice::Parameter) -> Integer
|
|
20
|
+
def initialize_copy: (arg_0: Std::Vector≺Rice꞉꞉detail꞉꞉ParameterAbstract const∗≻) -> NilClass
|
|
21
|
+
def insert: (arg_0: Integer, arg_1: Rice::Parameter) -> Std::Vector≺Rice꞉꞉detail꞉꞉ParameterAbstract const∗≻
|
|
22
|
+
def last: () -> Rice::Parameter
|
|
23
|
+
def max_size: () -> Integer
|
|
24
|
+
def pop: () -> Rice::Parameter
|
|
25
|
+
def push: (arg_0: Rice::Parameter) -> Std::Vector≺Rice꞉꞉detail꞉꞉ParameterAbstract const∗≻
|
|
26
|
+
def reserve: (arg_0: Integer) -> NilClass
|
|
27
|
+
def resize: (arg_0: Integer) -> NilClass
|
|
28
|
+
def shrink_to_fit: () -> NilClass
|
|
29
|
+
def size: () -> Integer
|
|
30
|
+
def to_a: () -> Integer
|
|
31
|
+
def to_s: () -> String
|
|
32
|
+
end
|
|
33
|
+
end
|
metadata
ADDED
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: bitmap-plus-plus
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 1.0.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Charlie Savage
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
11
|
+
dependencies:
|
|
12
|
+
- !ruby/object:Gem::Dependency
|
|
13
|
+
name: minitest
|
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
|
15
|
+
requirements:
|
|
16
|
+
- - "~>"
|
|
17
|
+
- !ruby/object:Gem::Version
|
|
18
|
+
version: '5.0'
|
|
19
|
+
type: :development
|
|
20
|
+
prerelease: false
|
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
22
|
+
requirements:
|
|
23
|
+
- - "~>"
|
|
24
|
+
- !ruby/object:Gem::Version
|
|
25
|
+
version: '5.0'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: rake
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '13.0'
|
|
33
|
+
type: :development
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '13.0'
|
|
40
|
+
description: |
|
|
41
|
+
BitmapPlusPlus is a Ruby gem that provides bindings to the BitmapPlusPlus C++ library
|
|
42
|
+
for creating and manipulating 24-bit BMP images. Features include drawing primitives
|
|
43
|
+
(lines, rectangles, triangles, circles), pixel manipulation, image transformations
|
|
44
|
+
(flip, rotate), and file I/O. Uses Rice for C++ to Ruby bindings.
|
|
45
|
+
email:
|
|
46
|
+
- cfis@savagexi.com
|
|
47
|
+
executables: []
|
|
48
|
+
extensions:
|
|
49
|
+
- ext/CMakeLists.txt
|
|
50
|
+
extra_rdoc_files: []
|
|
51
|
+
files:
|
|
52
|
+
- CHANGELOG.md
|
|
53
|
+
- LICENSE
|
|
54
|
+
- README.md
|
|
55
|
+
- examples/colormaps.rb
|
|
56
|
+
- examples/draw_primitives.rb
|
|
57
|
+
- examples/julia.rb
|
|
58
|
+
- examples/mandelbrot.rb
|
|
59
|
+
- examples/random_colors.rb
|
|
60
|
+
- examples/transformations.rb
|
|
61
|
+
- ext/BitmapPlusPlus-rb.cpp
|
|
62
|
+
- ext/BitmapPlusPlus-rb.hpp
|
|
63
|
+
- ext/BitmapPlusPlus.hpp
|
|
64
|
+
- ext/CMakeLists.txt
|
|
65
|
+
- ext/CMakePresets.json
|
|
66
|
+
- lib/bitmap-plus-plus.rb
|
|
67
|
+
- lib/bitmap-plus-plus/version.rb
|
|
68
|
+
- sig/Bmp/Bitmap.rbs
|
|
69
|
+
- sig/Bmp/BitmapHeader.rbs
|
|
70
|
+
- sig/Bmp/Exception.rbs
|
|
71
|
+
- sig/Bmp/Pixel.rbs
|
|
72
|
+
- sig/Rice/Arg.rbs
|
|
73
|
+
- sig/Rice/Buffer≺Rice꞉꞉detail꞉꞉ParameterAbstract∗≻.rbs
|
|
74
|
+
- sig/Rice/Buffer≺char≻.rbs
|
|
75
|
+
- sig/Rice/ModuleRegistry.rbs
|
|
76
|
+
- sig/Rice/Native.rbs
|
|
77
|
+
- sig/Rice/NativeKind.rbs
|
|
78
|
+
- sig/Rice/NativeRegistry.rbs
|
|
79
|
+
- sig/Rice/Parameter.rbs
|
|
80
|
+
- sig/Rice/Pointer≺Rice꞉꞉detail꞉꞉ParameterAbstract∗≻.rbs
|
|
81
|
+
- sig/Rice/Pointer≺char≻.rbs
|
|
82
|
+
- sig/Rice/Reference≺char≻.rbs
|
|
83
|
+
- sig/Rice/Reference≺int≻.rbs
|
|
84
|
+
- sig/Rice/Reference≺unsigned Int64≻.rbs
|
|
85
|
+
- sig/Rice/Registries.rbs
|
|
86
|
+
- sig/Rice/TypeRegistry.rbs
|
|
87
|
+
- sig/Std/Exception.rbs
|
|
88
|
+
- sig/Std/Filesystem/Path.rbs
|
|
89
|
+
- sig/Std/RuntimeError.rbs
|
|
90
|
+
- sig/Std/Vector≺Rice꞉꞉detail꞉꞉ParameterAbstract const∗≻.rbs
|
|
91
|
+
homepage: https://github.com/ruby-rice/BitmapPlusPlus-ruby
|
|
92
|
+
licenses:
|
|
93
|
+
- BSD-2-Clause
|
|
94
|
+
metadata:
|
|
95
|
+
bug_tracker_uri: https://github.com/ruby-rice/BitmapPlusPlus-ruby/issues
|
|
96
|
+
changelog_uri: https://github.com/ruby-rice/BitmapPlusPlus-ruby/blob/main/CHANGELOG.md
|
|
97
|
+
documentation_uri: https://github.com/ruby-rice/BitmapPlusPlus-ruby#readme
|
|
98
|
+
source_code_uri: https://github.com/ruby-rice/BitmapPlusPlus-ruby
|
|
99
|
+
rdoc_options: []
|
|
100
|
+
require_paths:
|
|
101
|
+
- lib
|
|
102
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
103
|
+
requirements:
|
|
104
|
+
- - ">="
|
|
105
|
+
- !ruby/object:Gem::Version
|
|
106
|
+
version: 3.0.0
|
|
107
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
108
|
+
requirements:
|
|
109
|
+
- - ">="
|
|
110
|
+
- !ruby/object:Gem::Version
|
|
111
|
+
version: '0'
|
|
112
|
+
requirements: []
|
|
113
|
+
rubygems_version: 4.0.2
|
|
114
|
+
specification_version: 4
|
|
115
|
+
summary: Ruby bindings for BitmapPlusPlus, a simple C++ bitmap library
|
|
116
|
+
test_files: []
|