Document Solutions for PDF
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / CompositeAndBlend Method
The source bitmap.
The x-coordinate, in pixels, of the upper-left corner of the destination rectangle.
The y-coordinate, in pixels, of the upper-left corner of the destination rectangle.
The Porter Duff compositing method.
The blending method used to mix the source and destination colors.
The affected rectangle of the destination GcBitmap.
The width, in pixels, of the source and destination rectangles.
The height, in pixels, of the source and destination rectangles.
The x-coordinate, in pixels, of the upper-left corner of the source rectangle.
The y-coordinate, in pixels, of the upper-left corner of the source rectangle.

In This Topic
    CompositeAndBlend Method
    In This Topic
    Applies the algorithms of Porter Duff compositing and blending to the current bitmap (used as backdrop, destination) and the source bitmap.
    Syntax
    'Declaration
     
    Public Sub CompositeAndBlend( _
       ByVal srcBitmap As GcBitmap, _
       ByVal xDst As System.Integer, _
       ByVal yDst As System.Integer, _
       ByVal compositeMode As CompositeMode, _
       Optional ByVal blendMode As BlendMode, _
       Optional ByVal clipRect As System.Nullable(Of Rectangle), _
       Optional ByVal width As System.Integer, _
       Optional ByVal height As System.Integer, _
       Optional ByVal xSrc As System.Integer, _
       Optional ByVal ySrc As System.Integer _
    ) 
    public void CompositeAndBlend( 
       GcBitmap srcBitmap,
       System.int xDst,
       System.int yDst,
       CompositeMode compositeMode,
       BlendMode blendMode,
       System.Nullable<Rectangle> clipRect,
       System.int width,
       System.int height,
       System.int xSrc,
       System.int ySrc
    )

    Parameters

    srcBitmap
    The source bitmap.
    xDst
    The x-coordinate, in pixels, of the upper-left corner of the destination rectangle.
    yDst
    The y-coordinate, in pixels, of the upper-left corner of the destination rectangle.
    compositeMode
    The Porter Duff compositing method.
    blendMode
    The blending method used to mix the source and destination colors.
    clipRect
    The affected rectangle of the destination GcBitmap.
    width
    The width, in pixels, of the source and destination rectangles.
    height
    The height, in pixels, of the source and destination rectangles.
    xSrc
    The x-coordinate, in pixels, of the upper-left corner of the source rectangle.
    ySrc
    The y-coordinate, in pixels, of the upper-left corner of the source rectangle.
    See Also