[ Index | Source | Summary | Member Functions ]
Back to the top of Shape
Shape(int width, int height);
Construct a Shape object with the specified width and height.
Shape(int width, int height);
Back to the top of Shape
Shape();
Construct a Shape object with default height and width.
Shape();
Back to the top of Shape
int Height();
Return the current height of the Shape object.
int Height();
Back to the top of Shape
int Width();
Return the current width of the Shape object.
int Width();
Back to the top of Shape
Shape Resize(float factor);
Construct and return a new Shape object whose width (height) differs
from that of the existing Shape object's width (height) by the
the specified multiplicative factor. If the factor exceeds
1.0, the returned Shape is larger than the existing Shape. If the
factor is below 1.0, the returned Shape is smaller than the
existing Shape. This method does not change the existing Shape
object's dimesions.
Shape Resize(float factor);
Back to the top of Shape
Back to the top of Shape
Report problems to jkotula@unimax.com