| Class | Demo::CairoCurveRectangle |
| In: |
gtk/sample/gtk-demo/cairo-curve-rectangle.rb
|
| Parent: | CairoWindow |
| X0 | = | 0.1 | a custom shape, that could be wrapped in a function | |
| Y0 | = | 0.1 | ||
| RECT_WIDTH | = | 0.8 | ||
| RECT_HEIGHT | = | 0.8 | ||
| RADIUS | = | 0.4 | ||
| X1 | = | X0 + RECT_WIDTH | ||
| Y1 | = | Y0 + RECT_HEIGHT |