Class TBGRACustomBitmap
Unit
Declaration
type TBGRACustomBitmap = class(specialize TGenericUniversalBitmap<TBGRAPixel,TBGRAPixelColorspace>, IBGRAScanner)
Description
Base class for TBGRABitmap.
It is the direct parent of TBGRADefaultBitmap class, which is the parent of the diverse implementations. A bitmap can be used as a scanner using the IBGRAScanner interface.
Hierarchy
- TFPCustomImage
- TCustomUniversalBitmap
- TGenericUniversalBitmap
- TBGRACustomBitmap
Overview
Fields
Methods
constructor Create(ABitmap: TBitmap); overload; virtual; abstract; |
|
constructor Create(ABitmap: TBitmap; AUseTransparent: boolean); overload; virtual; abstract; |
|
constructor Create(AFilename: string); overload; virtual; abstract; |
|
constructor Create(AFPImage: TFPCustomImage; ACopyProperties: Boolean=False); overload; virtual; abstract; |
|
constructor Create(AFilename: string; AIsUtf8Filename: boolean); overload; virtual; abstract; |
|
constructor Create(AFilename: string; AIsUtf8Filename: boolean; AOptions: TBGRALoadingOptions); overload; virtual; abstract; |
|
constructor Create(AStream: TStream); overload; virtual; abstract; |
|
function ComputeArc65536(x,y,rx,ry: single; start65536,end65536: word; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
function ComputeArcRad(x,y,rx,ry: single; startRad,endRad: single; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
function ComputeBezierCurve(const curve: TQuadraticBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeBezierCurve(const curve: TCubicBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeBezierSpline(const spline: array of TCubicBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeBezierSpline(const spline: array of TQuadraticBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeClosedSpline(const APoints: array of TPointF; AStyle: TSplineStyle): ArrayOfTPointF; virtual; abstract; |
|
function ComputeEllipse(x,y,rx,ry: single): ArrayOfTPointF; overload; deprecated; |
|
function ComputeEllipse(x,y,rx,ry,w: single): ArrayOfTPointF; overload; deprecated; |
|
function ComputeEllipseBorder(AOrigin, AXAxis, AYAxis: TPointF; w: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeEllipseBorder(x,y,rx,ry,w: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeEllipseContour(AOrigin, AXAxis, AYAxis: TPointF; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeEllipseContour(x,y,rx,ry: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeOpenedSpline(const APoints: array of TPointF; AStyle: TSplineStyle): ArrayOfTPointF; virtual; abstract; |
|
function ComputePie65536(x,y,rx,ry: single; start65536,end65536: word; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
function ComputePieRad(x,y,rx,ry: single; startRad,endRad: single; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
function ComputeRoundRect(x1,y1,x2,y2,rx,ry: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeRoundRect(x1,y1,x2,y2,rx,ry: single; options: TRoundRectangleOptions; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeWidePolygon(const points: array of TPointF; w: single): ArrayOfTPointF; virtual; abstract; |
|
function ComputeWidePolyline(const points: array of TPointF; w: single): ArrayOfTPointF; overload; virtual; abstract; |
|
function ComputeWidePolyline(const points: array of TPointF; w: single; ClosedCap: boolean): ArrayOfTPointF; overload; virtual; abstract; |
|
function CreateBrushTexture(ABrushStyle: TBrushStyle; APatternColor, ABackgroundColor: TBGRAPixel; AWidth: integer = 8; AHeight: integer = 8; APenWidth: single = 1): TBGRACustomBitmap; override; |
|
function Duplicate(DuplicateProperties, DuplicateXorMask: Boolean): TBGRACustomBitmap; overload; virtual; |
|
function Duplicate(DuplicateProperties: Boolean = False): TBGRACustomBitmap; overload; override; |
|
function FilterAffine(AMatrix: TAffineMatrix; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterBlurMotion(const ABounds: TRect; distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterBlurMotion(distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterBlurRadial(radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterBlurRadial(const ABounds: TRect; radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterBlurRadial(radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterBlurRadial(const ABounds: TRect; radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterContour(AGammaCorrection: boolean = false; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterCustomBlur(const ABounds: TRect; mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterCustomBlur(mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
function FilterCylinder(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterEmboss(angle: single; ABounds: TRect; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterEmboss(angle: single; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; var Offset: TPoint; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterEmbossHighlight(FillSelection: boolean; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterGrayscale(ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterGrayscale(ABounds: TRect; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterMedian(Option: TMedianOption; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterNormalize(ABounds: TRect; eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterNormalize(eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterPixelate(pixelSize: integer; useResample: boolean; filter: TResampleFilter = rfLinear; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterPlane(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterRotate(origin: TPointF; angle: single; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterSharpen(ABounds: TRect; Amount: single = 1; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterSharpen(Amount: single = 1; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterSmartZoom3(Option: TMedianOption; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterSmooth(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterSphere(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function FilterTwirl(ABounds: TRect; ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function FilterTwirl(ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
function GetImageAffineBounds(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; APixelCenteredCoords: boolean = true): TRect; overload; |
|
function GetImageAffineBounds(Origin,HAxis,VAxis: TPointF; ASourceWidth, ASourceHeight: integer; const ASourceBounds: TRect; AClipOutput: boolean = true): TRect; overload; |
|
function GetImageAffineBounds(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap): TRect; overload; |
|
function GetImageAffineBounds(AMatrix: TAffineMatrix; ASourceBounds: TRect; AClipOutput: boolean = true; APixelCenteredCoords: boolean = true): TRect; overload; virtual; abstract; |
|
function GetImageAngleBounds(x,y: single; Source: TBGRACustomBitmap; angle: single; imageCenterX: single = 0; imageCenterY: single = 0; ARestoreOffsetAfterRotation: boolean = false): TRect; |
|
function GetImageBoundsWithin(const ARect: TRect; Channel: TChannel = cAlpha; ANothingValue: Byte = 0): TRect; overload; override; |
|
function GetImageBoundsWithin(const ARect: TRect; Channels: TChannels; ANothingValue: Byte = 0): TRect; overload; override; |
|
function GetMaskFromAlpha: TBGRACustomBitmap; virtual; abstract; |
|
function GetPart(const ARect: TRect; ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
function GetPixel(x, y: single; AResampleFilter: TResampleFilter = rfLinear; smoothBorder: boolean = true): TBGRAPixel; overload; virtual; abstract; |
|
function GetPixel256(x, y, fracX256,fracY256: int32or64; AResampleFilter: TResampleFilter = rfLinear; smoothBorder: boolean = true): TBGRAPixel; virtual; abstract; |
|
function GetPixelCycle(x, y: single; AResampleFilter: TResampleFilter; repeatX: boolean; repeatY: boolean): TBGRAPixel; overload; virtual; abstract; |
|
function GetPixelCycle(x, y: single; AResampleFilter: TResampleFilter = rfLinear): TBGRAPixel; overload; virtual; abstract; |
|
function GetPixelCycle256(x, y, fracX256,fracY256: int32or64; AResampleFilter: TResampleFilter; repeatX: boolean; repeatY: boolean): TBGRAPixel; overload; virtual; abstract; |
|
function GetPixelCycle256(x, y, fracX256,fracY256: int32or64; AResampleFilter: TResampleFilter = rfLinear): TBGRAPixel; overload; virtual; abstract; |
|
function GetPtrBitmap(Top,Bottom: Integer): TBGRACustomBitmap; virtual; abstract; |
|
function GetScanlineAt(X, Y: integer): PBGRAPixel; override; |
|
function GetUnique: TBGRACustomBitmap; override; |
|
class function IsAffineRoughlyTranslation(AMatrix: TAffineMatrix; ASourceBounds: TRect): boolean; virtual; abstract; |
|
function MakeBitmapCopy(BackgroundColor: TColor; AMasked: boolean = False): TBitmap; virtual; abstract; |
|
function NewBitmap(AFPImage: TFPCustomImage): TBGRACustomBitmap; overload; virtual; abstract; |
|
function NewBitmap(Filename: string; AIsUtf8: boolean; AOptions: TBGRALoadingOptions): TBGRACustomBitmap; overload; virtual; abstract; |
|
function NewBitmap(AWidth, AHeight: integer; const Color: TBGRAPixel): TBGRACustomBitmap; overload; override; |
|
function NewBitmap(Filename: string; AIsUtf8: boolean): TBGRACustomBitmap; overload; virtual; abstract; |
|
function NewBitmap(AWidth, AHeight: integer; AColor: Pointer): TBGRACustomBitmap; overload; override; |
|
function NewBitmap(Filename: string): TBGRACustomBitmap; overload; virtual; abstract; |
|
function NewBitmap: TBGRACustomBitmap; overload; override; |
|
function NewBitmap(AWidth, AHeight: integer): TBGRACustomBitmap; overload; override; |
|
function NewReference: TBGRACustomBitmap; override; |
|
function ProvidesScanline(ARect: TRect): boolean; override; |
|
function Resample(newWidth, newHeight: integer; mode: TResampleMode = rmFineResample; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
function RotateCCW(ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
function RotateCW(ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
function RotateUD(ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
function ScanAtExpanded(X,Y: Single): TExpandedPixel; override; |
|
function ScanAtIntegerExpanded(X,Y: integer): TExpandedPixel; override; |
|
function ScanAtIntegerMask(X,Y: integer): TByteMask; override; |
|
function ScanAtMask(X,Y: Single): TByteMask; override; |
|
function ScanNextExpandedPixel: TExpandedPixel; override; |
|
function TextAffineBox(const sUTF8: string): TAffineBox; virtual; abstract; |
|
function TextFitInfo(const sUTF8: string; AMaxWidth: integer): integer; virtual; abstract; |
|
function TextSize(const sUTF8: string; AMaxWidth: integer): TSize; overload; virtual; abstract; |
|
function TextSize(const sUTF8: string): TSize; overload; virtual; abstract; |
|
function TextSize(const sUTF8: string; AMaxWidth: integer; ARightToLeft: boolean): TSize; overload; virtual; abstract; |
|
function TextSizeMultiline(const sUTF8: string; AMaxWidth: single = EmptySingle; AParagraphSpacing: single = 0): TSize; virtual; abstract; |
|
function GetArrowEndOffset: single; virtual; abstract; |
|
function GetArrowEndRepeat: integer; virtual; abstract; |
|
function GetArrowEndSize: TPointF; virtual; abstract; |
|
function GetArrowStartOffset: single; virtual; abstract; |
|
function GetArrowStartRepeat: integer; virtual; abstract; |
|
function GetArrowStartSize: TPointF; virtual; abstract; |
|
function GetAverageColor: TColor; virtual; abstract; |
|
function GetAveragePixel: TBGRAPixel; virtual; abstract; |
|
function GetBitmap: TBitmap; virtual; abstract; |
|
function GetCanvas: TCanvas; virtual; abstract; |
|
function GetCanvasAlphaCorrection: boolean; virtual; abstract; |
|
function GetCanvasDrawModeFP: TDrawMode; virtual; abstract; |
|
function GetCanvasOpacity: byte; virtual; abstract; |
|
function GetCustomPenStyle: TBGRAPenStyle; virtual; abstract; |
|
function GetFontAntialias: Boolean; |
|
function GetFontFullHeight: integer; virtual; abstract; |
|
function GetFontHeight: integer; virtual; abstract; |
|
function GetFontPixelMetric: TFontPixelMetric; virtual; abstract; |
|
function GetFontRenderer: TBGRACustomFontRenderer; virtual; abstract; |
|
function GetFontRightToLeftFor(AText: string): boolean; |
|
function GetFontVerticalAnchorOffset: single; virtual; abstract; |
|
function GetPenJoinStyle: TPenJoinStyle; virtual; abstract; |
|
function GetPenMiterLimit: single; virtual; abstract; |
|
function GetPenStyle: TPenStyle; virtual; abstract; |
|
function InternalNew: TBGRACustomBitmap; override; |
|
procedure AlphaFill(alpha: byte; start, Count: integer); overload; virtual; abstract; |
|
procedure AlphaToGrayscale; virtual; abstract; |
|
procedure Arc(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AColor: TBGRAPixel; w: single; ADrawChord: boolean; AFillColor: TBGRAPixel); overload; |
|
procedure Arc(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AColor: TBGRAPixel; w: single; ADrawChord: boolean; AFillColor: TBGRAPixel); overload; |
|
procedure ArrowEndAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); virtual; abstract; |
|
procedure ArrowEndAsNone; virtual; abstract; |
|
procedure ArrowEndAsTail; virtual; abstract; |
|
procedure ArrowEndAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); virtual; abstract; |
|
procedure ArrowStartAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); virtual; abstract; |
|
procedure ArrowStartAsNone; virtual; abstract; |
|
procedure ArrowStartAsTail; virtual; abstract; |
|
procedure ArrowStartAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); virtual; abstract; |
|
procedure Blend(AColor: TBGRAPixel; AOperation: TBlendOperation; AIgnoreDestAlpha: boolean = false); virtual; |
|
procedure BlendImage(ADest: TRect; ASource: IBGRAScanner; AOffsetX, AOffsetY: integer; AOperation: TBlendOperation); overload; virtual; abstract; |
|
procedure BlendImage(x, y: integer; ASource: TBGRACustomBitmap; AOperation: TBlendOperation); overload; virtual; abstract; |
|
procedure BlendImageOver(x, y: integer; ASource: TBGRACustomBitmap; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false); overload; virtual; abstract; |
|
procedure BlendImageOver(ADest: TRect; ASource: IBGRAScanner; AOffsetX, AOffsetY: integer; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false); overload; virtual; abstract; |
|
procedure BlendOver(AColor: TBGRAPixel; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false; AIgnoreDestAlpha: boolean = false); virtual; |
|
procedure BlendRect(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AExcludeChannels: TChannels); overload; virtual; abstract; |
|
procedure BlendRect(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AIgnoreDestAlpha: boolean = false); overload; |
|
procedure BlendRectOver(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AOpacity: byte; ALinearBlend: boolean; AExcludeChannels: TChannels); overload; virtual; abstract; |
|
procedure BlendRectOver(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false; AIgnoreDestAlpha: boolean = false); overload; |
|
procedure ComputeImageAngleAxes(x,y,w,h,angle: single; imageCenterX,imageCenterY: single; ARestoreOffsetAfterRotation: boolean; out Origin,HAxis,VAxis: TPointF); |
|
procedure ConvertFromLinearRGB; virtual; abstract; |
|
procedure ConvertToLinearRGB; virtual; abstract; |
|
procedure CopyPropertiesTo(ABitmap: TCustomUniversalBitmap); override; |
|
procedure CrossFade(ARect: TRect; Source1, Source2: IBGRAScanner; AFadePosition: byte; mode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
procedure CrossFade(ARect: TRect; Source1, Source2: IBGRAScanner; AFadeMask: IBGRAScanner; mode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
procedure DataDrawOpaque(ACanvas: TCanvas; ARect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); virtual; abstract; |
|
procedure DataDrawTransparent(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); virtual; abstract; |
|
procedure DiscardXorMask; virtual; |
|
procedure Draw(ACanvas: TCanvas; Rect: TRect; Opaque: boolean = True); overload; virtual; abstract; |
|
procedure Draw(ACanvas: TCanvas; x, y: integer; Opaque: boolean = True); overload; virtual; abstract; |
|
procedure DrawHorizLine(x, y, x2: int32or64; texture: IBGRAScanner); overload; |
|
procedure DrawHorizLine(x, y, x2: int32or64; ec: TExpandedPixel); overload; virtual; abstract; |
|
procedure DrawHorizLineDiff(x, y, x2: int32or64; c, compare: TBGRAPixel; maxDiff: byte); virtual; abstract; |
|
procedure DrawPart(ARect: TRect; ACanvas: TCanvas; x, y: integer; Opaque: boolean); overload; virtual; |
|
procedure DrawPart(ARect: TRect; ACanvas: TCanvas; ATargetRect: TRect; Opaque: boolean); overload; virtual; |
|
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeColor: TBGRAPixel; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeTexture: IBGRAScanner; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AStrokeTexture: IBGRAScanner; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AStrokeColor: TBGRAPixel; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AStrokeTexture: IBGRAScanner; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AStrokeColor: TBGRAPixel; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeColor: TBGRAPixel; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeTexture: IBGRAScanner; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
procedure DrawPixel(x, y: int32or64; const c: TBGRAPixel; ADrawMode: TDrawMode); overload; override; |
|
procedure DrawPixels(c: TBGRAPixel; start, Count: integer); virtual; abstract; |
|
procedure DrawPolygonAntialias(const points: array of TPointF; c: TBGRAPixel; w: single; fillcolor: TBGRAPixel); overload; virtual; abstract; |
|
procedure DrawPolyLineAntialias(const points: array of TPointF; c: TBGRAPixel; w: single; fillcolor: TBGRAPixel); overload; virtual; abstract; |
|
procedure DrawVertLine(x, y, y2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
procedure EllipseAntialias(x, y, rx, ry: single; c: TBGRAPixel; w: single; back: TBGRAPixel); overload; virtual; abstract; |
|
procedure EllipseAntialias(AOrigin, AXAxis, AYAxis: TPointF; c: TBGRAPixel; w: single; back: TBGRAPixel); overload; virtual; abstract; |
|
procedure EraseMask(x,y: integer; AMask: TBGRACustomBitmap; alpha: byte=255); virtual; abstract; |
|
procedure FastBlendHorizLine(x, y, x2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
procedure FastBlendPixel(x, y: int32or64; const c: TBGRAPixel); virtual; abstract; |
|
procedure FastBlendVertLine(x, y, y2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
procedure Fill(texture: IBGRAScanner; mode: TDrawMode); overload; override; |
|
procedure Fill(texture: IBGRAScanner); overload; virtual; |
|
procedure Fill(c: TBGRAPixel; start, Count: integer); overload; virtual; abstract; |
|
procedure FillChord(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AFillColor: TBGRAPixel); overload; |
|
procedure FillChord(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; texture: IBGRAScanner); overload; |
|
procedure FillChord(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
procedure FillChord(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
procedure FillChordInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
procedure FillChordInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
procedure FillClearTypeMask(x,y: integer; xThird: integer; AMask: TBGRACustomBitmap; texture: IBGRAScanner; ARGBOrder: boolean = true); overload; virtual; abstract; |
|
procedure FillClearTypeMask(x,y: integer; xThird: integer; AMask: TBGRACustomBitmap; color: TBGRAPixel; ARGBOrder: boolean = true); overload; virtual; abstract; |
|
procedure FillEllipseLinearColorAntialias(AOrigin, AXAxis, AYAxis: TPointF; outercolor, innercolor: TBGRAPixel); overload; virtual; abstract; |
|
procedure FillEllipseLinearColorAntialias(x, y, rx, ry: single; outercolor, innercolor: TBGRAPixel); overload; virtual; abstract; |
|
procedure FillMask(x,y: integer; AMask: TCustomUniversalBitmap; ATexture: IBGRAScanner; ADrawMode: TDrawMode); overload; override; |
|
procedure FillMask(x,y: integer; AMask: TCustomUniversalBitmap; ATexture: IBGRAScanner; ADrawMode: TDrawMode; AOpacity: byte); overload; virtual; abstract; |
|
procedure FillPie(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
procedure FillPie(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; texture: IBGRAScanner); overload; |
|
procedure FillPie(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
procedure FillPie(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AFillColor: TBGRAPixel); overload; |
|
procedure FillPieInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
procedure FillPieInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
procedure FillPolyLinearColor(const points: array of TPointF; AColors: array of TBGRAPixel); overload; virtual; abstract; |
|
procedure FillPolyLinearMapping(const points: array of TPointF; texture: IBGRAScanner; texCoords: array of TPointF; TextureInterpolation: Boolean); overload; virtual; abstract; |
|
procedure FillPolyLinearMappingLightness(const points: array of TPointF; texture: IBGRAScanner; texCoords: array of TPointF; lightnesses: array of word; TextureInterpolation: Boolean); overload; virtual; abstract; |
|
procedure FillPolyPerspectiveMapping(const points: array of TPointF; const pointsZ: array of single; texture: IBGRAScanner; texCoords: array of TPointF; TextureInterpolation: Boolean; zbuffer: psingle = nil); overload; virtual; abstract; |
|
procedure FillPolyPerspectiveMappingLightness(const points: array of TPointF; const pointsZ: array of single; texture: IBGRAScanner; texCoords: array of TPointF; lightnesses: array of word; TextureInterpolation: Boolean; zbuffer: psingle = nil); overload; virtual; abstract; |
|
procedure FillQuadAffineMapping(Orig,HAxis,VAxis: TPointF; AImage: TBGRACustomBitmap; APixelCenteredCoordinates: boolean = true; ADrawMode: TDrawMode = dmDrawWithTransparency; AOpacity: byte = 255); virtual; abstract; |
|
procedure FillQuadAffineMappingAntialias(Orig,HAxis,VAxis: TPointF; AImage: TBGRACustomBitmap; APixelCenteredCoordinates: boolean = true; AOpacity: byte = 255); virtual; abstract; |
|
procedure FillQuadLinearColor(pt1,pt2,pt3,pt4: TPointF; c1,c2,c3,c4: TBGRAPixel); overload; virtual; abstract; |
|
procedure FillQuadLinearColorAntialias(pt1,pt2,pt3,pt4: TPointF; c1,c2,c3,c4: TBGRAPixel); overload; virtual; abstract; |
|
procedure FillQuadLinearMapping(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; TextureInterpolation: Boolean= True; ACulling: TFaceCulling = fcNone; ACropToPolygon: boolean = true); overload; virtual; abstract; |
|
procedure FillQuadLinearMappingAntialias(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACulling: TFaceCulling = fcNone); overload; virtual; abstract; |
|
procedure FillQuadLinearMappingLightness(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; light1,light2,light3,light4: word; TextureInterpolation: Boolean= True); overload; virtual; abstract; |
|
procedure FillQuadPerspectiveMapping(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACleanBorders: TRect; ADrawMode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
procedure FillQuadPerspectiveMapping(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ADrawMode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
procedure FillQuadPerspectiveMappingAntialias(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF); overload; virtual; abstract; |
|
procedure FillQuadPerspectiveMappingAntialias(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACleanBorders: TRect); overload; virtual; abstract; |
|
procedure FillRect(x, y, x2, y2: integer; texture: IBGRAScanner; mode: TDrawMode; AScanOffset: TPoint; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; abstract; |
|
procedure FillRect(x, y, x2, y2: integer; texture: IBGRAScanner; mode: TDrawMode; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; |
|
procedure FillRect(r: TRect; texture: IBGRAScanner; mode: TDrawMode; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; |
|
procedure FillRect(r: TRect; texture: IBGRAScanner; mode: TDrawMode; AScanOffset: TPoint; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; |
|
procedure FillTriangleLinearColor(pt1,pt2,pt3: TPointF; c1,c2,c3: TBGRAPixel); overload; virtual; abstract; |
|
procedure FillTriangleLinearColorAntialias(pt1,pt2,pt3: TPointF; c1,c2,c3: TBGRAPixel); overload; virtual; abstract; |
|
procedure FillTriangleLinearMapping(pt1,pt2,pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF; TextureInterpolation: Boolean= True); overload; virtual; abstract; |
|
procedure FillTriangleLinearMappingAntialias(pt1,pt2,pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF); overload; virtual; abstract; |
|
procedure FillTriangleLinearMappingLightness(pt1,pt2,pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF; light1,light2,light3: word; TextureInterpolation: Boolean= True); overload; virtual; abstract; |
|
procedure FloodFill(X, Y: integer; Color: TBGRAPixel; mode: TFloodfillMode; Tolerance: byte = 0); overload; virtual; |
|
procedure FloodFill(X, Y: integer; const Brush: TUniversalBrush; Progressive: boolean; ToleranceW: Word = $00ff); overload; virtual; |
|
procedure GetImageFromCanvas(CanvasSource: TCanvas; x, y: integer); virtual; abstract; |
|
procedure GradientFill(x, y, x2, y2: integer; c1, c2: TBGRAPixel; gtype: TGradientType; o1, o2: TPointF; mode: TDrawMode; gammaColorCorrection: boolean = True; Sinus: Boolean=False; ditherAlgo: TDitheringAlgorithm = daNearestNeighbor); overload; virtual; abstract; |
|
procedure GradientFill(x, y, x2, y2: integer; gradient: TBGRACustomGradient; gtype: TGradientType; o1, o2: TPointF; mode: TDrawMode; Sinus: Boolean=False; ditherAlgo: TDitheringAlgorithm = daNearestNeighbor); overload; virtual; abstract; |
|
procedure GrayscaleToAlpha; virtual; abstract; |
|
procedure HorizLineDiff(x, y, x2: int32or64; const ABrush: TUniversalBrush; ACompare: TBGRAPixel; AMaxDiffW: word); virtual; abstract; |
|
procedure HorizontalFlip(ARect: TRect); overload; override; |
|
procedure InplaceGrayscale(AGammaCorrection: boolean = true); overload; virtual; abstract; |
|
procedure InplaceGrayscale(ABounds: TRect; AGammaCorrection: boolean = true); overload; virtual; abstract; |
|
procedure InplaceNormalize(AEachChannel: boolean = True); overload; virtual; abstract; |
|
procedure InplaceNormalize(ABounds: TRect; AEachChannel: boolean = True); overload; virtual; abstract; |
|
procedure LinearNegative; virtual; abstract; |
|
procedure LinearNegativeRect(ABounds: TRect); virtual; abstract; |
|
procedure LoadFromDevice(DC: HDC); overload; virtual; abstract; |
|
procedure LoadFromDevice(DC: HDC; ARect: TRect); overload; virtual; abstract; |
|
procedure LoadFromStream(AStream: TStream; AHandler: TFPCustomImageReader; AOptions: TBGRALoadingOptions); override; |
|
procedure NeedXorMask; virtual; |
|
procedure Negative; virtual; abstract; |
|
procedure NegativeRect(ABounds: TRect); virtual; abstract; |
|
procedure ParallelFloodFill(X, Y: integer; Dest: TCustomUniversalBitmap; const Brush: TUniversalBrush; Progressive: boolean; ToleranceW: Word = $00ff; DestOfsX: integer = 0; DestOfsY: integer = 0); overload; virtual; abstract; |
|
procedure ParallelFloodFill(X, Y: integer; Dest: TCustomUniversalBitmap; Color: TBGRAPixel; mode: TFloodfillMode; Tolerance: byte = 0; DestOfsX: integer = 0; DestOfsY: integer = 0); overload; virtual; abstract; |
|
procedure Pie(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel); overload; |
|
procedure Pie(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel); overload; |
|
procedure PutImage(x, y: integer; Source: TBitmap; mode: TDrawMode; AOpacity: byte = 255); overload; |
|
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AOutputBounds: TRect; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255; APixelCenteredCoords: boolean = true); overload; virtual; abstract; |
|
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AOutputBounds: TRect; AOpacity: Byte=255; ACorrectBlur: Boolean = false; APixelCenteredCoords: boolean = true); overload; |
|
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255); overload; |
|
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AOutputBounds: TRect; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255); overload; |
|
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AOpacity: Byte=255; ACorrectBlur: Boolean = false); overload; |
|
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AOpacity: Byte=255); overload; |
|
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AOpacity: Byte=255; APixelCenteredCoords: boolean = true); overload; |
|
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255; APixelCenteredCoords: boolean = true); overload; |
|
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AOutputBounds: TRect; AOpacity: Byte=255; ACorrectBlur: Boolean = false); overload; |
|
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AOpacity: Byte=255; ACorrectBlur: Boolean = false; APixelCenteredCoords: boolean = true); overload; |
|
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; AResampleFilter: TResampleFilter; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false); overload; |
|
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; AOutputBounds: TRect; AResampleFilter: TResampleFilter; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false); overload; |
|
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; AOutputBounds: TRect; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false; ACorrectBlur: Boolean = false); overload; |
|
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false; ACorrectBlur: Boolean = false); overload; |
|
procedure PutImagePart(x,y: integer; Source: TBGRACustomBitmap; SourceRect: TRect; mode: TDrawMode; AOpacity: byte = 255); |
|
procedure PutImageSubpixel(x, y: single; Source: TBGRACustomBitmap; AOpacity: byte = 255); |
|
procedure RectangleAntialias(x, y, x2, y2: single; c: TBGRAPixel; w: single; back: TBGRAPixel); overload; virtual; abstract; |
|
procedure RectangleWithin(r: TRect; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel); overload; |
|
procedure RectangleWithin(x1,y1,x2,y2: single; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel; APixelCenteredCoordinates: boolean = true); overload; |
|
procedure ReplaceColor(before, after: TColor); overload; virtual; abstract; |
|
procedure ReplaceColor(ARect: TRect; before, after: TColor); overload; virtual; abstract; |
|
procedure RotateUDInplace(ARect: TRect); overload; override; |
|
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; penTexture: IBGRAScanner; w: single; fillTexture: IBGRAScanner; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; texture: IBGRAScanner; w: single; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; c: TBGRAPixel; w: single; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; pencolor: TBGRAPixel; w: single; fillcolor: TBGRAPixel; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
procedure ScanNextMaskChunk(var ACount: integer; out AMask: PByteMask; out AStride: integer); override; |
|
procedure SetPixel(x, y: int32or64; c: TColor); overload; virtual; abstract; |
|
procedure SetSize(AWidth, AHeight: integer); override; |
|
procedure StretchPutImage(ARect: TRect; Source: TBitmap; mode: TDrawMode; AOpacity: byte = 255); overload; |
|
procedure StretchPutImage(ARect: TRect; Source: TBGRACustomBitmap; mode: TDrawMode; AOpacity: byte = 255); overload; virtual; abstract; |
|
procedure StretchPutImageProportionally(ARect: TRect; AHorizAlign: TAlignment; AVertAlign: TTextLayout; Source: TBGRACustomBitmap; mode: TDrawMode; AOpacity: byte = 255; ACover: boolean = false); |
|
procedure SwapRedBlue(ARect: TRect); overload; virtual; abstract; |
|
procedure SwapRedBlue; overload; virtual; abstract; |
|
procedure TakeScreenshot(ARect: TRect); virtual; abstract; |
|
procedure TakeScreenshotOfPrimaryMonitor; virtual; abstract; |
|
procedure TextMultiline(ALeft,ATop,AWidth: single; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TBidiTextAlignment = btaNatural; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; virtual; abstract; |
|
procedure TextMultiline(x,y: single; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TBidiTextAlignment = btaLeftJustify; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; |
|
procedure TextMultiline(ALeft,ATop,AWidth: single; const sUTF8: string; c: TBGRAPixel; AAlign: TBidiTextAlignment = btaNatural; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; virtual; abstract; |
|
procedure TextMultiline(x,y: single; const sUTF8: string; c: TBGRAPixel; AAlign: TBidiTextAlignment = btaLeftJustify; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; |
|
procedure TextOut(x, y: single; const sUTF8: string; c: TColor; ARightToLeft: boolean); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner; ARightToLeft: boolean); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; c: TColor); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner; align: TAlignment); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel; align: TAlignment); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel; ARightToLeft: boolean); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel); overload; virtual; |
|
procedure TextOut(x, y: single; const sUTF8: string; AColor: TBGRAPixel; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
procedure TextOut(x, y: single; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; texture: IBGRAScanner); overload; virtual; |
|
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; texture: IBGRAScanner; align: TAlignment); overload; virtual; |
|
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; texture: IBGRAScanner; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; c: TBGRAPixel); overload; virtual; |
|
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; c: TBGRAPixel; align: TAlignment); overload; virtual; |
|
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; c: TBGRAPixel; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
procedure TextOutCurved(APath: IBGRAPath; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; |
|
procedure TextOutCurved(ACursor: TBGRACustomPathCursor; const sUTF8: string; AColor: TBGRAPixel; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
procedure TextOutCurved(ACursor: TBGRACustomPathCursor; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
procedure TextOutCurved(APath: IBGRAPath; const sUTF8: string; AColor: TBGRAPixel; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; |
|
procedure TextRect(ARect: TRect; const sUTF8: string; halign: TAlignment; valign: TTextLayout; texture: IBGRAScanner); overload; virtual; |
|
procedure TextRect(ARect: TRect; const sUTF8: string; halign: TAlignment; valign: TTextLayout; c: TBGRAPixel); overload; virtual; |
|
procedure TextRect(ARect: TRect; x, y: integer; const sUTF8: string; style: TTextStyle; c: TBGRAPixel); overload; virtual; abstract; |
|
procedure TextRect(ARect: TRect; x, y: integer; const sUTF8: string; style: TTextStyle; texture: IBGRAScanner); overload; virtual; abstract; |
|
procedure VerticalFlip(ARect: TRect); overload; override; |
|
procedure XorHorizLine(x, y, x2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
procedure XorPixel(x, y: int32or64; const c: TBGRAPixel); overload; virtual; abstract; |
|
procedure XorVertLine(x, y, y2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
procedure Init; override; |
|
procedure InternalArc(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ADrawChord: boolean = false; ATexture: IBGRAScanner = nil); overload; virtual; abstract; |
|
procedure InternalArc(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ADrawChord: boolean = false; ATexture: IBGRAScanner = nil); overload; |
|
procedure InternalArcInRect(r: TRect; StartAngleRad,EndAngleRad: Single; ABorderColor : TBGRAPixel; w: single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ADrawChord: boolean = false; ATexture: IBGRAScanner = nil); |
|
procedure InternalFillArcInRect(r: TRect; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ATexture: IBGRAScanner = nil); |
|
procedure SetArrowEndOffset(AValue: single); virtual; abstract; |
|
procedure SetArrowEndRepeat(AValue: integer); virtual; abstract; |
|
procedure SetArrowEndSize(AValue: TPointF); virtual; abstract; |
|
procedure SetArrowStartOffset(AValue: single); virtual; abstract; |
|
procedure SetArrowStartRepeat(AValue: integer); virtual; abstract; |
|
procedure SetArrowStartSize(AValue: TPointF); virtual; abstract; |
|
procedure SetCanvasAlphaCorrection(const AValue: boolean); virtual; abstract; |
|
procedure SetCanvasDrawModeFP(const AValue: TDrawMode); virtual; abstract; |
|
procedure SetCanvasOpacity(AValue: byte); virtual; abstract; |
|
procedure SetCustomPenStyle(const AValue: TBGRAPenStyle); virtual; abstract; |
|
procedure SetFontAntialias(const AValue: Boolean); |
|
procedure SetFontFullHeight(AHeight: integer); virtual; abstract; |
|
procedure SetFontHeight(AHeight: integer); virtual; abstract; |
|
procedure SetFontRenderer(AValue: TBGRACustomFontRenderer); virtual; abstract; |
|
procedure SetPenJoinStyle(const AValue: TPenJoinStyle); virtual; abstract; |
|
procedure SetPenMiterLimit(const AValue: single); virtual; abstract; |
|
procedure SetPenStyle(const AValue: TPenStyle); virtual; abstract; |
|
procedure SetXorMask(AValue: TBGRACustomBitmap); |
Properties
Description
Fields
FontBidiMode: TFontBidiMode; |
|
Specifies the base direction of the text (cf Unicode). By default, it is automatically determined by the first strongly oriented character. You can specify another base direction here however it is not taken into account by the LCL on Linux. |
FontName: string; |
|
Specifies the font to use. Unless the font renderer accept otherwise, the name is in human readable form, like 'Arial', 'Times New Roman', ... |
FontOrientation: integer; |
|
Specifies the rotation of the text, for functions that support text rotation. It is expressed in tenth of degrees, positive values going counter-clockwise. |
FontQuality: TBGRAFontQuality; |
|
Specifies the quality of rendering. Default value is ''fqSystem''. See [[BGRABitmap Miscellaneous types|miscellaneous types]] |
FontStyle: TFontStyles; |
|
Specifies the set of styles to be applied to the font. These can be ''fsBold'', ''fsItalic'', ''fsStrikeOut'', ''fsUnderline''. So the value [''fsBold'',''fsItalic''] means that the font must be bold and italic. See [[BGRABitmap Miscellaneous types|miscellaneous types]] |
FontVerticalAnchor: TFontVerticalAnchor; |
|
Specifies how the font is vertically aligned relative to the start coordinate. See [[BGRABitmap Miscellaneous types|miscellaneous types]] |
FXorMask: TBGRACustomBitmap; |
|
This item has no description. |
HotSpot: TPoint; |
|
Cursor position for mouse pointer |
ResampleFilter: TResampleFilter; |
|
Resample filter is used when resizing the bitmap. See [[BGRABitmap Miscellaneous types#Images and resampling|resampling types]] |
ScanInterpolationFilter: TResampleFilter; |
|
Scan interpolation filter is used when the bitmap is used as a scanner (interface ''IBGRAScanner'') |
ScanMaskChannel: TChannel; |
|
This item has no description. |
Methods
constructor Create(ABitmap: TBitmap); overload; virtual; abstract; |
|
This item has no description. |
constructor Create(ABitmap: TBitmap; AUseTransparent: boolean); overload; virtual; abstract; |
|
This item has no description. |
constructor Create(AFilename: string); overload; virtual; abstract; |
|
This item has no description. |
constructor Create(AFPImage: TFPCustomImage; ACopyProperties: Boolean=False); overload; virtual; abstract; |
|
This item has no description. |
constructor Create(AFilename: string; AIsUtf8Filename: boolean); overload; virtual; abstract; |
|
This item has no description. |
constructor Create(AFilename: string; AIsUtf8Filename: boolean; AOptions: TBGRALoadingOptions); overload; virtual; abstract; |
|
This item has no description. |
constructor Create(AStream: TStream); overload; virtual; abstract; |
|
This item has no description. |
function ComputeArc65536(x,y,rx,ry: single; start65536,end65536: word; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
This item has no description. |
function ComputeArcRad(x,y,rx,ry: single; startRad,endRad: single; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
This item has no description. |
function ComputeBezierCurve(const curve: TQuadraticBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeBezierCurve(const curve: TCubicBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeBezierSpline(const spline: array of TCubicBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeBezierSpline(const spline: array of TQuadraticBezierCurve): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeClosedSpline(const APoints: array of TPointF; AStyle: TSplineStyle): ArrayOfTPointF; virtual; abstract; |
|
Spline |
function ComputeEllipse(x,y,rx,ry: single): ArrayOfTPointF; overload; deprecated; |
|
Warning: this symbol is deprecated. This item has no description. |
function ComputeEllipse(x,y,rx,ry,w: single): ArrayOfTPointF; overload; deprecated; |
|
Warning: this symbol is deprecated. This item has no description. |
function ComputeEllipseBorder(AOrigin, AXAxis, AYAxis: TPointF; w: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeEllipseBorder(x,y,rx,ry,w: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeEllipseContour(AOrigin, AXAxis, AYAxis: TPointF; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeEllipseContour(x,y,rx,ry: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeOpenedSpline(const APoints: array of TPointF; AStyle: TSplineStyle): ArrayOfTPointF; virtual; abstract; |
|
This item has no description. |
function ComputePie65536(x,y,rx,ry: single; start65536,end65536: word; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
This item has no description. |
function ComputePieRad(x,y,rx,ry: single; startRad,endRad: single; quality: single = 1): ArrayOfTPointF; virtual; abstract; |
|
This item has no description. |
function ComputeRoundRect(x1,y1,x2,y2,rx,ry: single; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeRoundRect(x1,y1,x2,y2,rx,ry: single; options: TRoundRectangleOptions; quality: single = 1): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function ComputeWidePolygon(const points: array of TPointF; w: single): ArrayOfTPointF; virtual; abstract; |
|
This item has no description. |
function ComputeWidePolyline(const points: array of TPointF; w: single): ArrayOfTPointF; overload; virtual; abstract; |
|
can be accessed via Pen property |
function ComputeWidePolyline(const points: array of TPointF; w: single; ClosedCap: boolean): ArrayOfTPointF; overload; virtual; abstract; |
|
This item has no description. |
function CreateBrushTexture(ABrushStyle: TBrushStyle; APatternColor, ABackgroundColor: TBGRAPixel; AWidth: integer = 8; AHeight: integer = 8; APenWidth: single = 1): TBGRACustomBitmap; override; |
|
This item has no description. |
function Duplicate(DuplicateProperties, DuplicateXorMask: Boolean): TBGRACustomBitmap; overload; virtual; |
|
This item has no description. |
function Duplicate(DuplicateProperties: Boolean = False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterAffine(AMatrix: TAffineMatrix; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterBlurMotion(const ABounds: TRect; distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterBlurMotion(distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterBlurRadial(radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. Showing description inherited from TCustomUniversalBitmap.FilterBlurRadial. filters |
function FilterBlurRadial(const ABounds: TRect; radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterBlurRadial(radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterBlurRadial(const ABounds: TRect; radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterContour(AGammaCorrection: boolean = false; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterCustomBlur(const ABounds: TRect; mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterCustomBlur(mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function FilterCylinder(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterEmboss(angle: single; ABounds: TRect; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterEmboss(angle: single; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; var Offset: TPoint; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterEmbossHighlight(FillSelection: boolean; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterGrayscale(ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterGrayscale(ABounds: TRect; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterMedian(Option: TMedianOption; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterNormalize(ABounds: TRect; eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterNormalize(eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterPixelate(pixelSize: integer; useResample: boolean; filter: TResampleFilter = rfLinear; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterPlane(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterRotate(origin: TPointF; angle: single; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterSharpen(ABounds: TRect; Amount: single = 1; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterSharpen(Amount: single = 1; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterSmartZoom3(Option: TMedianOption; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterSmooth(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterSphere(ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function FilterTwirl(ABounds: TRect; ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function FilterTwirl(ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function GetImageAffineBounds(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; APixelCenteredCoords: boolean = true): TRect; overload; |
|
This item has no description. |
function GetImageAffineBounds(Origin,HAxis,VAxis: TPointF; ASourceWidth, ASourceHeight: integer; const ASourceBounds: TRect; AClipOutput: boolean = true): TRect; overload; |
|
This item has no description. |
function GetImageAffineBounds(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap): TRect; overload; |
|
This item has no description. |
function GetImageAffineBounds(AMatrix: TAffineMatrix; ASourceBounds: TRect; AClipOutput: boolean = true; APixelCenteredCoords: boolean = true): TRect; overload; virtual; abstract; |
|
This item has no description. |
function GetImageAngleBounds(x,y: single; Source: TBGRACustomBitmap; angle: single; imageCenterX: single = 0; imageCenterY: single = 0; ARestoreOffsetAfterRotation: boolean = false): TRect; |
|
This item has no description. |
function GetImageBoundsWithin(const ARect: TRect; Channel: TChannel = cAlpha; ANothingValue: Byte = 0): TRect; overload; override; |
|
This item has no description. |
function GetImageBoundsWithin(const ARect: TRect; Channels: TChannels; ANothingValue: Byte = 0): TRect; overload; override; |
|
This item has no description. |
function GetMaskFromAlpha: TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function GetPart(const ARect: TRect; ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
This item has no description. Showing description inherited from TCustomUniversalBitmap.GetPart. Get a part of the image with repetition in both directions. It means that if the bounds are within the image, the result is just that part of the image, but if the bounds are bigger than the image, the image is tiled. |
function GetPixel(x, y: single; AResampleFilter: TResampleFilter = rfLinear; smoothBorder: boolean = true): TBGRAPixel; overload; virtual; abstract; |
|
This item has no description. |
function GetPixel256(x, y, fracX256,fracY256: int32or64; AResampleFilter: TResampleFilter = rfLinear; smoothBorder: boolean = true): TBGRAPixel; virtual; abstract; |
|
This item has no description. |
function GetPixelCycle(x, y: single; AResampleFilter: TResampleFilter; repeatX: boolean; repeatY: boolean): TBGRAPixel; overload; virtual; abstract; |
|
This item has no description. |
function GetPixelCycle(x, y: single; AResampleFilter: TResampleFilter = rfLinear): TBGRAPixel; overload; virtual; abstract; |
|
This item has no description. |
function GetPixelCycle256(x, y, fracX256,fracY256: int32or64; AResampleFilter: TResampleFilter; repeatX: boolean; repeatY: boolean): TBGRAPixel; overload; virtual; abstract; |
|
This item has no description. |
function GetPixelCycle256(x, y, fracX256,fracY256: int32or64; AResampleFilter: TResampleFilter = rfLinear): TBGRAPixel; overload; virtual; abstract; |
|
This item has no description. |
function GetPtrBitmap(Top,Bottom: Integer): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function GetScanlineAt(X, Y: integer): PBGRAPixel; override; |
|
This item has no description. |
function GetUnique: TBGRACustomBitmap; override; |
|
Returns an object with a reference count equal to 1. Duplicate this bitmap if necessary |
class function IsAffineRoughlyTranslation(AMatrix: TAffineMatrix; ASourceBounds: TRect): boolean; virtual; abstract; |
|
This item has no description. |
function MakeBitmapCopy(BackgroundColor: TColor; AMasked: boolean = False): TBitmap; virtual; abstract; |
|
This item has no description. |
function NewBitmap(AFPImage: TFPCustomImage): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function NewBitmap(Filename: string; AIsUtf8: boolean; AOptions: TBGRALoadingOptions): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function NewBitmap(AWidth, AHeight: integer; const Color: TBGRAPixel): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function NewBitmap(Filename: string; AIsUtf8: boolean): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function NewBitmap(AWidth, AHeight: integer; AColor: Pointer): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function NewBitmap(Filename: string): TBGRACustomBitmap; overload; virtual; abstract; |
|
This item has no description. |
function NewBitmap: TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function NewBitmap(AWidth, AHeight: integer): TBGRACustomBitmap; overload; override; |
|
This item has no description. |
function NewReference: TBGRACustomBitmap; override; |
|
Adds a reference (this reference count is not the same as the reference count of an interface, it changes only by explicit calls) |
function ProvidesScanline(ARect: TRect): boolean; override; |
|
This item has no description. Showing description inherited from TCustomUniversalBitmap.ProvidesScanline. ==== 'IBGRAScanner'' interface ==== |
function Resample(newWidth, newHeight: integer; mode: TResampleMode = rmFineResample; ACopyProperties: Boolean=False): TBGRACustomBitmap; virtual; abstract; |
|
This item has no description. |
function RotateCCW(ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
This item has no description. Showing description inherited from TCustomUniversalBitmap.RotateCCW. Return a new bitmap rotated in a counter clock wise direction. |
function RotateCW(ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
Filters |
function RotateUD(ACopyProperties: Boolean=False): TBGRACustomBitmap; override; |
|
This item has no description. Showing description inherited from TCustomUniversalBitmap.RotateUD. Return a new bitmap rotated 180° (upside down). |
function ScanAtExpanded(X,Y: Single): TExpandedPixel; override; |
|
This item has no description. |
function ScanAtIntegerExpanded(X,Y: integer): TExpandedPixel; override; |
|
function ScanAtIntegerMask(X,Y: integer): TByteMask; override; |
|
This item has no description. |
function ScanAtMask(X,Y: Single): TByteMask; override; |
|
This item has no description. |
function ScanNextExpandedPixel: TExpandedPixel; override; |
|
This item has no description. |
function TextAffineBox(const sUTF8: string): TAffineBox; virtual; abstract; |
|
This item has no description. |
function TextFitInfo(const sUTF8: string; AMaxWidth: integer): integer; virtual; abstract; |
|
This item has no description. |
function TextSize(const sUTF8: string; AMaxWidth: integer): TSize; overload; virtual; abstract; |
|
This item has no description. |
function TextSize(const sUTF8: string): TSize; overload; virtual; abstract; |
|
This item has no description. |
function TextSize(const sUTF8: string; AMaxWidth: integer; ARightToLeft: boolean): TSize; overload; virtual; abstract; |
|
This item has no description. |
function TextSizeMultiline(const sUTF8: string; AMaxWidth: single = EmptySingle; AParagraphSpacing: single = 0): TSize; virtual; abstract; |
|
This item has no description. |
function GetArrowEndOffset: single; virtual; abstract; |
|
This item has no description. |
function GetArrowEndRepeat: integer; virtual; abstract; |
|
This item has no description. |
function GetArrowEndSize: TPointF; virtual; abstract; |
|
This item has no description. |
function GetArrowStartOffset: single; virtual; abstract; |
|
This item has no description. |
function GetArrowStartRepeat: integer; virtual; abstract; |
|
This item has no description. |
function GetArrowStartSize: TPointF; virtual; abstract; |
|
This item has no description. |
function GetAverageColor: TColor; virtual; abstract; |
|
This item has no description. |
function GetAveragePixel: TBGRAPixel; virtual; abstract; |
|
This item has no description. |
function GetBitmap: TBitmap; virtual; abstract; |
|
GUI bitmap object |
function GetCanvas: TCanvas; virtual; abstract; |
|
This item has no description. |
function GetCanvasAlphaCorrection: boolean; virtual; abstract; |
|
This item has no description. |
function GetCanvasDrawModeFP: TDrawMode; virtual; abstract; |
|
FreePascal drawing routines |
function GetCanvasOpacity: byte; virtual; abstract; |
|
This item has no description. |
function GetCustomPenStyle: TBGRAPenStyle; virtual; abstract; |
|
This item has no description. |
function GetFontAntialias: Boolean; |
|
——————-font style accessors———————— |
function GetFontFullHeight: integer; virtual; abstract; |
|
This item has no description. |
function GetFontHeight: integer; virtual; abstract; |
|
This item has no description. |
function GetFontPixelMetric: TFontPixelMetric; virtual; abstract; |
|
This item has no description. |
function GetFontRenderer: TBGRACustomFontRenderer; virtual; abstract; |
|
This item has no description. |
function GetFontRightToLeftFor(AText: string): boolean; |
|
This item has no description. |
function GetFontVerticalAnchorOffset: single; virtual; abstract; |
|
This item has no description. |
function GetPenJoinStyle: TPenJoinStyle; virtual; abstract; |
|
———– pen style accessors —————- |
function GetPenMiterLimit: single; virtual; abstract; |
|
This item has no description. |
function GetPenStyle: TPenStyle; virtual; abstract; |
|
This item has no description. |
function InternalNew: TBGRACustomBitmap; override; |
|
This item has no description. |
procedure AlphaFill(alpha: byte; start, Count: integer); overload; virtual; abstract; |
|
This item has no description. |
procedure AlphaToGrayscale; virtual; abstract; |
|
This item has no description. |
procedure Arc(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AColor: TBGRAPixel; w: single; ADrawChord: boolean; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure Arc(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AColor: TBGRAPixel; w: single; ADrawChord: boolean; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure ArrowEndAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); virtual; abstract; |
|
This item has no description. |
procedure ArrowEndAsNone; virtual; abstract; |
|
This item has no description. |
procedure ArrowEndAsTail; virtual; abstract; |
|
This item has no description. |
procedure ArrowEndAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); virtual; abstract; |
|
This item has no description. |
procedure ArrowStartAsClassic(AFlipped: boolean = false; ACut: boolean = false; ARelativePenWidth: single = 1); virtual; abstract; |
|
This item has no description. |
procedure ArrowStartAsNone; virtual; abstract; |
|
This item has no description. |
procedure ArrowStartAsTail; virtual; abstract; |
|
This item has no description. |
procedure ArrowStartAsTriangle(ABackOffset: single = 0; ARounded: boolean = false; AHollow: boolean = false; AHollowPenWidth: single = 0.5); virtual; abstract; |
|
This item has no description. |
procedure Blend(AColor: TBGRAPixel; AOperation: TBlendOperation; AIgnoreDestAlpha: boolean = false); virtual; |
|
This item has no description. |
procedure BlendImage(ADest: TRect; ASource: IBGRAScanner; AOffsetX, AOffsetY: integer; AOperation: TBlendOperation); overload; virtual; abstract; |
|
This item has no description. |
procedure BlendImage(x, y: integer; ASource: TBGRACustomBitmap; AOperation: TBlendOperation); overload; virtual; abstract; |
|
This item has no description. |
procedure BlendImageOver(x, y: integer; ASource: TBGRACustomBitmap; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false); overload; virtual; abstract; |
|
This item has no description. |
procedure BlendImageOver(ADest: TRect; ASource: IBGRAScanner; AOffsetX, AOffsetY: integer; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false); overload; virtual; abstract; |
|
This item has no description. |
procedure BlendOver(AColor: TBGRAPixel; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false; AIgnoreDestAlpha: boolean = false); virtual; |
|
This item has no description. |
procedure BlendRect(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AExcludeChannels: TChannels); overload; virtual; abstract; |
|
This item has no description. |
procedure BlendRect(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AIgnoreDestAlpha: boolean = false); overload; |
|
This item has no description. |
procedure BlendRectOver(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AOpacity: byte; ALinearBlend: boolean; AExcludeChannels: TChannels); overload; virtual; abstract; |
|
This item has no description. |
procedure BlendRectOver(ADest: TRect; AColor: TBGRAPixel; AOperation: TBlendOperation; AOpacity: byte = 255; ALinearBlend: boolean = false; AIgnoreDestAlpha: boolean = false); overload; |
|
This item has no description. |
procedure ComputeImageAngleAxes(x,y,w,h,angle: single; imageCenterX,imageCenterY: single; ARestoreOffsetAfterRotation: boolean; out Origin,HAxis,VAxis: TPointF); |
|
This item has no description. |
procedure ConvertFromLinearRGB; virtual; abstract; |
|
This item has no description. |
procedure ConvertToLinearRGB; virtual; abstract; |
|
This item has no description. |
procedure CopyPropertiesTo(ABitmap: TCustomUniversalBitmap); override; |
|
This item has no description. |
procedure CrossFade(ARect: TRect; Source1, Source2: IBGRAScanner; AFadePosition: byte; mode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
procedure CrossFade(ARect: TRect; Source1, Source2: IBGRAScanner; AFadeMask: IBGRAScanner; mode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
This item has no description. |
procedure DataDrawOpaque(ACanvas: TCanvas; ARect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); virtual; abstract; |
|
This item has no description. |
procedure DataDrawTransparent(ACanvas: TCanvas; Rect: TRect; AData: Pointer; ALineOrder: TRawImageLineOrder; AWidth, AHeight: integer); virtual; abstract; |
|
Canvas drawing functions |
procedure DiscardXorMask; virtual; |
|
** Free reference to xor mask |
procedure Draw(ACanvas: TCanvas; Rect: TRect; Opaque: boolean = True); overload; virtual; abstract; |
|
This item has no description. |
procedure Draw(ACanvas: TCanvas; x, y: integer; Opaque: boolean = True); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawHorizLine(x, y, x2: int32or64; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure DrawHorizLine(x, y, x2: int32or64; ec: TExpandedPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawHorizLineDiff(x, y, x2: int32or64; c, compare: TBGRAPixel; maxDiff: byte); virtual; abstract; |
|
This item has no description. |
procedure DrawPart(ARect: TRect; ACanvas: TCanvas; x, y: integer; Opaque: boolean); overload; virtual; |
|
This item has no description. |
procedure DrawPart(ARect: TRect; ACanvas: TCanvas; ATargetRect: TRect; Opaque: boolean); overload; virtual; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeColor: TBGRAPixel; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeTexture: IBGRAScanner; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AStrokeTexture: IBGRAScanner; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AStrokeColor: TBGRAPixel; AWidth: single; AFillColor: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AStrokeTexture: IBGRAScanner; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AStrokeColor: TBGRAPixel; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeColor: TBGRAPixel; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPath(APath: IBGRAPath; AMatrix: TAffineMatrix; AStrokeTexture: IBGRAScanner; AWidth: single; AFillTexture: IBGRAScanner); overload; virtual; abstract; |
|
This item has no description. |
procedure DrawPixel(x, y: int32or64; const c: TBGRAPixel; ADrawMode: TDrawMode); overload; override; |
|
This item has no description. |
procedure DrawPixels(c: TBGRAPixel; start, Count: integer); virtual; abstract; |
|
This item has no description. |
procedure DrawPolygonAntialias(const points: array of TPointF; c: TBGRAPixel; w: single; fillcolor: TBGRAPixel); overload; virtual; abstract; |
|
Draws a filled polygon using current pen style/cap/join in one go. The stroke is stricly over the fill even if partially transparent. The polygon is always closed. You don't need to set the last point to be the same as the first point. |
procedure DrawPolyLineAntialias(const points: array of TPointF; c: TBGRAPixel; w: single; fillcolor: TBGRAPixel); overload; virtual; abstract; |
|
Draws and fill a polyline using current pen style/cap/join in one go. The stroke is stricly over the fill even if partially transparent. ''fillcolor'' specifies a color to fill the polygon formed by the points |
procedure DrawVertLine(x, y, y2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure EllipseAntialias(x, y, rx, ry: single; c: TBGRAPixel; w: single; back: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure EllipseAntialias(AOrigin, AXAxis, AYAxis: TPointF; c: TBGRAPixel; w: single; back: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure EraseMask(x,y: integer; AMask: TBGRACustomBitmap; alpha: byte=255); virtual; abstract; |
|
This item has no description. |
procedure FastBlendHorizLine(x, y, x2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure FastBlendPixel(x, y: int32or64; const c: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure FastBlendVertLine(x, y, y2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure Fill(texture: IBGRAScanner; mode: TDrawMode); overload; override; |
|
This item has no description. |
procedure Fill(texture: IBGRAScanner); overload; virtual; |
|
compatibility: take into account ClipRect |
procedure Fill(c: TBGRAPixel; start, Count: integer); overload; virtual; abstract; |
|
This item has no description. |
procedure FillChord(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure FillChord(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure FillChord(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure FillChord(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure FillChordInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure FillChordInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure FillClearTypeMask(x,y: integer; xThird: integer; AMask: TBGRACustomBitmap; texture: IBGRAScanner; ARGBOrder: boolean = true); overload; virtual; abstract; |
|
This item has no description. |
procedure FillClearTypeMask(x,y: integer; xThird: integer; AMask: TBGRACustomBitmap; color: TBGRAPixel; ARGBOrder: boolean = true); overload; virtual; abstract; |
|
This item has no description. |
procedure FillEllipseLinearColorAntialias(AOrigin, AXAxis, AYAxis: TPointF; outercolor, innercolor: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure FillEllipseLinearColorAntialias(x, y, rx, ry: single; outercolor, innercolor: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure FillMask(x,y: integer; AMask: TCustomUniversalBitmap; ATexture: IBGRAScanner; ADrawMode: TDrawMode); overload; override; |
|
masks |
procedure FillMask(x,y: integer; AMask: TCustomUniversalBitmap; ATexture: IBGRAScanner; ADrawMode: TDrawMode; AOpacity: byte); overload; virtual; abstract; |
|
This item has no description. |
procedure FillPie(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure FillPie(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure FillPie(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure FillPie(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure FillPieInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; texture: IBGRAScanner); overload; |
|
This item has no description. |
procedure FillPieInRect(const ARect: TRect; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure FillPolyLinearColor(const points: array of TPointF; AColors: array of TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure FillPolyLinearMapping(const points: array of TPointF; texture: IBGRAScanner; texCoords: array of TPointF; TextureInterpolation: Boolean); overload; virtual; abstract; |
|
This item has no description. |
procedure FillPolyLinearMappingLightness(const points: array of TPointF; texture: IBGRAScanner; texCoords: array of TPointF; lightnesses: array of word; TextureInterpolation: Boolean); overload; virtual; abstract; |
|
This item has no description. |
procedure FillPolyPerspectiveMapping(const points: array of TPointF; const pointsZ: array of single; texture: IBGRAScanner; texCoords: array of TPointF; TextureInterpolation: Boolean; zbuffer: psingle = nil); overload; virtual; abstract; |
|
This item has no description. |
procedure FillPolyPerspectiveMappingLightness(const points: array of TPointF; const pointsZ: array of single; texture: IBGRAScanner; texCoords: array of TPointF; lightnesses: array of word; TextureInterpolation: Boolean; zbuffer: psingle = nil); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadAffineMapping(Orig,HAxis,VAxis: TPointF; AImage: TBGRACustomBitmap; APixelCenteredCoordinates: boolean = true; ADrawMode: TDrawMode = dmDrawWithTransparency; AOpacity: byte = 255); virtual; abstract; |
|
This item has no description. |
procedure FillQuadAffineMappingAntialias(Orig,HAxis,VAxis: TPointF; AImage: TBGRACustomBitmap; APixelCenteredCoordinates: boolean = true; AOpacity: byte = 255); virtual; abstract; |
|
This item has no description. |
procedure FillQuadLinearColor(pt1,pt2,pt3,pt4: TPointF; c1,c2,c3,c4: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadLinearColorAntialias(pt1,pt2,pt3,pt4: TPointF; c1,c2,c3,c4: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadLinearMapping(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; TextureInterpolation: Boolean= True; ACulling: TFaceCulling = fcNone; ACropToPolygon: boolean = true); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadLinearMappingAntialias(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACulling: TFaceCulling = fcNone); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadLinearMappingLightness(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; light1,light2,light3,light4: word; TextureInterpolation: Boolean= True); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadPerspectiveMapping(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACleanBorders: TRect; ADrawMode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadPerspectiveMapping(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ADrawMode: TDrawMode = dmDrawWithTransparency); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadPerspectiveMappingAntialias(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF); overload; virtual; abstract; |
|
This item has no description. |
procedure FillQuadPerspectiveMappingAntialias(pt1,pt2,pt3,pt4: TPointF; texture: IBGRAScanner; tex1, tex2, tex3, tex4: TPointF; ACleanBorders: TRect); overload; virtual; abstract; |
|
This item has no description. |
procedure FillRect(x, y, x2, y2: integer; texture: IBGRAScanner; mode: TDrawMode; AScanOffset: TPoint; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; abstract; |
|
This item has no description. |
procedure FillRect(x, y, x2, y2: integer; texture: IBGRAScanner; mode: TDrawMode; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; |
|
This item has no description. |
procedure FillRect(r: TRect; texture: IBGRAScanner; mode: TDrawMode; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; |
|
This item has no description. |
procedure FillRect(r: TRect; texture: IBGRAScanner; mode: TDrawMode; AScanOffset: TPoint; ditheringAlgorithm: TDitheringAlgorithm); overload; virtual; |
|
This item has no description. |
procedure FillTriangleLinearColor(pt1,pt2,pt3: TPointF; c1,c2,c3: TBGRAPixel); overload; virtual; abstract; |
|
==== Gradient/textured polygons ==== |
procedure FillTriangleLinearColorAntialias(pt1,pt2,pt3: TPointF; c1,c2,c3: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure FillTriangleLinearMapping(pt1,pt2,pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF; TextureInterpolation: Boolean= True); overload; virtual; abstract; |
|
This item has no description. |
procedure FillTriangleLinearMappingAntialias(pt1,pt2,pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF); overload; virtual; abstract; |
|
This item has no description. |
procedure FillTriangleLinearMappingLightness(pt1,pt2,pt3: TPointF; texture: IBGRAScanner; tex1, tex2, tex3: TPointF; light1,light2,light3: word; TextureInterpolation: Boolean= True); overload; virtual; abstract; |
|
This item has no description. |
procedure FloodFill(X, Y: integer; Color: TBGRAPixel; mode: TFloodfillMode; Tolerance: byte = 0); overload; virtual; |
|
This item has no description. |
procedure FloodFill(X, Y: integer; const Brush: TUniversalBrush; Progressive: boolean; ToleranceW: Word = $00ff); overload; virtual; |
|
This item has no description. |
procedure GetImageFromCanvas(CanvasSource: TCanvas; x, y: integer); virtual; abstract; |
|
This item has no description. |
procedure GradientFill(x, y, x2, y2: integer; c1, c2: TBGRAPixel; gtype: TGradientType; o1, o2: TPointF; mode: TDrawMode; gammaColorCorrection: boolean = True; Sinus: Boolean=False; ditherAlgo: TDitheringAlgorithm = daNearestNeighbor); overload; virtual; abstract; |
|
This item has no description. |
procedure GradientFill(x, y, x2, y2: integer; gradient: TBGRACustomGradient; gtype: TGradientType; o1, o2: TPointF; mode: TDrawMode; Sinus: Boolean=False; ditherAlgo: TDitheringAlgorithm = daNearestNeighbor); overload; virtual; abstract; |
|
This item has no description. |
procedure GrayscaleToAlpha; virtual; abstract; |
|
This item has no description. |
procedure HorizLineDiff(x, y, x2: int32or64; const ABrush: TUniversalBrush; ACompare: TBGRAPixel; AMaxDiffW: word); virtual; abstract; |
|
This item has no description. |
procedure HorizontalFlip(ARect: TRect); overload; override; |
|
This item has no description. |
procedure InplaceGrayscale(AGammaCorrection: boolean = true); overload; virtual; abstract; |
|
This item has no description. |
procedure InplaceGrayscale(ABounds: TRect; AGammaCorrection: boolean = true); overload; virtual; abstract; |
|
This item has no description. |
procedure InplaceNormalize(AEachChannel: boolean = True); overload; virtual; abstract; |
|
This item has no description. |
procedure InplaceNormalize(ABounds: TRect; AEachChannel: boolean = True); overload; virtual; abstract; |
|
This item has no description. |
procedure LinearNegative; virtual; abstract; |
|
This item has no description. |
procedure LinearNegativeRect(ABounds: TRect); virtual; abstract; |
|
This item has no description. |
procedure LoadFromDevice(DC: HDC); overload; virtual; abstract; |
|
Gets the content of the specified device context |
procedure LoadFromDevice(DC: HDC; ARect: TRect); overload; virtual; abstract; |
|
Gets the content from the specified rectangular area of a device context |
procedure LoadFromStream(AStream: TStream; AHandler: TFPCustomImageReader; AOptions: TBGRALoadingOptions); override; |
|
This item has no description. |
procedure NeedXorMask; virtual; |
|
** Allocate xor mask |
procedure Negative; virtual; abstract; |
|
inplace filters |
procedure NegativeRect(ABounds: TRect); virtual; abstract; |
|
This item has no description. |
procedure ParallelFloodFill(X, Y: integer; Dest: TCustomUniversalBitmap; const Brush: TUniversalBrush; Progressive: boolean; ToleranceW: Word = $00ff; DestOfsX: integer = 0; DestOfsY: integer = 0); overload; virtual; abstract; |
|
This item has no description. |
procedure ParallelFloodFill(X, Y: integer; Dest: TCustomUniversalBitmap; Color: TBGRAPixel; mode: TFloodfillMode; Tolerance: byte = 0; DestOfsX: integer = 0; DestOfsY: integer = 0); overload; virtual; abstract; |
|
This item has no description. |
procedure Pie(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; AColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure Pie(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; AColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure PutImage(x, y: integer; Source: TBitmap; mode: TDrawMode; AOpacity: byte = 255); overload; |
|
This item has no description. |
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AOutputBounds: TRect; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255; APixelCenteredCoords: boolean = true); overload; virtual; abstract; |
|
This item has no description. |
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AOutputBounds: TRect; AOpacity: Byte=255; ACorrectBlur: Boolean = false; APixelCenteredCoords: boolean = true); overload; |
|
This item has no description. |
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255); overload; |
|
This item has no description. |
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AOutputBounds: TRect; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255); overload; |
|
This item has no description. |
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AOpacity: Byte=255; ACorrectBlur: Boolean = false); overload; |
|
This item has no description. |
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AOpacity: Byte=255); overload; |
|
This item has no description. |
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AOpacity: Byte=255; APixelCenteredCoords: boolean = true); overload; |
|
This item has no description. |
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AResampleFilter: TResampleFilter; AMode: TDrawMode; AOpacity: Byte=255; APixelCenteredCoords: boolean = true); overload; |
|
This item has no description. |
procedure PutImageAffine(Origin,HAxis,VAxis: TPointF; Source: TBGRACustomBitmap; AOutputBounds: TRect; AOpacity: Byte=255; ACorrectBlur: Boolean = false); overload; |
|
This item has no description. |
procedure PutImageAffine(AMatrix: TAffineMatrix; Source: TBGRACustomBitmap; AOpacity: Byte=255; ACorrectBlur: Boolean = false; APixelCenteredCoords: boolean = true); overload; |
|
This item has no description. |
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; AResampleFilter: TResampleFilter; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false); overload; |
|
This item has no description. |
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; AOutputBounds: TRect; AResampleFilter: TResampleFilter; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false); overload; |
|
This item has no description. |
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; AOutputBounds: TRect; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false; ACorrectBlur: Boolean = false); overload; |
|
This item has no description. |
procedure PutImageAngle(x,y: single; Source: TBGRACustomBitmap; angle: single; imageCenterX: single = 0; imageCenterY: single = 0; AOpacity: Byte=255; ARestoreOffsetAfterRotation: boolean = false; ACorrectBlur: Boolean = false); overload; |
|
This item has no description. |
procedure PutImagePart(x,y: integer; Source: TBGRACustomBitmap; SourceRect: TRect; mode: TDrawMode; AOpacity: byte = 255); |
|
This item has no description. |
procedure PutImageSubpixel(x, y: single; Source: TBGRACustomBitmap; AOpacity: byte = 255); |
|
This item has no description. |
procedure RectangleAntialias(x, y, x2, y2: single; c: TBGRAPixel; w: single; back: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure RectangleWithin(r: TRect; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel); overload; |
|
This item has no description. |
procedure RectangleWithin(x1,y1,x2,y2: single; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel; APixelCenteredCoordinates: boolean = true); overload; |
|
This item has no description. |
procedure ReplaceColor(before, after: TColor); overload; virtual; abstract; |
|
This item has no description. |
procedure ReplaceColor(ARect: TRect; before, after: TColor); overload; virtual; abstract; |
|
This item has no description. |
procedure RotateUDInplace(ARect: TRect); overload; override; |
|
This item has no description. |
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; penTexture: IBGRAScanner; w: single; fillTexture: IBGRAScanner; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
This item has no description. |
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; texture: IBGRAScanner; w: single; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
This item has no description. |
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; c: TBGRAPixel; w: single; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
This item has no description. |
procedure RoundRectAntialias(x,y,x2,y2,rx,ry: single; pencolor: TBGRAPixel; w: single; fillcolor: TBGRAPixel; options: TRoundRectangleOptions = []); overload; virtual; abstract; |
|
This item has no description. |
procedure ScanNextMaskChunk(var ACount: integer; out AMask: PByteMask; out AStride: integer); override; |
|
This item has no description. |
procedure SetPixel(x, y: int32or64; c: TColor); overload; virtual; abstract; |
|
Pixel functions |
procedure SetSize(AWidth, AHeight: integer); override; |
|
Can only be called with an existing instance of ''TBGRACustomBitmap''. Sets the dimensions of an existing ''TBGRACustomBitmap'' instance. |
procedure StretchPutImage(ARect: TRect; Source: TBitmap; mode: TDrawMode; AOpacity: byte = 255); overload; |
|
This item has no description. |
procedure StretchPutImage(ARect: TRect; Source: TBGRACustomBitmap; mode: TDrawMode; AOpacity: byte = 255); overload; virtual; abstract; |
|
This item has no description. |
procedure StretchPutImageProportionally(ARect: TRect; AHorizAlign: TAlignment; AVertAlign: TTextLayout; Source: TBGRACustomBitmap; mode: TDrawMode; AOpacity: byte = 255; ACover: boolean = false); |
|
This item has no description. |
procedure SwapRedBlue(ARect: TRect); overload; virtual; abstract; |
|
This item has no description. |
procedure SwapRedBlue; overload; virtual; abstract; |
|
This item has no description. |
procedure TakeScreenshot(ARect: TRect); virtual; abstract; |
|
Fills the content with a screenshot of the specified rectangular area of the desktop (it can be from any screen) |
procedure TakeScreenshotOfPrimaryMonitor; virtual; abstract; |
|
Fills the content with a screenshot of the primary monitor |
procedure TextMultiline(ALeft,ATop,AWidth: single; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TBidiTextAlignment = btaNatural; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; virtual; abstract; |
|
This item has no description. |
procedure TextMultiline(x,y: single; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TBidiTextAlignment = btaLeftJustify; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; |
|
This item has no description. |
procedure TextMultiline(ALeft,ATop,AWidth: single; const sUTF8: string; c: TBGRAPixel; AAlign: TBidiTextAlignment = btaNatural; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; virtual; abstract; |
|
This item has no description. |
procedure TextMultiline(x,y: single; const sUTF8: string; c: TBGRAPixel; AAlign: TBidiTextAlignment = btaLeftJustify; AVertAlign: TTextLayout = tlTop; AParagraphSpacing: single = 0); overload; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; c: TColor; ARightToLeft: boolean); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner; ARightToLeft: boolean); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; c: TColor); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner; align: TAlignment); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel; align: TAlignment); overload; virtual; |
|
Draw the UTF8 encoded string, (x,y) being the top-left corner by default. The color c or texture is used to fill the text. The value of FontOrientation is taken into account, so that the text may be rotated. |
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel; ARightToLeft: boolean); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel); overload; virtual; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; AColor: TBGRAPixel; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; c: TBGRAPixel; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOut(x, y: single; const sUTF8: string; texture: IBGRAScanner; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; texture: IBGRAScanner); overload; virtual; |
|
This item has no description. |
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; texture: IBGRAScanner; align: TAlignment); overload; virtual; |
|
This item has no description. |
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; texture: IBGRAScanner; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; c: TBGRAPixel); overload; virtual; |
|
Overrides the font orientation with the parameter orientationTenthDegCCW |
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; c: TBGRAPixel; align: TAlignment); overload; virtual; |
|
This item has no description. |
procedure TextOutAngle(x, y: single; orientationTenthDegCCW: integer; const sUTF8: string; c: TBGRAPixel; align: TAlignment; ARightToLeft: boolean); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOutCurved(APath: IBGRAPath; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; |
|
This item has no description. |
procedure TextOutCurved(ACursor: TBGRACustomPathCursor; const sUTF8: string; AColor: TBGRAPixel; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOutCurved(ACursor: TBGRACustomPathCursor; const sUTF8: string; ATexture: IBGRAScanner; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; abstract; |
|
This item has no description. |
procedure TextOutCurved(APath: IBGRAPath; const sUTF8: string; AColor: TBGRAPixel; AAlign: TAlignment; ALetterSpacing: single); overload; virtual; |
|
This item has no description. |
procedure TextRect(ARect: TRect; const sUTF8: string; halign: TAlignment; valign: TTextLayout; texture: IBGRAScanner); overload; virtual; |
|
This item has no description. |
procedure TextRect(ARect: TRect; const sUTF8: string; halign: TAlignment; valign: TTextLayout; c: TBGRAPixel); overload; virtual; |
|
Draw the UTF8 encoded string in the rectangle ARect. Text is wrapped if necessary. The position depends on the specified horizontal alignment halign and vertical alignement valign. The color c or texture is used to fill the text. No rotation is applied. |
procedure TextRect(ARect: TRect; x, y: integer; const sUTF8: string; style: TTextStyle; c: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure TextRect(ARect: TRect; x, y: integer; const sUTF8: string; style: TTextStyle; texture: IBGRAScanner); overload; virtual; abstract; |
|
This item has no description. |
procedure VerticalFlip(ARect: TRect); overload; override; |
|
This item has no description. |
procedure XorHorizLine(x, y, x2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
Line primitives |
procedure XorPixel(x, y: int32or64; const c: TBGRAPixel); overload; virtual; abstract; |
|
This item has no description. |
procedure XorVertLine(x, y, y2: int32or64; c: TBGRAPixel); virtual; abstract; |
|
This item has no description. |
procedure Init; override; |
|
This item has no description. Showing description inherited from TCustomUniversalBitmap.Init. ReadWriteConfig: TBGRAReadWriteConfig; |
procedure InternalArc(cx,cy,rx,ry: single; StartAngleRad,EndAngleRad: Single; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ADrawChord: boolean = false; ATexture: IBGRAScanner = nil); overload; virtual; abstract; |
|
This item has no description. |
procedure InternalArc(cx,cy,rx,ry: single; const StartPoint,EndPoint: TPointF; ABorderColor: TBGRAPixel; w: single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ADrawChord: boolean = false; ATexture: IBGRAScanner = nil); overload; |
|
This item has no description. |
procedure InternalArcInRect(r: TRect; StartAngleRad,EndAngleRad: Single; ABorderColor : TBGRAPixel; w: single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ADrawChord: boolean = false; ATexture: IBGRAScanner = nil); |
|
This item has no description. |
procedure InternalFillArcInRect(r: TRect; StartAngleRad,EndAngleRad: Single; AFillColor: TBGRAPixel; AOptions: TArcOptions; ATexture: IBGRAScanner = nil); |
|
This item has no description. |
procedure SetArrowEndOffset(AValue: single); virtual; abstract; |
|
This item has no description. |
procedure SetArrowEndRepeat(AValue: integer); virtual; abstract; |
|
This item has no description. |
procedure SetArrowEndSize(AValue: TPointF); virtual; abstract; |
|
This item has no description. |
procedure SetArrowStartOffset(AValue: single); virtual; abstract; |
|
This item has no description. |
procedure SetArrowStartRepeat(AValue: integer); virtual; abstract; |
|
This item has no description. |
procedure SetArrowStartSize(AValue: TPointF); virtual; abstract; |
|
This item has no description. |
procedure SetCanvasAlphaCorrection(const AValue: boolean); virtual; abstract; |
|
This item has no description. |
procedure SetCanvasDrawModeFP(const AValue: TDrawMode); virtual; abstract; |
|
This item has no description. |
procedure SetCanvasOpacity(AValue: byte); virtual; abstract; |
|
This item has no description. |
procedure SetCustomPenStyle(const AValue: TBGRAPenStyle); virtual; abstract; |
|
This item has no description. |
procedure SetFontAntialias(const AValue: Boolean); |
|
This item has no description. |
procedure SetFontFullHeight(AHeight: integer); virtual; abstract; |
|
This item has no description. |
procedure SetFontHeight(AHeight: integer); virtual; abstract; |
|
This item has no description. |
procedure SetFontRenderer(AValue: TBGRACustomFontRenderer); virtual; abstract; |
|
This item has no description. |
procedure SetPenJoinStyle(const AValue: TPenJoinStyle); virtual; abstract; |
|
This item has no description. |
procedure SetPenMiterLimit(const AValue: single); virtual; abstract; |
|
This item has no description. |
procedure SetPenStyle(const AValue: TPenStyle); virtual; abstract; |
|
This item has no description. |
procedure SetXorMask(AValue: TBGRACustomBitmap); |
|
accessors to properies |
Properties
property ArrowEndOffset: single read GetArrowEndOffset write SetArrowEndOffset; |
|
Offset of the arrow from the end of the line |
property ArrowEndRepeat: integer read GetArrowEndRepeat write SetArrowEndRepeat; |
|
Number of times to repeat the ending arrow |
property ArrowEndSize: TPointF read GetArrowEndSize write SetArrowEndSize; |
|
Size of arrows at the end of the line |
property ArrowStartOffset: single read GetArrowStartOffset write SetArrowStartOffset; |
|
property ArrowStartRepeat: integer read GetArrowStartRepeat write SetArrowStartRepeat; |
|
Number of times to repeat the starting arrow |
property ArrowStartSize: TPointF read GetArrowStartSize write SetArrowStartSize; |
|
property AverageColor: TColor Read GetAverageColor; |
|
Average color of the image |
property AveragePixel: TBGRAPixel Read GetAveragePixel; |
|
Average color (including alpha) of the image |
property Bitmap: TBitmap Read GetBitmap; |
|
|
property Canvas: TCanvas Read GetCanvas; |
|
|
property CanvasAlphaCorrection: boolean Read GetCanvasAlphaCorrection Write SetCanvasAlphaCorrection; |
|
Specifies if the alpha values must be corrected after GUI access to the bitmap |
property CanvasDrawModeFP: TDrawMode read GetCanvasDrawModeFP write SetCanvasDrawModeFP; |
|
Draw mode to used when image is access using FreePascal functions and ''Colors'' property |
property CanvasOpacity: byte Read GetCanvasOpacity Write SetCanvasOpacity; |
|
Opacity to apply to changes made using GUI functions, provided ''CanvasAlphaCorrection'' is set to ''True'' |
property CustomPenStyle: TBGRAPenStyle read GetCustomPenStyle write SetCustomPenStyle; |
|
Custom pen style. See [[BGRABitmap Geometry types|geometric types]] |
property FontAntialias: Boolean read GetFontAntialias write SetFontAntialias; |
|
Simplified property to specify the quality (see ''FontQuality'') |
property FontFullHeight: integer read GetFontFullHeight write SetFontFullHeight; |
|
Specifies the height of the font in pixels, taking into account the additional line spacing defined for the font |
property FontHeight: integer Read GetFontHeight Write SetFontHeight; |
|
Specifies the height of the font in pixels without taking into account additional line spacing. A negative value means that it is the full height instead (see below) |
property FontPixelMetric: TFontPixelMetric read GetFontPixelMetric; |
|
Returns measurement for the current font in pixels |
property FontRenderer: TBGRACustomFontRenderer read GetFontRenderer write SetFontRenderer; |
|
Specifies the font renderer. When working with the LCL, by default it is an instance of ''TLCLFontRenderer'' of unit ''BGRAText''. Other renderers are provided in ''BGRATextFX'' unit and ''BGRAVectorize'' unit. Additionally, ''BGRAFreeType'' provides a renderer independent from the LCL. *
|
property FontVerticalAnchorOffset: single read GetFontVerticalAnchorOffset; |
|
This item has no description. |
property JoinMiterLimit: single read GetPenMiterLimit Write SetPenMiterLimit; |
|
Limit for the extension of the segments when joining them with ''pjsMiter'' join style, expressed in multiples of the width of the pen |
property JoinStyle: TPenJoinStyle read GetPenJoinStyle Write SetPenJoinStyle; |
|
How to join segments. See [[BGRABitmap Types imported from Graphics|BGRAGraphics]] |
property PenStyle: TPenStyle read GetPenStyle Write SetPenStyle; |
|
Pen style. See [[BGRABitmap Types imported from Graphics|BGRAGraphics]] |
property XorMask: TBGRACustomBitmap read FXorMask write SetXorMask; |
|
Xor mask to be applied when image is drawn |