Unit 'BGRABitmapTypes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#pl_bgrabitmap]

TBGRACustomBitmap

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: bgracustombitmap.inc line 12

type TBGRACustomBitmap = class(specialize TGenericUniversalBitmap<,>)

protected

  FXorMask: TBGRACustomBitmap;

  

  procedure SetXorMask();

  

  function GetAverageColor; virtual; abstract;

  

  function GetAveragePixel; virtual; abstract;

  

  function GetCanvasFP; virtual; abstract;

  

  function GetCanvasDrawModeFP; virtual; abstract;

  

  procedure SetCanvasDrawModeFP(); virtual; abstract;

  

  function GetBitmap; virtual; abstract;

  

  function GetCanvas; virtual; abstract;

  

  function GetCanvasOpacity; virtual; abstract;

  

  procedure SetCanvasOpacity(); virtual; abstract;

  

  function GetCanvasAlphaCorrection; virtual; abstract;

  

  procedure SetCanvasAlphaCorrection(); virtual; abstract;

  

  procedure Init; override;

  

  function InternalNew; override;

  

  procedure InternalArc();

  

  procedure InternalArcInRect();

  

  procedure InternalFillArcInRect();

  

public

  ResampleFilter: TResampleFilter;

  

  ScanInterpolationFilter: TResampleFilter;

  

  ScanMaskChannel: TChannel;

  

  HotSpot: TPoint;

  

  procedure DiscardXorMask; virtual;

  

  procedure NeedXorMask; virtual;

  

  property XorMask: TBGRACustomBitmap; [rw]

  

  property AverageColor: LongInt; [r]

  

  property AveragePixel: TBGRAPixel; [r]

  

  property CanvasFP: TFPImageCanvas; [r]

  

  property CanvasDrawModeFP: TDrawMode; [rw]

  

  property Bitmap: TBitmap; [r]

  

  property Canvas: TCanvas; [r]

  

  property CanvasOpacity: Byte; [rw]

  

  property CanvasAlphaCorrection: Boolean; [rw]

  

protected

  function GetPenJoinStyle; virtual; abstract;

  

  procedure SetPenJoinStyle(); virtual; abstract;

  

  function GetPenMiterLimit; virtual; abstract;

  

  procedure SetPenMiterLimit(); virtual; abstract;

  

  function GetPenStyle; virtual; abstract;

  

  procedure SetPenStyle(); virtual; abstract;

  

  function GetCustomPenStyle; virtual; abstract;

  

  procedure SetCustomPenStyle(); virtual; abstract;

  

  function GetArrowEndRepeat; virtual; abstract;

  

  function GetArrowStartRepeat; virtual; abstract;

  

  procedure SetArrowEndRepeat(); virtual; abstract;

  

  procedure SetArrowStartRepeat(); virtual; abstract;

  

  function GetArrowEndOffset; virtual; abstract;

  

  function GetArrowStartOffset; virtual; abstract;

  

  procedure SetArrowEndOffset(); virtual; abstract;

  

  procedure SetArrowStartOffset(); virtual; abstract;

  

  function GetArrowEndSize; virtual; abstract;

  

  function GetArrowStartSize; virtual; abstract;

  

  procedure SetArrowEndSize(); virtual; abstract;

  

  procedure SetArrowStartSize(); virtual; abstract;

  

public

  property JoinStyle: TFPPenJoinStyle; [rw]

  

  property JoinMiterLimit: single; [rw]

  

  property PenStyle: TFPPenStyle; [rw]

  

  property CustomPenStyle: TBGRAPenStyle; [rw]

  

  property ArrowStartSize: TPointF; [rw]

  

  property ArrowEndSize: TPointF; [rw]

  

  property ArrowStartOffset: single; [rw]

  

  property ArrowEndOffset: single; [rw]

  

  property ArrowStartRepeat: Integer; [rw]

  

  property ArrowEndRepeat: Integer; [rw]

  

  procedure ArrowStartAsNone; virtual; abstract;

  

  procedure ArrowStartAsClassic(); virtual; abstract;

  

  procedure ArrowStartAsTriangle(); virtual; abstract;

  

  procedure ArrowStartAsTail; virtual; abstract;

  

  procedure ArrowEndAsNone; virtual; abstract;

  

  procedure ArrowEndAsClassic(); virtual; abstract;

  

  procedure ArrowEndAsTriangle(); virtual; abstract;

  

  procedure ArrowEndAsTail; virtual; abstract;

  

protected

  function GetFontAntialias;

  

  procedure SetFontAntialias();

  

  function GetFontRenderer; virtual; abstract;

  

  procedure SetFontRenderer(); virtual; abstract;

  

  function GetFontHeight; virtual; abstract;

  

  procedure SetFontHeight(); virtual; abstract;

  

  function GetFontFullHeight; virtual; abstract;

  

  procedure SetFontFullHeight(); virtual; abstract;

  

  function GetFontVerticalAnchorOffset; virtual; abstract;

  

  function GetFontPixelMetric; virtual; abstract;

  

  function GetFontRightToLeftFor();

  

