glimmer-dsl-gtk 0.0.3 → 0.0.7
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 +4 -4
- data/CHANGELOG.md +38 -0
- data/README.md +925 -29
- data/VERSION +1 -1
- data/glimmer-dsl-gtk.gemspec +0 -0
- data/images/breaking-blue-wave.png +0 -0
- data/lib/glimmer/gtk/shape/arc_negative.rb +70 -0
- data/lib/glimmer/gtk/shape/path.rb +55 -0
- data/lib/glimmer/gtk/shape.rb +71 -21
- data/lib/glimmer/gtk/transformable.rb +93 -0
- data/lib/glimmer/gtk/widget_proxy/drawing_area_proxy.rb +16 -0
- data/lib/glimmer/gtk/widget_proxy.rb +2 -2
- data/samples/cairo/arc.rb +44 -0
- data/samples/cairo/arc_negative.rb +44 -0
- data/samples/cairo/clip.rb +34 -0
- data/samples/cairo/clip_image.rb +28 -0
- data/samples/cairo/curve_to.rb +39 -0
- data/samples/cairo/dashes.rb +30 -0
- data/samples/cairo/fill_and_stroke2.rb +36 -0
- data/samples/cairo/fill_style.rb +43 -0
- data/samples/cairo/gradient.rb +31 -0
- data/samples/cairo/image.rb +23 -0
- data/samples/cairo/image_gradient.rb +32 -0
- data/samples/cairo/multi_segment_caps.rb +27 -0
- data/samples/cairo/rounded_rectangle.rb +20 -0
- data/samples/cairo/set_line_cap.rb +53 -0
- data/samples/cairo/set_line_join.rb +43 -0
- data/samples/cairo/text.rb +46 -0
- data/samples/elaborate/tetris/model/game.rb +12 -0
- data/samples/elaborate/tetris.rb +172 -1
- data/samples/hello/hello_drawing_area.rb +1 -3
- data/samples/hello/hello_drawing_area_manual.rb +20 -21
- metadata +23 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c811aaa03169f5bb7754c7c07721bea6c1084d652878d55c75a9aa28f0fa6e56
|
4
|
+
data.tar.gz: 5c4ef408d97778f9defaa1f2fdd0df2f83e2d218fa0147317f8d3a68f69205f4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e9f024283b4cb606f766f5230436d0caef9b55733ad7347cb45f3ef10e1d7d9555d375b177fe0d5d08091414572804f20b3ba9856f7946df7ccfc894b3428b
|
7
|
+
data.tar.gz: 0f381c56c69281dcd1bb9e6ec0391f58f101169da99e1c72ef14193425c7c3728b51cdd1b13169ac418d38ea3197c8adcc2c486b9586cd09aff4e07af2f86315
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,43 @@
|
|
1
1
|
# Change Log
|
2
2
|
|
3
|
+
## 0.0.7
|
4
|
+
|
5
|
+
- samples/cairo/text.rb
|
6
|
+
- Support for `path` nested `show_text`, `text_path`, `show_glyphs`, `glyph_path`, `new_sub_path` operations
|
7
|
+
|
8
|
+
## 0.0.6
|
9
|
+
|
10
|
+
- samples/cairo/clip_image.rb
|
11
|
+
- samples/cairo/curve_to.rb
|
12
|
+
- samples/cairo/dashes.rb
|
13
|
+
- samples/cairo/fill_and_stroke2.rb
|
14
|
+
- samples/cairo/fill_style.rb
|
15
|
+
- samples/cairo/gradient.rb
|
16
|
+
- samples/cairo/image.rb
|
17
|
+
- samples/cairo/image_gradient.rb
|
18
|
+
- samples/cairo/multi_segment_caps.rb
|
19
|
+
- samples/cairo/rounded_rectangle.rb
|
20
|
+
- samples/cairo/set_line_cap.rb
|
21
|
+
- samples/cairo/set_line_join.rb
|
22
|
+
- Supported nested sub-paths (nesting `path` within another `path`)
|
23
|
+
- Support declarative `fill`/`paint` of `image, x, y` in cairo graphics
|
24
|
+
- Support declarative transforms on cairo graphics shapes: `translate`, `scale`, `rotate`
|
25
|
+
- Support applying transform on `drawing_area` `paint`
|
26
|
+
- Support for `path` nested `rectangle`, `rounded_rectangle`, and `arc_negative` operations
|
27
|
+
|
28
|
+
## 0.0.5
|
29
|
+
|
30
|
+
- Support `drawing_area#paint(red, green, blue)` operation to set the initial `drawing_area` paint color base
|
31
|
+
- Support `arc` as an operation inside `path` in Cairo declarative shape syntax
|
32
|
+
- Support `arc_negative` cairo graphics shape
|
33
|
+
- Support cairo graphics shape `clip`
|
34
|
+
|
35
|
+
## 0.0.4
|
36
|
+
|
37
|
+
- Tetris Menu Bar
|
38
|
+
- Tetris Score Board
|
39
|
+
- Tetris Next Tetromino Preview
|
40
|
+
|
3
41
|
## 0.0.3
|
4
42
|
|
5
43
|
- samples/elaborate/tetris.rb (basic Tetris implementation)
|