Search Results for

    Show / Hide Table of Contents

    TfsGraphicsRTTI component

    TfsGraphicsRTTI component

    Use this component if you want to get an access to Graphics.pas stuff in your application. This component allows you to access the following classes inside a script:

    TFont
    TPen
    TBrush
    TCanvas
    procedure TCanvas.Draw(X, Y: Integer; Graphic: TGraphic);
    procedure TCanvas.Ellipse(X1, Y1, X2, Y2: Integer);
    procedure TCanvas.LineTo(X, Y: Integer);
    procedure TCanvas.MoveTo(X, Y: Integer);
    procedure TCanvas.Rectangle(X1, Y1, X2, Y2: Integer);
    procedure TCanvas.RoundRect(X1, Y1, X2, Y2, X3, Y3: Integer);
    procedure TCanvas.StretchDraw(X1, Y1, X2, Y2: Integer; Graphic: TGraphic);
    function TCanvas.TextHeight(const Text: string): Integer;
    procedure TCanvas.TextOut(X, Y: Integer; const Text: string);
    function TCanvas.TextWidth(const Text: string): Integer;
    property TCanvas.Pixels;
    
    TGraphic
    procedure TGraphic.LoadFromFile(const Filename: string);
    procedure TGraphic.SaveToFile(const Filename: string);
    property TGraphic.Height;
    property TGraphic.Width;
    
    TMetafile
    TMetafileCanvas
    TBitmap
    property TBitmap.Canvas
    
    type TFontStyles
    type TFontPitch
    type TPenStyle
    type TPenMode
    type TBrushStyle
    

    You have an access to all the published properties of these classes and an access to some public properties and methods.

    Note: This is a "fake" component. It is needed only for automatic inclusion of the "FS_iGraphicsRTTI" unit to the "uses" clause.
    
    Back to top © Copyright Fast Reports Inc.