Cairo.Operator Enumeration
Contains the Cairo Operators

Syntax

public enum Operator

Remarks

Members

Member NameDescription
AddMerges the overlapping colors to a new one
AtopThis operator leaves the first object mostly intact, but mixes both objects in the overlapping area. The second object object is not drawn except there.
ClearWhere the second object is drawn, the first is completely removed. Anywhere else it is left intact. The second object itself is not drawn.
DestLeaves the first object untouched, the second is discarded completely.
DestAtopSame as the ATOP operator, but as if the order of the drawing operations had been reversed.
DestInThis works like the IN operator, but with the second object "below" the first.
DestOutThe second object is used to reduce the visibility of the first in the overlapping area. The second object is not drawn itself.
DestOverThe result is similar to the OVER operator. Except that the "order" of the objects is reversed, so the second is drawn below the first.
InThe first object is removed completely, the second is only drawn where the first was.
OutThe first object is removed completely, the second is only drawn where the first not was.
OverThe result is the same as if you held two semi-transparent slides on top of each other.
SaturateMerges the overlapping colors to a new one
SourceThe second object is drawn as if nothing else were below. The first object is only left intact outside the second.
XorMerges the overlapping colors to a new one with XOR

Requirements

Namespace: Cairo
Assembly: Mono.Cairo (in Mono.Cairo.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0