Unit 'ImagingCanvases' Package
[Overview][Constants][Types][Classes][Procedures and functions][Index] [#pl_vampyreimaging]

TImagingCanvas

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

Declaration

Source position: ImagingCanvases.pas line 120

type TImagingCanvas = class(TObject)

protected

  FPData: PImageData;

  

  FClipRect: TRect;

  

  FPenColorFP: TColorFPRec;

  

  FPenColor32: UInt32;

  

  FPenMode: TPenMode;

  

  FPenWidth: LongInt;

  

  FFillColorFP: TColorFPRec;

  

  FFillColor32: UInt32;

  

  FFillMode: TFillMode;

  

  FNativeColor: TColorFPRec;

  

  FFormatInfo: TImageFormatInfo;

  

  function GetPixelPointer();

  

  procedure TranslateFPToNative();

  

  function ClipAxisParallelLine();

  

  procedure HorzLineInternal(); virtual;

  

  procedure CopyPixelInternal();

  

  procedure DrawInternal();

  

  procedure StretchDrawInternal();

  

public

  constructor CreateForData();

  

  constructor CreateForImage();

  

  destructor Destroy; override;

  

  procedure UpdateCanvasState; virtual;

  

  procedure ResetClipRect;

  

  procedure Clear;

  

  procedure HorzLine(); virtual;

  

  procedure VertLine(); virtual;

  

  procedure Line(); virtual;

  

  procedure FrameRect();

  

  procedure FillRect(); virtual;

  

  procedure FillRectBlend();

  

  procedure Rectangle();

  

  procedure Ellipse();

  

  procedure FloodFill();

  

  procedure DrawBlend();

  

  procedure DrawAlpha(); virtual;

  

  procedure DrawAdd();

  

  procedure StretchDrawBlend();

  

  procedure StretchDrawAlpha(); virtual;

  

  procedure StretchDrawAdd();

  

  procedure ApplyConvolution3x3();

  

  procedure ApplyConvolution5x5();

  

  procedure ApplyConvolution(); virtual;

  

  procedure ApplyNonLinearFilter();

  

  procedure ApplyMedianFilter();

  

  procedure ApplyMinFilter();

  

  procedure ApplyMaxFilter();

  

  procedure PointTransform();

  

  procedure ModifyContrastBrightness();

  

  procedure GammaCorrection();

  

  procedure InvertColors; virtual;

  

  procedure Threshold();

  

  procedure AdjustColorLevels();

  

  procedure PremultiplyAlpha;

  

  procedure UnPremultiplyAlpha;

  

  procedure GetHistogram();

  

  procedure FillChannel(); overload;

  

  procedure FillChannelFP(); overload;

  

  property PenColor32: UInt32; [rw]

  

  property PenColorFP: TColorFPRec; [rw]

  

  property PenMode: TPenMode; [rw]

  

  property PenWidth: LongInt; [rw]

  

  property FillColor32: UInt32; [rw]

  

  property FillColorFP: TColorFPRec; [rw]

  

  property FillMode: TFillMode; [rw]

  

  property Pixels32 []: UInt32; [rw]

  

  property PixelsFP []: TColorFPRec; [rw]

  

  property ClipRect: TRect; [rw]

  

  property FormatInfo: TImageFormatInfo; [r]

  

  property Valid: Boolean; [r]

  

  class function GetSupportedFormats; virtual;

  

end;

Inheritance

TImagingCanvas

  

|

TObject



CT Web help

CodeTyphon Studio