ComponentOne CalendarView for WinForms
C1.Framework.Drawing.Gdi.DeviceContexts Namespace / RasterOperationCode Enumeration

In This Topic
    RasterOperationCode Enumeration
    In This Topic
    Represents the raster operation code.
    Syntax
    'Declaration
     
    
    Public Enum RasterOperationCode 
       Inherits System.Enum
    public enum RasterOperationCode : System.Enum 
    Members
    MemberDescription
    BlacknessFills the destination rectangle using the color associated with index 0 in the physical palette. (This color is black for the default physical palette.)
    DestinationInvertInverts the destination rectangle.
    InvertInverts the destination rectangle.
    MergeCopyMerges the colors of the source rectangle with the brush currently selected in hdcDest, by using the Boolean AND operator.
    MergePaintMerges the colors of the inverted source rectangle with the colors of the destination rectangle by using the Boolean OR operator.
    NotSourceCopyCopies the inverted source rectangle to the destination.
    NotSourceEraseCombines the colors of the source and destination rectangles by using the Boolean OR operator and then inverts the resultant color.
    PatAndCombines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean And operator.
    PatCopyCopies the brush currently selected in hdcDest, into the destination bitmap.
    PatInvertCombines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean XOR operator.
    PatOrCombines the colors of the brush currently selected in hdcDest, with the colors of the destination rectangle by using the Boolean OR operator.
    PatPaintCombines the colors of the brush currently selected in hdcDest, with the colors of the inverted source rectangle by using the Boolean OR operator. The result of this operation is combined with the colors of the destination rectangle by using the Boolean OR operator.
    SourceAndCombines the colors of the source and destination rectangles by using the Boolean AND operator.
    SourceCopyCopies the source rectangle directly to the destination rectangle.
    SourceEraseCombines the inverted colors of the destination rectangle with the colors of the source rectangle by using the Boolean AND operator.
    SourceInvertCombines the colors of the source and destination rectangles by using the Boolean XOR operator.
    SourcePaintCombines the colors of the source and destination rectangles by using the Boolean OR operator.
    WhitenessFills the destination rectangle using the color associated with index 1 in the physical palette. (This color is white for the default physical palette.)
    Inheritance Hierarchy

    System.Object
       System.ValueType
          System.Enum
             C1.Framework.Drawing.Gdi.DeviceContexts.RasterOperationCode

    See Also