Thursday, May 6, 2021

Making your own album 27

click the 'Documents' header to see previous entries
https://rainbowstampsandcoins.blogspot.com/search/label/documents 

5.4.3     Adding boxes

5.4.3.1     Rectangles and squares

This command we saw already earlier, I have added it here, in order to be complete:

STAMP_ADD (width / height / text inside / under left / under centre / under right)

Remark: the command above can be with 6 pm’s like above, or with 8 pm’s :
(width, height, inside top, inside centre, inside bottom, under left, under centre, under right-. The 8 pm option is less used, as it only works with rectangles. We hardly need 3 lines inside the boxes, and if so, we can help ourselves through the \n-command too.

STAMP_ADD (25.0 35.0 "A" "B " "C" "D" "E" "F") – 8 pm’s only with rectangles (old option)

STAMP_HEADING (HN 9 "New Year\n")

or

STAMP_ADD (25.0 35.0 "ABC " "D" "E" "F")- 6 pm’s, valid for all shapes

STAMP_HEADING (HN 9 "New Year\n")

5.4.3.2     Diamond shape

STAMP_ADD_DIAMOND (Wi Hi "ABC " "D" "E" "F")
STAMP_HEADING
(HN 9 "New Year\n")

This command will generate a diamond shape (equal sides) if both width and height are identical values. If you want a diamond that is not a square too, you can use two different values for the first two parameters.
Copy the rectangle and diamond codes below, and add them to generate the PDF: 

PAGE_TEXT (HB 11 "Rectangles and Diamonds")

ROW_ALIGN_BOTTOM
ROW_START_FS (HN 8 0.1 6.0)

STAMP_ADD (25.0 35.0 "A" "B " "C" "D" "E" "F")
STAMP_HEADING (HN 9 "New Year\n")

STAMP_ADD_DIAMOND (25 25 "ABC" "D" "E" "F")
STAMP_HEADING (HN 9 "New Year\n")

STAMP_ADD_DIAMOND (40 25 "ABC" "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

STAMP_ADD_DIAMOND (25 40 "ABC " "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

The first result : (close the PDF afterwards)

examples of rectangle and diamond shapes

5.4.3.3     Rounds and ovals

Continue on the next line:

PAGE_RULE_H (0.1 10 8)

PAGE_TEXT (HB 11 "Rounds and ovals")

ROW_ALIGN_BOTTOM

ROW_START_FS (HN 8 0.1 6.0)

 

STAMP_ADD_OVAL (25 25 "ABC" "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

STAMP_ADD_OVAL (40 25 "ABC" "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

STAMP_ADD_OVAL (25 40 "ABC " "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

 

Generate the PDF again, and close afterwards.

 

Round an oval shapes

1.1.1.4     Triangles and inverted triangles

There is still place for a third line of shapes:

PAGE_RULE_H (0.1 10 8)

PAGE_TEXT (HB 11 "Triangles")
ROW_ALIGN_BOTTOM

ROW_START_FS (HN 8 0.1 6.0)

We can put triangles with the top upwards or downwards. Not in an L-shape.
Stamp_Add_Triangle (6 pm) for a top up triangle
Stamp_Add_Triangle_INV (6 pm) for a bottom up triangle (inverted).

Equilateral triangles have the same width and height.

 

STAMP_ADD_TRIANGLE (36.0 36.0 "ABC" "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")
STAMP_ADD_TRIANGLE (20.0 30.0 "ABC" "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

STAMP_ADD_TRIANGLE_INV (36.0 36.0 "ABC" "D" "E" "F")
STAMP_HEADING (HN 9 "New Year\n")
STAMP_ADD_TRIANGLE_INV (20.0 30.0 "ABC" "D" "E" "F")

STAMP_HEADING (HN 9 "New Year\n")

Generate the PDF, and close it afterwards

 

Triangles and inverted triangles

to be continued...

previous part : https://rainbowstampsandcoins.blogspot.com/2021/05/making-your-own-album-26.html
next part : https://rainbowstampsandcoins.blogspot.com/2021/05/making-your-own-album-28.html

No comments: