I am a programmer who saw this site "from" StackOverflow in hope to ask here for help with a specific problem. Things developed reasonably well, but the answer I got did not entirely solved my question.
Trying to solve this on my own, based on data from the provided answer, I got a thought for a new question but I need communities help to phrase it well:
I have 2 rectangles, let us mark them
R2 for easier reading.
R1 has constant dimensions, and
R2 is calculated by a function that took
R1 as an input.
R2 should have the same width as
R1 but I have no control over the function and final result can return
R2 with shorter/longer width. The workaround I came up with is to "clip" the extra width, and to transform that part somehow ( this is where you people "kick in" ) into rectangle that has the same width as
R1 thus simply "gluing" it to the bottom of the
R2. I have made a small image that should help you understand what I said above:
Blue is the rectangle function returns. Pink portion on the right is the part I want to "clip", "transform it" and simply adjust blue rectangle's width and height.
Since this is meta, I ask you to suggest me a title and tag(s) that would describe this problem the best, to those interested to help me.