C# Класс Pinta.Core.PixelOp

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Apply ( ColorBgra dst, ColorBgra src, int length ) : void
Apply ( ImageSurface dst, Gdk dstOffset, ImageSurface src, Gdk srcOffset, Gdk roiSize ) : void
Apply ( ImageSurface dst, Gdk dstOffset, ImageSurface src, Gdk srcOffset, int scanLength ) : void
Apply ( ImageSurface dst, ImageSurface src, Gdk rois, int startIndex, int length ) : void
ApplyBase ( ImageSurface dst, Gdk dstOffset, ImageSurface src, Gdk srcOffset, Gdk roiSize ) : void

Provides a default implementation for performing dst = F(dst, src) or F(src) over some rectangle of interest. May be slightly faster than calling the other multi-parameter Apply method, as less variables are used in the implementation, thus inducing less register pressure.

ComputeAlpha ( byte la, byte ra ) : byte

Computes alpha for r OVER l operation.

PixelOp ( ) : System

Описание методов

Apply() публичный Метод

public Apply ( ColorBgra dst, ColorBgra src, int length ) : void
dst ColorBgra
src ColorBgra
length int
Результат void

Apply() публичный Метод

public Apply ( ImageSurface dst, Gdk dstOffset, ImageSurface src, Gdk srcOffset, Gdk roiSize ) : void
dst Cairo.ImageSurface
dstOffset Gdk
src Cairo.ImageSurface
srcOffset Gdk
roiSize Gdk
Результат void

Apply() публичный Метод

public Apply ( ImageSurface dst, Gdk dstOffset, ImageSurface src, Gdk srcOffset, int scanLength ) : void
dst Cairo.ImageSurface
dstOffset Gdk
src Cairo.ImageSurface
srcOffset Gdk
scanLength int
Результат void

Apply() публичный Метод

public Apply ( ImageSurface dst, ImageSurface src, Gdk rois, int startIndex, int length ) : void
dst Cairo.ImageSurface
src Cairo.ImageSurface
rois Gdk
startIndex int
length int
Результат void

ApplyBase() публичный Метод

Provides a default implementation for performing dst = F(dst, src) or F(src) over some rectangle of interest. May be slightly faster than calling the other multi-parameter Apply method, as less variables are used in the implementation, thus inducing less register pressure.
public ApplyBase ( ImageSurface dst, Gdk dstOffset, ImageSurface src, Gdk srcOffset, Gdk roiSize ) : void
dst Cairo.ImageSurface The Surface to write pixels to, and from which pixels are read and used as the lhs parameter for calling the method ColorBgra Apply(ColorBgra, ColorBgra).
dstOffset Gdk The pixel offset that defines the upper-left of the rectangle-of-interest for the dst Surface.
src Cairo.ImageSurface The Surface to read pixels from for the rhs parameter given to the method ColorBgra Apply(ColorBgra, ColorBgra)b>.
srcOffset Gdk The pixel offset that defines the upper-left of the rectangle-of-interest for the src Surface.
roiSize Gdk The size of the rectangles-of-interest for all Surfaces.
Результат void

ComputeAlpha() публичный статический Метод

Computes alpha for r OVER l operation.
public static ComputeAlpha ( byte la, byte ra ) : byte
la byte
ra byte
Результат byte

PixelOp() публичный Метод

public PixelOp ( ) : System
Результат System