C# 클래스 Pinta.Core.PixelOp

파일 보기 프로젝트 열기: xxgreg/Pinta 1 사용 예제들

공개 메소드들

메소드 설명
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