CopyRect() private method

private CopyRect ( int SourceImage, int x1, int y1, int x2, int y2, int DestImage ) : int
SourceImage int
x1 int
y1 int
x2 int
y2 int
DestImage int
return int
コード例 #1
0
            public CImage CopyRect(int x1, int y1, int x2, int y2)
            {
                int NewImage = -1;

                CheckForError(FSDK.CreateEmptyImage(ref NewImage));
                CheckForError(FSDK.CopyRect(hImage, x1, y1, x2, y2, NewImage));
                return(new CImage(NewImage));
            }