Beispiel #1
0
        public FreeImageAlgorithmsBitmap AffineTransform(int image_dst_width, int image_dst_height,
                                                         FreeImageAlgorithmsMatrix matrix, RGBQUAD colour, int retainBackground)
        {
            FIBITMAP tmp_dib = FreeImage.AffineTransform(this.Dib, image_dst_width, image_dst_height, matrix.Data, colour, retainBackground);

            return(new FreeImageAlgorithmsBitmap(tmp_dib));
        }
Beispiel #2
0
 public void DrawImage(FreeImageAlgorithmsBitmap dst, FreeImageAlgorithmsMatrix matrix,
                       int dstLeft, int dstTop, int dstWidth, int dstHeight,
                       int srcLeft, int srcTop, int srcWidth, int srcHeight,
                       RGBQUAD colour)
 {
     FreeImage.DrawImageFromSrcToDst(dst.Dib, this.Dib, matrix.Data,
                                     dstLeft, dstTop, dstWidth, dstHeight,
                                     srcLeft, srcTop, srcWidth, srcHeight,
                                     colour, 1);
 }
Beispiel #3
0
 public void DrawImage(FreeImageAlgorithmsBitmap dst, FreeImageAlgorithmsMatrix matrix, Rectangle dstRect, RGBQUAD colour)
 {
     FreeImage.DrawImageToDst(dst.Dib, this.Dib, matrix.Data,
         dstRect.Left, dstRect.Top, dstRect.Width, dstRect.Height, colour, 1);
 }
Beispiel #4
0
 public void DrawImage(FreeImageAlgorithmsBitmap dst, FreeImageAlgorithmsMatrix matrix,
     int dstLeft, int dstTop, int dstWidth, int dstHeight, RGBQUAD colour)
 {
     FreeImage.DrawImageToDst(dst.Dib, this.Dib, matrix.Data,
         dstLeft, dstTop, dstWidth, dstHeight, colour, 1);
 }
Beispiel #5
0
        public void AffineTransform(FreeImageAlgorithmsMatrix matrix, RGBQUAD colour)
        {
            FIBITMAP tmp_dib = FreeImage.AffineTransform(this.Dib, (int) this.Width, (int) this.Height, matrix.Data, colour, 1);

            this.ReplaceDib(tmp_dib);
        }
Beispiel #6
0
        public FreeImageAlgorithmsBitmap AffineTransform(int image_dst_width, int image_dst_height,
            FreeImageAlgorithmsMatrix matrix, RGBQUAD colour, int retainBackground)
        {
            FIBITMAP tmp_dib = FreeImage.AffineTransform(this.Dib, image_dst_width, image_dst_height, matrix.Data, colour, retainBackground);

            return new FreeImageAlgorithmsBitmap(tmp_dib);
        }
Beispiel #7
0
 public void DrawImage(FreeImageAlgorithmsBitmap dst, FreeImageAlgorithmsMatrix matrix, Rectangle dstRect, RGBQUAD colour)
 {
     FreeImage.DrawImageToDst(dst.Dib, this.Dib, matrix.Data,
                              dstRect.Left, dstRect.Top, dstRect.Width, dstRect.Height, colour, 1);
 }
Beispiel #8
0
        public void AffineTransform(FreeImageAlgorithmsMatrix matrix, RGBQUAD colour)
        {
            FIBITMAP tmp_dib = FreeImage.AffineTransform(this.Dib, (int)this.Width, (int)this.Height, matrix.Data, colour, 1);

            this.ReplaceDib(tmp_dib);
        }