C# 클래스 Apachai.Effects.Core.PixelOp

파일 보기 프로젝트 열기: garuma/apachai

공개 메소드들

메소드 설명
Apply ( FastBitmap dst, FastBitmap src, Rectangle rois, int startIndex, int length ) : void
Apply ( FastBitmap dst, Point dstOffset, FastBitmap src, Point srcOffset, Size roiSize ) : void
Apply ( FastBitmap dst, Point dstOffset, FastBitmap src, Point srcOffset, int scanLength ) : void
Apply ( PixelData dst, PixelData src, int length ) : void
ApplyBase ( FastBitmap dst, Point dstOffset, FastBitmap src, Point srcOffset, Size 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 ( FastBitmap dst, FastBitmap src, Rectangle rois, int startIndex, int length ) : void
dst System.Drawing.FastBitmap
src System.Drawing.FastBitmap
rois System.Drawing.Rectangle
startIndex int
length int
리턴 void

Apply() 공개 메소드

public Apply ( FastBitmap dst, Point dstOffset, FastBitmap src, Point srcOffset, Size roiSize ) : void
dst System.Drawing.FastBitmap
dstOffset Point
src System.Drawing.FastBitmap
srcOffset Point
roiSize System.Drawing.Size
리턴 void

Apply() 공개 메소드

public Apply ( FastBitmap dst, Point dstOffset, FastBitmap src, Point srcOffset, int scanLength ) : void
dst System.Drawing.FastBitmap
dstOffset Point
src System.Drawing.FastBitmap
srcOffset Point
scanLength int
리턴 void

Apply() 공개 메소드

public Apply ( PixelData dst, PixelData src, int length ) : void
dst System.Drawing.PixelData
src System.Drawing.PixelData
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 ( FastBitmap dst, Point dstOffset, FastBitmap src, Point srcOffset, Size roiSize ) : void
dst System.Drawing.FastBitmap The Surface to write pixels to, and from which pixels are read and used as the lhs parameter for calling the method PixelData Apply(PixelData, PixelData).
dstOffset Point The pixel offset that defines the upper-left of the rectangle-of-interest for the dst Surface.
src System.Drawing.FastBitmap The Surface to read pixels from for the rhs parameter given to the method PixelData Apply(PixelData, PixelData)b>.
srcOffset Point The pixel offset that defines the upper-left of the rectangle-of-interest for the src Surface.
roiSize System.Drawing.Size 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