public

  FontName: string;

  

  FontStyle: TFontStyles;

  

  FontQuality: TBGRAFontQuality;

  

  FontOrientation: Integer;

  

  FontVerticalAnchor: TFontVerticalAnchor;

  

  FontBidiMode: TFontBidiMode;

  

  property FontHeight: Integer; [rw]

  

  property FontFullHeight: Integer; [rw]

  

  property FontAntialias: Boolean; [rw]

  

  property FontVerticalAnchorOffset: single; [r]

  

  property FontPixelMetric: TFontPixelMetric; [r]

  

  property FontRenderer: TBGRACustomFontRenderer; [rw]

  

  constructor Create();

  

  function NewBitmap();

  

  procedure LoadFromStream(); override;

  

  function NewReference; override;

  

  function GetUnique; override;

  

  function Duplicate();

  

  procedure CopyPropertiesTo(); override;

  

  function GetPart(); override;

  

  function CreateBrushTexture(); override;

  

  procedure SetSize(); override;

  

  procedure LoadFromDevice();

  

  procedure TakeScreenshotOfPrimaryMonitor; virtual; abstract;

  

  procedure TakeScreenshot(); virtual; abstract;

  

  procedure SetPixel(); virtual; abstract; overload;

  

  procedure XorPixel(); virtual; abstract; overload;

  

  procedure DrawPixel(); override; overload;

  

  procedure FastBlendPixel(); virtual; abstract;

  

  function GetPixel256(); virtual; abstract;

  

  function GetPixel(); virtual; abstract; overload;

  

  function GetPixelCycle();

  

  function GetPixelCycle256();

  

  procedure XorHorizLine(); virtual; abstract;

  

  procedure DrawHorizLine();

  

  procedure FastBlendHorizLine(); virtual; abstract;

  

  procedure DrawHorizLineDiff(); virtual; abstract;

  

  procedure HorizLineDiff(); virtual; abstract;

  

  procedure XorVertLine(); virtual; abstract;

  

  procedure DrawVertLine(); virtual; abstract;

  

  procedure FastBlendVertLine(); virtual; abstract;

  

  procedure DrawPolyLineAntialias(); virtual; abstract; overload;

  

  procedure DrawPolygonAntialias(); virtual; abstract; overload;

  

  procedure EllipseAntialias();

  

  procedure DrawPath();

  

  procedure FillTriangleLinearColor(); virtual; abstract; overload;

  

  procedure FillTriangleLinearColorAntialias(); virtual; abstract; overload;

  

  procedure FillTriangleLinearMapping(); virtual; abstract; overload;

  

  procedure FillTriangleLinearMappingLightness(); virtual; abstract; overload;

  

  procedure FillTriangleLinearMappingAntialias(); virtual; abstract; overload;

  

  procedure FillQuadLinearColor(); virtual; abstract; overload;

  

  procedure FillQuadLinearColorAntialias(); virtual; abstract; overload;

  

  procedure FillQuadLinearMapping(); virtual; abstract; overload;

  

  procedure FillQuadLinearMappingLightness(); virtual; abstract; overload;

  

  procedure FillQuadLinearMappingAntialias(); virtual; abstract; overload;

  

  procedure FillQuadPerspectiveMapping();

  

  procedure FillQuadPerspectiveMappingAntialias();

  

  procedure FillQuadAffineMapping(); virtual; abstract;

  

  procedure FillQuadAffineMappingAntialias(); virtual; abstract;

  

  procedure FillEllipseLinearColorAntialias();

  

  procedure FillPolyLinearColor(); virtual; abstract; overload;

  

  procedure FillPolyLinearMapping(); virtual; abstract; overload;

  

  procedure FillPolyLinearMappingLightness(); virtual; abstract; overload;

  

  procedure FillPolyPerspectiveMapping(); virtual; abstract; overload;

  

  procedure FillPolyPerspectiveMappingLightness(); virtual; abstract; overload;

  

  procedure Arc();

  

  procedure FillChord();

  

  procedure FillChordInRect();

  

  procedure Pie();

  

  procedure FillPie();

  

  procedure FillPieInRect();

  

  procedure RectangleAntialias(); virtual; abstract; overload;

  

  procedure RectangleWithin();

  

  procedure RoundRectAntialias();

  

  procedure FillRect();

  

  procedure TextOutCurved();

  

  procedure TextRect();

  

  procedure TextMultiline();

  

  function TextSize();

  

  function TextAffineBox(); virtual; abstract;

  

  function TextFitInfo(); virtual; abstract;

  

  function TextSizeMultiline(); virtual; abstract;

  

  procedure TextOut();

  

  procedure TextOutAngle();

  

  function ComputeClosedSpline(); virtual; abstract;

  

  function ComputeOpenedSpline(); virtual; abstract;

  

  function ComputeBezierCurve();

  

  function ComputeBezierSpline();

  

  function ComputeWidePolyline();

  

  function ComputeWidePolygon(); virtual; abstract;

  

  function ComputeEllipse(); deprecated ;

  

  function ComputeEllipseContour();

  

  function ComputeEllipseBorder();

  

  function ComputeArc65536(); virtual; abstract;

  

  function ComputeArcRad(); virtual; abstract;

  

  function ComputeRoundRect();

  

  function ComputePie65536(); virtual; abstract;

  

  function ComputePieRad(); virtual; abstract;

  

  procedure Fill();

  

  procedure DrawPixels(); virtual; abstract;

  

  procedure AlphaFill(); virtual; abstract; overload;

  

  procedure ReplaceColor();

  

  procedure FloodFill();

  

  procedure ParallelFloodFill();

  

  procedure GradientFill();

  

  procedure DataDrawTransparent(); virtual; abstract;

  

  procedure DataDrawOpaque(); virtual; abstract;

  

  procedure GetImageFromCanvas(); virtual; abstract;

  

  procedure Draw();

  

  procedure DrawPart();

  

  function GetPtrBitmap(); virtual; abstract;

  

  function MakeBitmapCopy(); virtual; abstract;

  

  procedure CrossFade();

  

  procedure PutImage(); overload;

  

  procedure StretchPutImage();

  

  procedure StretchPutImageProportionally();

  

  procedure PutImageSubpixel();

  

  procedure PutImagePart();

  

  procedure PutImageAffine();

  

  function GetImageAffineBounds();

  

  class function IsAffineRoughlyTranslation(); virtual; abstract;

  

  procedure PutImageAngle();

  

  procedure ComputeImageAngleAxes();

  

  function GetImageAngleBounds();

  

  procedure Blend(); virtual;

  

  procedure BlendOver(); virtual;

  

  procedure BlendRect();

  

  procedure BlendRectOver();

  

  procedure BlendImage();

  

  procedure BlendImageOver();

  

  function Resample(); virtual; abstract;

  

  procedure FillMask();

  

  procedure EraseMask(); virtual; abstract;

  

  procedure FillClearTypeMask();

  

  function GetMaskFromAlpha; virtual; abstract;

  

  function GetImageBoundsWithin();

  

  procedure Negative; virtual; abstract;

  

  procedure NegativeRect(); virtual; abstract;

  

  procedure LinearNegative; virtual; abstract;

  

  procedure LinearNegativeRect(); virtual; abstract;

  

  procedure InplaceGrayscale();

  

  procedure InplaceNormalize();

  

  procedure ConvertToLinearRGB; virtual; abstract;

  

  procedure ConvertFromLinearRGB; virtual; abstract;

  

  procedure SwapRedBlue();

  

  procedure GrayscaleToAlpha; virtual; abstract;

  

  procedure AlphaToGrayscale; virtual; abstract;

  

  procedure VerticalFlip(); override; overload;

  

  procedure HorizontalFlip(); override; overload;

  

  procedure RotateUDInplace(); override; overload;

  

  function RotateCW; override;

  

  function RotateCCW; override;

  

  function RotateUD; override;

  

  function FilterSmartZoom3(); virtual; abstract;

  

  function FilterMedian(); virtual; abstract;

  

  function FilterSmooth; virtual; abstract;

  

  function FilterSharpen();

  

  function FilterContour(); virtual; abstract;

  

  function FilterPixelate(); virtual; abstract;

  

  function FilterBlurRadial();

  

  function FilterBlurMotion();

  

  function FilterCustomBlur();

  

  function FilterEmboss();

  

  function FilterEmbossHighlight();

  

  function FilterGrayscale();

  

  function FilterNormalize();

  

  function FilterRotate(); virtual; abstract;

  

  function FilterAffine(); virtual; abstract;

  

  function FilterSphere; virtual; abstract;

  

  function FilterTwirl();

  

  function FilterCylinder; virtual; abstract;

  

  function FilterPlane; virtual; abstract;

  

  function ScanAtIntegerExpanded(); override;

  

  function ScanNextExpandedPixel; override;

  

  function ScanAtExpanded(); override;

  

  function ProvidesScanline(); override;

  

  function GetScanlineAt(); override;

  

  procedure ScanNextMaskChunk(); override;

  

  function ScanAtIntegerMask(); override;

  

  function ScanAtMask(); override;

  

end;

Inheritance

TBGRACustomBitmap

  

|

TGenericUniversalBitmap,IBGRAScanner

  

|

TObject



CT Web help

CodeTyphon Studio