Static Public Member Functions | |
| static Point | Calc (OriginAlignment origin, Size size) |
| Returns a point which should be subtracted from the interpreted point to get the top-left position. | |
| static PointF | CalcF (OriginAlignment origin, Size size) |
| Returns a point which should be subtracted from the interpreted point to get the top-left position. | |
| static PointF | CalcF (OriginAlignment origin, SizeF size) |
| Returns a point which should be subtracted from the interpreted point to get the top-left position. | |
| static void | Calc (OriginAlignment origin, Size size, out int x, out int y) |
| Returns a point which should be subtracted from the interpreted point to get the top-left position. | |
| static Rectangle | CalcRect (OriginAlignment origin, Rectangle rect) |
| Modifies the rectangle by taking its Location and converting it using Calc so that the rectangle outlines the actual destination. | |
| static Rectangle | CalcRect (OriginAlignment origin, Rectangle rect, Size effectiveSize) |
| Modifies the rectangle by taking its Location and converting it using Calc so that the rectangle outlines the actual destination. | |
| static void AgateLib.DisplayLib.Origin.Calc | ( | OriginAlignment | origin, | |
| Size | size, | |||
| out int | x, | |||
| out int | y | |||
| ) | [static] |
Returns a point which should be subtracted from the interpreted point to get the top-left position.
| origin | ||
| size | ||
| x | ||
| y |
Returns a point which should be subtracted from the interpreted point to get the top-left position.
| origin | ||
| size |
Returns a point which should be subtracted from the interpreted point to get the top-left position.
| origin | ||
| size |
Returns a point which should be subtracted from the interpreted point to get the top-left position.
| origin | ||
| size |
| static Rectangle AgateLib.DisplayLib.Origin.CalcRect | ( | OriginAlignment | origin, | |
| Rectangle | rect, | |||
| Size | effectiveSize | |||
| ) | [static] |
Modifies the rectangle by taking its Location and converting it using Calc so that the rectangle outlines the actual destination.
| origin | ||
| rect | ||
| effectiveSize |
| static Rectangle AgateLib.DisplayLib.Origin.CalcRect | ( | OriginAlignment | origin, | |
| Rectangle | rect | |||
| ) | [static] |
Modifies the rectangle by taking its Location and converting it using Calc so that the rectangle outlines the actual destination.
| origin | ||
| rect |
|
AgateLib Awesome Game and Tool Engine Library |
|