ImageEn

TIEBitmap.DrawToTIEBitmap Code Samples


Code samples for DrawToTIEBitmap (Automatically generated by the Every Method demo).

// Automated test of Draw Bitmap - Typical Values
// Draw bitmap onto image (Transparency: 255, Render Op: Normal)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 40, 40, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap - Alpha Channel - Typical Values
// Draw bitmap onto image (Transparency: 255, Render Op: Normal)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 40, 40, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap - 32-Bit RGBA - Typical Values
// Draw bitmap onto image (Transparency: 255, Render Op: Normal)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 40, 40, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap 2 - Typical Values
// Draw bitmap upon flip of itself (Transparency: 255, Render Op: Sub)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielSub );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap 2 - Alpha Channel - Typical Values
// Draw bitmap upon flip of itself (Transparency: 255, Render Op: Sub)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielSub );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap 2 - 32-Bit RGBA - Typical Values
// Draw bitmap upon flip of itself (Transparency: 255, Render Op: Sub)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielSub );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha - Typical Values
// Draw with alpha (over darkened version of self - 255,192)
bmp.AlphaChannel.IECanvas.DrawText( 'ImageEn!', x, 0 );
bmp.AlphaChannel.IECanvas.Ellipse( x1, y1, x2, y2 );
bmp.AlphaChannel.Negative();
bmp.DrawToTIEBitmap( ImageEnView1.IEBitmap, 0, 0 );
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha - Alpha Channel - Typical Values
// Draw with alpha (over darkened version of self - 255,192)
bmp.AlphaChannel.IECanvas.DrawText( 'ImageEn!', x, 0 );
bmp.AlphaChannel.IECanvas.Ellipse( x1, y1, x2, y2 );
bmp.AlphaChannel.Negative();
bmp.DrawToTIEBitmap( ImageEnView1.IEBitmap, 0, 0 );
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha - 32-Bit RGBA - Typical Values
// Draw with alpha (over darkened version of self - 255,192)
bmp.AlphaChannel.IECanvas.DrawText( 'ImageEn!', x, 0 );
bmp.AlphaChannel.IECanvas.Ellipse( x1, y1, x2, y2 );
bmp.AlphaChannel.Negative();
bmp.DrawToTIEBitmap( ImageEnView1.IEBitmap, 0, 0 );
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha - 1-bit - Typical Values
// Draw with alpha (over darkened version of self - 255,192)
bmp.AlphaChannel.IECanvas.DrawText( 'ImageEn!', x, 0 );
bmp.AlphaChannel.IECanvas.Ellipse( x1, y1, x2, y2 );
bmp.AlphaChannel.Negative();
bmp.DrawToTIEBitmap( ImageEnView1.IEBitmap, 0, 0 );
ImageEnView1.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha 2 - Typical Values
// Draw image with alpha (Transparency: 255, Render Op: Normal)
bmp.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha 2 - Alpha Channel - Typical Values
// Draw image with alpha (Transparency: 255, Render Op: Normal)
bmp.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha 2 - 32-Bit RGBA - Typical Values
// Draw image with alpha (Transparency: 255, Render Op: Normal)
bmp.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw with Alpha 2 - 1-bit - Typical Values
// Draw image with alpha (Transparency: 255, Render Op: Normal)
bmp.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 255, ielNormal );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap - Random Values
// Draw bitmap onto image (Transparency: 128, Render Op: Soft Dodge)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 40, 40, 128, ielSoftDodge );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap - Alpha Channel - Random Values
// Draw bitmap onto image (Transparency: 128, Render Op: Soft Dodge)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 40, 40, 128, ielSoftDodge );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap - 32-Bit RGBA - Random Values
// Draw bitmap onto image (Transparency: 128, Render Op: Soft Dodge)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 40, 40, 128, ielSoftDodge );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap 2 - Random Values
// Draw bitmap upon flip of itself (Transparency: 128, Render Op: Reflect)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 128, ielReflect );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap 2 - Alpha Channel - Random Values
// Draw bitmap upon flip of itself (Transparency: 128, Render Op: Reflect)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 128, ielReflect );
ImageEnView2.Update(); // Show changes in our viewer



// Automated test of Draw Bitmap 2 - 32-Bit RGBA - Random Values
// Draw bitmap upon flip of itself (Transparency: 128, Render Op: Reflect)
ImageEnView1.IEBitmap.DrawToTIEBitmap( ImageEnView2.IEBitmap, 0, 0, 128, ielReflect );
ImageEnView2.Update(); // Show changes in our viewer