Class TBGLBitmap

Unit

Declaration

type TBGLBitmap = class(TBGLCustomBitmap)

Description

RGBA bitmap that can be used with OpenGL by converting it into a texture

Hierarchy

Overview

Methods

Public function CreateBrushTexture(ABrushStyle: TBrushStyle; APatternColor, ABackgroundColor: TBGRAPixel; AWidth: integer = 8; AHeight: integer = 8; APenWidth: single = 1): TBGLBitmap; override;
Public function Duplicate(DuplicateProperties: Boolean = False): TBGLBitmap; overload; override;
Public function Duplicate(DuplicateProperties, DuplicateXorMask: Boolean) : TBGLBitmap; overload; override;
Public function FilterAffine(AMatrix: TAffineMatrix; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterBlurMotion(const ABounds: TRect; distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterBlurMotion(distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterBlurRadial(radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterBlurRadial(const ABounds: TRect; radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterBlurRadial(radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterBlurRadial(const ABounds: TRect; radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterContour(AGammaCorrection: boolean = false; ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterCustomBlur(const ABounds: TRect; mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterCustomBlur(mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterCylinder(ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterEmboss(angle: single; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterEmboss(angle: single; ABounds: TRect; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; var Offset: TPoint; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterEmbossHighlight(FillSelection: boolean; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterGrayscale(ABounds: TRect; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterGrayscale(ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterMedian(Option: TMedianOption; ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterNormalize(ABounds: TRect; eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterNormalize(eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterPixelate(pixelSize: integer; useResample: boolean; filter: TResampleFilter = rfLinear; ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterPlane(ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterRotate(origin: TPointF; angle: single; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterSharpen(Amount: single = 1; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterSharpen(ABounds: TRect; Amount: single = 1; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterSmartZoom3(Option: TMedianOption; ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterSmooth(ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterSphere(ACopyProperties: Boolean=False): TBGLBitmap; override;
Public function FilterTwirl(ABounds: TRect; ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function FilterTwirl(ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;
Public function GetPart(const ARect: TRect; CopyProperties: Boolean=False): TBGLBitmap; override;
Public function GetUnique: TBGLBitmap; override;
Public function NewBitmap(Filename: string; AIsUtf8: boolean): TBGLBitmap; overload; override;
Public function NewBitmap(Filename: string): TBGLBitmap; overload; override;
Public function NewBitmap(AFPImage: TFPCustomImage): TBGLBitmap; overload; override;
Public function NewBitmap(Filename: string; AIsUtf8: boolean; AOptions: TBGRALoadingOptions): TBGLBitmap; overload; override;
Public function NewBitmap(AWidth, AHeight: integer): TBGLBitmap; overload; override;
Public function NewBitmap: TBGLBitmap; overload; override;
Public function NewBitmap(AWidth, AHeight: integer; const Color: TBGRAPixel): TBGLBitmap; overload; override;
Public function NewBitmap(AWidth, AHeight: integer; AColor: Pointer): TBGLBitmap; overload; override;
Public function NewReference: TBGLBitmap; override;
Public function Resample(newWidth, newHeight: integer; mode: TResampleMode = rmFineResample; ACopyProperties: Boolean=False): TBGLBitmap; override;
Protected function GetOpenGLMaxTexSize: integer; override;

Description

Methods

Public function CreateBrushTexture(ABrushStyle: TBrushStyle; APatternColor, ABackgroundColor: TBGRAPixel; AWidth: integer = 8; AHeight: integer = 8; APenWidth: single = 1): TBGLBitmap; override;

This item has no description.

Public function Duplicate(DuplicateProperties: Boolean = False): TBGLBitmap; overload; override;

This item has no description.

Public function Duplicate(DuplicateProperties, DuplicateXorMask: Boolean) : TBGLBitmap; overload; override;

This item has no description.

Public function FilterAffine(AMatrix: TAffineMatrix; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterBlurMotion(const ABounds: TRect; distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterBlurMotion(distance: single; angle: single; oriented: boolean; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterBlurRadial(radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TCustomUniversalBitmap.FilterBlurRadial.

filters

Public function FilterBlurRadial(const ABounds: TRect; radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterBlurRadial(radiusX, radiusY: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterBlurRadial(const ABounds: TRect; radius: single; blurType: TRadialBlurType; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterContour(AGammaCorrection: boolean = false; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterCustomBlur(const ABounds: TRect; mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterCustomBlur(mask: TCustomUniversalBitmap; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterCylinder(ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterEmboss(angle: single; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterEmboss(angle: single; ABounds: TRect; AStrength: integer= 64; AOptions: TEmbossOptions = []; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterEmbossHighlight(FillSelection: boolean; BorderColor: TBGRAPixel; var Offset: TPoint; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterEmbossHighlight(FillSelection: boolean; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterGrayscale(ABounds: TRect; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterGrayscale(ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterMedian(Option: TMedianOption; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterNormalize(ABounds: TRect; eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterNormalize(eachChannel: boolean = True; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterPixelate(pixelSize: integer; useResample: boolean; filter: TResampleFilter = rfLinear; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterPlane(ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterRotate(origin: TPointF; angle: single; correctBlur: boolean = false; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterSharpen(Amount: single = 1; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterSharpen(ABounds: TRect; Amount: single = 1; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterSmartZoom3(Option: TMedianOption; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.FilterSmartZoom3.

Filters

Public function FilterSmooth(ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterSphere(ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Public function FilterTwirl(ABounds: TRect; ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function FilterTwirl(ACenter: TPoint; ARadius: Single; ATurn: Single=1; AExponent: Single=3; ACopyProperties: Boolean=False): TBGLBitmap; overload; override;

This item has no description.

Public function GetPart(const ARect: TRect; CopyProperties: Boolean=False): TBGLBitmap; 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.

Public function GetUnique: TBGLBitmap; override;

This item has no description. Showing description inherited from TBGRACustomBitmap.GetUnique.

Returns an object with a reference count equal to 1. Duplicate this bitmap if necessary

Public function NewBitmap(Filename: string; AIsUtf8: boolean): TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.NewBitmap.

Can only be called from an existing instance of ''TBGRABitmap''. Creates a new instance with by loading its content from the file ''Filename''

Public function NewBitmap(Filename: string): TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.NewBitmap.

Can only be called from an existing instance of ''TBGRABitmap''. Creates a new instance with by loading its content from the file ''Filename''. The encoding of the string is the default one for the operating system

Public function NewBitmap(AFPImage: TFPCustomImage): TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.NewBitmap.

Can only be called from an existing instance of ''TBGRABitmap''. Creates an image by copying the content of a ''TFPCustomImage''

Public function NewBitmap(Filename: string; AIsUtf8: boolean; AOptions: TBGRALoadingOptions): TBGLBitmap; overload; override;

This item has no description.

Public function NewBitmap(AWidth, AHeight: integer): TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.NewBitmap.

Can only be called from an existing instance of ''TBGRABitmap''. Creates a new instance with dimensions ''AWidth'' and ''AHeight'', containing transparent pixels.

Public function NewBitmap: TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.NewBitmap.

Can only be called from an existing instance of ''TBGRABitmap''. Creates a new instance with dimensions 0 x 0.

Public function NewBitmap(AWidth, AHeight: integer; const Color: TBGRAPixel): TBGLBitmap; overload; override;

This item has no description. Showing description inherited from TBGRADefaultBitmap.NewBitmap.

Can only be called from an existing instance of ''TBGRABitmap''. Creates a new instance with dimensions ''AWidth'' and ''AHeight'', and fills it with Color

Public function NewBitmap(AWidth, AHeight: integer; AColor: Pointer): TBGLBitmap; overload; override;

This item has no description.

Public function NewReference: TBGLBitmap; override;

This item has no description. Showing description inherited from TBGRACustomBitmap.NewReference.

Adds a reference (this reference count is not the same as the reference count of an interface, it changes only by explicit calls)

Public function Resample(newWidth, newHeight: integer; mode: TResampleMode = rmFineResample; ACopyProperties: Boolean=False): TBGLBitmap; override;

This item has no description.

Protected function GetOpenGLMaxTexSize: integer; override;

This item has no description.