Draws a clipped GdPicture image from several points of co-ordinates into another GdPicture image.
public GdPictureStatus DrawGdPictureImageClipped( int SrcImage, int DstImage, System.Drawing.Point arPoints );
Public Function DrawGdPictureImageClipped( ByVal SrcImage As Integer, ByVal DstImage As Integer, ByVal arPoints() As System.Drawing.Point ) As GdPictureStatus
|
Parameters |
Description |
|
SrcImage |
GdPicture Image Identifier. Specifies the image to be drawn. |
|
DstImage |
GdPicture Image Identifier. specifies the image to draw. |
|
arPoints |
Array of System.Drawing.Point that specifies the coordinates. |
A member of the GdPictureStatus enumeration.
draw image1.jpg into image2.jpg to a region defined by 3 points a(0, 0) b(700, 0) and c(700, 700)
Dim ImageID1 As Integer, ImageID2 As Integer Dim arPoints(0 To 2) As System.Drawing.Point Dim m_Stat As GdPictureStatus ImageID1 = oGdPictureImaging.CreateGdPictureImageFromFile("image1.jpg") ImageID2 = oGdPictureImaging.CreateGdPictureImageFromFile("image2.jpg") arPoints(0).X = 0 arPoints(0).Y = 0 arPoints(1).X = 700 arPoints(1).Y = 0 arPoints(2).X = 700 arPoints(2).Y = 700 m_Stat = oGdPictureImaging.DrawGdPictureImageClipped(ImageID1, ImageID2, arPoints)
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|