1-2P Answers
1-2P Answers
1-2P Answers
Question 1: Why do we create procedures? What are the advantages of doing this? How will
this helps make it easier to build larger programs?
Question 2: C++ programs start executing from a specific location in the code. Where do
these instructions start executing from? In what order will these instructions be executed?
This element specifies a fill rectangle. When stretching of an image is specified, a source
rectangle, srcRect, is scaled to fit the specified fill rectangle.
Each edge of the fill rectangle is defined by a percentage offset from the corresponding edge of
the shape's bounding box. A positive percentage specifies an inset, while a negative percentage
specifies an outset. For example, a left offset of 25% specifies that the left edge of the fill
rectangle is located to the right of the bounding box's left edge by an amount equal to 25% of
the bounding box's width.