C# Class PaintShopProFiletype.PSPSections.PSPUtil

ファイルを表示 Open project: 0xC0000054/pdn-pspformat Class Usage Examples

Public Methods

Method Description
GetImageSaveRectangle ( Surface surface ) : Rectangle

Private Methods

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.

Method Details

GetImageSaveRectangle() public static method

public static GetImageSaveRectangle ( Surface surface ) : Rectangle
surface Surface
return Rectangle