Class TBGRAMultishapeFiller
Unit
Declaration
type TBGRAMultishapeFiller = class(TObject)
Description
Class that fills multiple shapes at once, joining them smoothly
Hierarchy
- TObject
- TBGRAMultishapeFiller
Overview
Fields
AliasingIncludeBottomRight: Boolean; |
|
Antialiasing: Boolean; |
|
FillMode: TFillMode; |
|
nbShapes: integer; |
|
PolygonOrder: TPolygonOrder; |
|
shapes: array of record
info: TBGRACustomFillInfo;
internalInfo: boolean;
texture: IBGRAScanner;
internalTexture: TObject;
color: TExpandedPixel;
bounds: TRect;
fillMode: TFillMode;
fillModeOverride: boolean;
end; |
Methods
constructor Create; |
|
destructor Destroy; override; |
|
function AddEllipse(x, y, rx, ry: single; AColor: TBGRAPixel): integer; overload; |
|
function AddEllipse(x, y, rx, ry: single; ATexture: IBGRAScanner): integer; overload; |
|
function AddEllipseBorder(x, y, rx, ry, w: single; ATexture: IBGRAScanner): integer; overload; |
|
function AddEllipseBorder(x, y, rx, ry, w: single; AColor: TBGRAPixel): integer; overload; |
|
function AddPathFill(APath: TBGRAPath; AMatrix: TAffineMatrix; ATexture: IBGRAScanner): integer; overload; |
|
function AddPathFill(APath: TBGRAPath; ATexture: IBGRAScanner): integer; overload; |
|
function AddPathFill(APath: TBGRAPath; AColor: TBGRAPixel): integer; overload; |
|
function AddPathFill(APath: TBGRAPath; AMatrix: TAffineMatrix; AColor: TBGRAPixel): integer; overload; |
|
function AddPolygon(const points: array of TPointF; AColor: TBGRAPixel): integer; overload; |
|
function AddPolygon(const points: array of TPointF; ATexture: IBGRAScanner): integer; overload; |
|
function AddPolygonStroke(const points: array of TPointF; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
function AddPolygonStroke(const points: array of TPointF; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
function AddPolylineStroke(const points: array of TPointF; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
function AddPolylineStroke(const points: array of TPointF; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
function AddRectangle(x1, y1, x2, y2: single; AColor: TBGRAPixel): integer; overload; |
|
function AddRectangle(x1, y1, x2, y2: single; ATexture: IBGRAScanner): integer; overload; |
|
function AddRectangleBorder(x1, y1, x2, y2, w: single; ATexture: IBGRAScanner): integer; overload; |
|
function AddRectangleBorder(x1, y1, x2, y2, w: single; AColor: TBGRAPixel): integer; overload; |
|
function AddRoundRectangle(x1, y1, x2, y2, rx, ry: single; ATexture: IBGRAScanner; options: TRoundRectangleOptions= []): integer; overload; |
|
function AddRoundRectangle(x1, y1, x2, y2, rx, ry: single; AColor: TBGRAPixel; options: TRoundRectangleOptions= []): integer; overload; |
|
function AddRoundRectangleBorder(x1, y1, x2, y2, rx, ry, w: single; ATexture: IBGRAScanner; options: TRoundRectangleOptions= []): integer; overload; |
|
function AddRoundRectangleBorder(x1, y1, x2, y2, rx, ry, w: single; AColor: TBGRAPixel; options: TRoundRectangleOptions= []): integer; overload; |
|
function AddShape(AShape: TBGRACustomFillInfo; AColor: TBGRAPixel): integer; overload; |
|
function AddShape(AShape: TBGRACustomFillInfo; ATexture: IBGRAScanner): integer; overload; |
|
function AddTriangleLinearColor(pt1, pt2, pt3: TPointF; c1, c2, c3: TBGRAPixel): integer; |
|
function AddTriangleLinearMapping(pt1, pt2, pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF): integer; |
|
function AddShape(AInfo: TBGRACustomFillInfo; AInternalInfo: boolean; ATexture: IBGRAScanner; AInternalTexture: TObject; AColor: TBGRAPixel): integer; overload; |
|
function CheckRectangleBorderBounds(var x1, y1, x2, y2: single; w: single): boolean; |
|
procedure AddPathStroke(APath: TBGRAPath; AMatrix: TAffineMatrix; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
procedure AddPathStroke(APath: TBGRAPath; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
procedure AddPathStroke(APath: TBGRAPath; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
procedure AddPathStroke(APath: TBGRAPath; AMatrix: TAffineMatrix; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
procedure AddQuadLinearColor(pt1, pt2, pt3, pt4: TPointF; c1, c2, c3, c4: TBGRAPixel); |
|
procedure AddQuadLinearMapping(pt1, pt2, pt3, pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACulling: TFaceCulling = fcNone); |
|
procedure AddQuadPerspectiveMapping(pt1, pt2, pt3, pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF); |
|
procedure Draw(dest: TBGRACustomBitmap; ADrawMode: TDrawMode = dmDrawWithTransparency); |
|
procedure OverrideFillMode(AShapeIndex: integer; AFillMode: TFillMode); |
|
procedure InternalAddStroke(const APoints: array of TPointF; AClosed: boolean; AData: Pointer); |
Properties
property ShapeCount: integer read nbShapes; |
Description
Fields
AliasingIncludeBottomRight: Boolean; |
|
This item has no description. |
Antialiasing: Boolean; |
|
This item has no description. |
FillMode: TFillMode; |
|
This item has no description. |
nbShapes: integer; |
|
This item has no description. |
PolygonOrder: TPolygonOrder; |
|
This item has no description. |
shapes: array of record
info: TBGRACustomFillInfo;
internalInfo: boolean;
texture: IBGRAScanner;
internalTexture: TObject;
color: TExpandedPixel;
bounds: TRect;
fillMode: TFillMode;
fillModeOverride: boolean;
end; |
|
This item has no description. |
Methods
constructor Create; |
|
This item has no description. |
destructor Destroy; override; |
|
This item has no description. |
function AddEllipse(x, y, rx, ry: single; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddEllipse(x, y, rx, ry: single; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddEllipseBorder(x, y, rx, ry, w: single; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddEllipseBorder(x, y, rx, ry, w: single; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddPathFill(APath: TBGRAPath; AMatrix: TAffineMatrix; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddPathFill(APath: TBGRAPath; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddPathFill(APath: TBGRAPath; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddPathFill(APath: TBGRAPath; AMatrix: TAffineMatrix; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddPolygon(const points: array of TPointF; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddPolygon(const points: array of TPointF; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddPolygonStroke(const points: array of TPointF; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
This item has no description. |
function AddPolygonStroke(const points: array of TPointF; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
This item has no description. |
function AddPolylineStroke(const points: array of TPointF; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
This item has no description. |
function AddPolylineStroke(const points: array of TPointF; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker): integer; overload; |
|
This item has no description. |
function AddRectangle(x1, y1, x2, y2: single; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddRectangle(x1, y1, x2, y2: single; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddRectangleBorder(x1, y1, x2, y2, w: single; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddRectangleBorder(x1, y1, x2, y2, w: single; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddRoundRectangle(x1, y1, x2, y2, rx, ry: single; ATexture: IBGRAScanner; options: TRoundRectangleOptions= []): integer; overload; |
|
This item has no description. |
function AddRoundRectangle(x1, y1, x2, y2, rx, ry: single; AColor: TBGRAPixel; options: TRoundRectangleOptions= []): integer; overload; |
|
This item has no description. |
function AddRoundRectangleBorder(x1, y1, x2, y2, rx, ry, w: single; ATexture: IBGRAScanner; options: TRoundRectangleOptions= []): integer; overload; |
|
This item has no description. |
function AddRoundRectangleBorder(x1, y1, x2, y2, rx, ry, w: single; AColor: TBGRAPixel; options: TRoundRectangleOptions= []): integer; overload; |
|
This item has no description. |
function AddShape(AShape: TBGRACustomFillInfo; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function AddShape(AShape: TBGRACustomFillInfo; ATexture: IBGRAScanner): integer; overload; |
|
This item has no description. |
function AddTriangleLinearColor(pt1, pt2, pt3: TPointF; c1, c2, c3: TBGRAPixel): integer; |
|
This item has no description. |
function AddTriangleLinearMapping(pt1, pt2, pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF): integer; |
|
This item has no description. |
function AddShape(AInfo: TBGRACustomFillInfo; AInternalInfo: boolean; ATexture: IBGRAScanner; AInternalTexture: TObject; AColor: TBGRAPixel): integer; overload; |
|
This item has no description. |
function CheckRectangleBorderBounds(var x1, y1, x2, y2: single; w: single): boolean; |
|
This item has no description. |
procedure AddPathStroke(APath: TBGRAPath; AMatrix: TAffineMatrix; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
This item has no description. |
procedure AddPathStroke(APath: TBGRAPath; AColor: TBGRAPixel; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
This item has no description. |
procedure AddPathStroke(APath: TBGRAPath; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
This item has no description. |
procedure AddPathStroke(APath: TBGRAPath; AMatrix: TAffineMatrix; ATexture: IBGRAScanner; AWidth: single; AStroker: TBGRACustomPenStroker); overload; |
|
This item has no description. |
procedure AddQuadLinearColor(pt1, pt2, pt3, pt4: TPointF; c1, c2, c3, c4: TBGRAPixel); |
|
This item has no description. |
procedure AddQuadLinearMapping(pt1, pt2, pt3, pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACulling: TFaceCulling = fcNone); |
|
This item has no description. |
procedure AddQuadPerspectiveMapping(pt1, pt2, pt3, pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF); |
|
This item has no description. |
procedure Draw(dest: TBGRACustomBitmap; ADrawMode: TDrawMode = dmDrawWithTransparency); |
|
This item has no description. |
procedure OverrideFillMode(AShapeIndex: integer; AFillMode: TFillMode); |
|
This item has no description. |
procedure InternalAddStroke(const APoints: array of TPointF; AClosed: boolean; AData: Pointer); |
|
This item has no description. |
Properties
property ShapeCount: integer read nbShapes; |
|
This item has no description. |