Class TBGRATriangleLinearMapping

Unit

Declaration

type TBGRATriangleLinearMapping = class(TBGRACustomScanner)

Description

Scanner that provides an optimized transformation for linear texture mapping on triangles

Hierarchy

Overview

Fields

Protected FCurTexCoord: TPointF;
Protected FDiff2: TPointF;
Protected FDiff3: TPointF;
Protected FMatrix: TAffineMatrix;
Protected FScanAtFunc: TScanAtFunction;
Protected FScanner: IBGRAScanner;
Protected FStep: TPointF;
Protected FTexCoord1: TPointF;

Methods

Public constructor Create(AScanner: IBGRAScanner; pt1,pt2,pt3: TPointF; tex1,tex2,tex3: TPointF);
Public function ScanAt(X,Y: Single): TBGRAPixel; override;
Public function ScanNextPixel: TBGRAPixel; override;
Public procedure ScanMoveTo(X,Y: Integer); override;
Public procedure ScanMoveToF(X,Y: Single);
Public procedure ScanSkipPixels(ACount: integer); override;

Description

Fields

Protected FCurTexCoord: TPointF;

This item has no description.

Protected FDiff2: TPointF;

This item has no description.

Protected FDiff3: TPointF;

This item has no description.

Protected FMatrix: TAffineMatrix;

This item has no description.

Protected FScanAtFunc: TScanAtFunction;

This item has no description.

Protected FScanner: IBGRAScanner;

This item has no description.

Protected FStep: TPointF;

This item has no description.

Protected FTexCoord1: TPointF;

This item has no description.

Methods

Public constructor Create(AScanner: IBGRAScanner; pt1,pt2,pt3: TPointF; tex1,tex2,tex3: TPointF);

This item has no description.

Public function ScanAt(X,Y: Single): TBGRAPixel; override;

This item has no description.

Public function ScanNextPixel: TBGRAPixel; override;

This item has no description.

Public procedure ScanMoveTo(X,Y: Integer); override;

This item has no description.

Public procedure ScanMoveToF(X,Y: Single);

This item has no description.

Public procedure ScanSkipPixels(ACount: integer); override;

This item has no description.