Method | Description | |
---|---|---|
GetImageSaveRectangle ( Surface surface ) : Rectangle |
Method | Description | |
---|---|---|
CheckBlockType ( ushort blockID, PSPBlockID expected ) : void |
Checks that the block type matches the expected PSPBlockID.
|
|
ExpandImageRectangle ( Surface surface, int y, int xStart, int xEnd, RectanglePosition &rectPos ) : bool |
Check for non-transparent pixels in a row, or portion of a row. Expands the size of the image rectangle if any were found.
|
public static GetImageSaveRectangle ( Surface surface ) : Rectangle | ||
surface | Surface | |
return | Rectangle |