C# Class PaintShopProFiletype.PSPSections.PSPUtil

Afficher le fichier Open project: 0xC0000054/pdn-pspformat Class Usage Examples

Méthodes publiques

Méthode Description
GetImageSaveRectangle ( Surface surface ) : Rectangle

Private Methods

Méthode 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 méthode

public static GetImageSaveRectangle ( Surface surface ) : Rectangle
surface Surface
Résultat Rectangle