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 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 - 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 - 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 Bitmap - 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 - 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 - 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



// Automated test of Draw with Alpha - Random Values
// Draw with alpha (over darkened version of self - 128,255)
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 - Random Values
// Draw with alpha (over darkened version of self - 128,255)
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 - Random Values
// Draw with alpha (over darkened version of self - 128,255)
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 - Random Values
// Draw with alpha (over darkened version of self - 128,255)
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