Unit 'agx_canvas' Package
[Overview][Constants][Types][Classes][Index] [#pl_aggpasvs]

TAgxCanvas

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

Declaration

Source position: agx_canvas.pas line 231

type TAgxCanvas = class(TPersistent)

protected

  m_rbuf: rendering_buffer;

  

  m_pixf: TPixelFormat;

  

  m_pixFormat: pixel_formats;

  

  m_pixFormatComp: pixel_formats;

  

  m_pixFormatPre: pixel_formats;

  

  m_pixFormatCompPre: pixel_formats;

  

  m_renBase: renderer_base;

  

  m_renBaseComp: renderer_base;

  

  m_renBasePre: renderer_base;

  

  m_renBaseCompPre: renderer_base;

  

  m_renSolid: renderer_scanline_aa_solid;

  

  m_renSolidComp: renderer_scanline_aa_solid;

  

  m_allocator: span_allocator;

  

  m_clipBox: TAgxRectD;

  

  m_blendMode: TAgxBlendMode;

  

  m_imageBlendMode: TAgxBlendMode;

  

  m_imageBlendColor: TAgxColor;

  

  m_scanline: scanline_u8;

  

  m_rasterizer: rasterizer_scanline_aa;

  

  m_masterAlpha: Double;

  

  m_antiAliasGamma: Double;

  

  m_fillColor: TAgxColor;

  

  m_lineColor: TAgxColor;

  

  m_fillGradient: pod_auto_array;

  

  m_lineGradient: pod_auto_array;

  

  m_lineCap: TAgxLineCap;

  

  m_lineJoin: TAgxLineJoin;

  

  m_fillGradientFlag: TAgxGradient;

  

  m_lineGradientFlag: TAgxGradient;

  

  m_fillGradientMatrix: trans_affine;

  

  m_lineGradientMatrix: trans_affine;

  

  m_fillGradientD1: Double;

  

  m_lineGradientD1: Double;

  

  m_fillGradientD2: Double;

  

  m_lineGradientD2: Double;

  

  m_textAngle: Double;

  

  m_textAlignX: TAgxTextAlignment;

  

  m_textAlignY: TAgxTextAlignment;

  

  m_textHints: Boolean;

  

  m_fontHeight: Double;

  

  m_fontAscent: Double;

  

  m_fontDescent: Double;

  

  m_fontWeight: int;

  

  m_fontFileName: AnsiString;

  

  m_fontItalic: Boolean;

  

  m_fontCacheType: TAgxFontCacheType;

  

  m_imageFilter: TAgxImageFilter;

  

  m_imageResample: TAgxImageResample;

  

  m_imageFilterLut: image_filter_lut;

  

  m_fillGradientInterpolator: span_interpolator_linear;

  

  m_lineGradientInterpolator: span_interpolator_linear;

  

  m_linearGradientFunction: gradient_x;

  

  m_radialGradientFunction: gradient_circle;

  

  m_lineWidth: Double;

  

  m_evenOddFlag: Boolean;

  

  m_path: path_storage;

  

  m_transform: trans_affine;

  

  m_convCurve: conv_curve;

  

  m_convStroke: conv_stroke;

  

  m_pathTransform: conv_transform;

  

  m_strokeTransform: conv_transform;

  

  m_imageFlip: Boolean;

  

  m_gammaNone: gamma_none;

  

  m_gammaAgg2D: TAgxRasterizerGamma;

  

  m_ifBilinear: image_filter_bilinear;

  

  m_ifHanning: image_filter_hanning;

  

  m_ifHermite: image_filter_hermite;

  

  m_ifQuadric: image_filter_quadric;

  

  m_ifBicubic: image_filter_bicubic;

  

  m_ifCatrom: image_filter_catrom;

  

  m_ifSpline16: image_filter_spline16;

  

  m_ifSpline36: image_filter_spline36;

  

  m_ifBlackman144: image_filter_blackman144;

  

  fLinkIntfImage: TLazIntfImage;

  

  fLinkBmp: TBitmap;

  

  fWidth: Integer;

  

  fHeight: Integer;

  

  procedure render();

  

  procedure addLine();

  

  procedure updateRasterizerGamma;

  

  procedure renderImage();

  

  procedure FontEngineCreate;

  

public

  constructor Create; virtual;

  

  destructor Destroy; override;

  

  function Attach(); virtual;

  

  procedure Invalidate;

  

  function ColorAgxToColor();

  

  function ColorToColorAgx();

  

  function FPColorToColorAgx();

  

  function ColorAgxToFPColor();

  

  procedure ClearAll();

  

  procedure BlendModeSet();

  

  function BlendModeGet;

  

  procedure MasterAlphaSet();

  

  function MasterAlphaGet;

  

  procedure AntiAliasGammaSet();

  

  function AntiAliasGammaGet;

  

  procedure NoFill;

  

  procedure FillColorSet();

  

  function FillColorGet;

  

  procedure FillEvenOddSet();

  

  function FillEvenOddGet;

  

  procedure FillLinearGradient();

  

  procedure FillRadialGradient();

  

  procedure NoLine;

  

  procedure LineColorSet();

  

  function LineColorGet;

  

  procedure LineWidthSet();

  

  function LineWidthGet;

  

  procedure LineCapSet();

  

  function LineCapGet;

  

  procedure LineJoinSet();

  

  function LineJoinGet;

  

  procedure LineLinearGradient();

  

  procedure LineRadialGradient();

  

  procedure TransformationsReset;

  

  procedure TransformationsSet();

  

  function TransformationsGet;

  

  procedure Affine();

  

  procedure Rotate();

  

  procedure Scale();

  

  procedure Skew();

  

  procedure Translate();

  

  procedure Parallelogram();

  

  procedure Viewport();

  

  procedure WorldToScreen();

  

  procedure ScreenToWorld();

  

  procedure AlignPoint();

  

  procedure ClipBoxSet();

  

  function ClipBoxGet;

  

  procedure ClearClipBox();

  

  function InBox();

  

  procedure Line();

  

  procedure Triangle();

  

  procedure Rectangle();

  

  procedure RoundedRect();

  

  procedure Ellipse();

  

  procedure Arc();

  

  procedure Star();

  

  procedure Curve();

  

  procedure Polygon();

  

  procedure PolygonInt();

  

  procedure Polyline();

  

  procedure PolylineInt();

  

  procedure ResetPath;

  

  procedure PathGetBoundRect();

  

  procedure PathFillWithImage(); overload;

  

  procedure MoveTo();

  

  procedure MoveRel();

  

  procedure LineTo();

  

  procedure LineRel();

  

  procedure HorLineTo();

  

  procedure HorLineRel();

  

  procedure VerLineTo();

  

  procedure VerLineRel();

  

  procedure ArcTo();

  

  procedure ArcRel();

  

  procedure QuadricCurveTo();

  

  procedure QuadricCurveRel();

  

  procedure CubicCurveTo();

  

  procedure CubicCurveRel();

  

  procedure AddEllipse();

  

  procedure ClosePolygon;

  

  procedure DrawPath();

  

  function FontUsesFreeType;

  

  function FontUsesWin32TrueType;

  

  procedure FlipText();

  

  procedure Font();

  

  procedure FontEx();

  

  procedure FontBoldSet();

  

  function FontBoldGet;

  

  procedure FontItalicSet();

  

  function FontItalicGet;

  

  procedure FontHeightSet();

  

  function FontHeightGet;

  

  procedure FontFileNameSet();

  

  function FontFileNameGet;

  

  procedure FontWeightSet();

  

  function FontWeightGet;

  

  procedure TextHintsSet();

  

  function TextHintsGet;

  

  procedure TextAngleSet();

  

  function TextAngleGet;

  

  procedure TextAlignmentSet();

  

  function TextWidthGet();

  

  function TextHeightGet;

  

  procedure Text();

  

  procedure ImageFilterSet();

  

  function ImageFilterGet;

  

  procedure ImageResampleSet(); overload;

  

  function ImageResampleGet; overload;

  

  procedure ImageFlip();

  

  procedure TransformImage();

  

  procedure TransformImagePath();

  

  procedure CopyImage();

  

  property LinkIntfImage: TLazIntfImage; [r]

  

  property LinkBmp: TBitmap; [r]

  

  property Height: Integer; [r]

  

  property Width: Integer; [r]

  

end;

Inheritance

TAgxCanvas

  

|

TObject



CT Web help

CodeTyphon Studio