[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'fpg_base' (#fpgui)

TfpgCanvasBase.StretchDraw

Allows you to draw a bitmap, stretched or shrunken from its original size

Declaration

Source position: fpg_base.pas line 391

public procedure TfpgCanvasBase.StretchDraw(

  x: TfpgCoord;

  y: TfpgCoord;

  w: TfpgCoord;

  h: TfpgCoord;

  ASource: TfpgImageBase

);

Description

Allows you to draw a bitmap, stretched or shrunken from its original size. Default interpolation is TfpgMitchelInterpolation, but others (found in fpg_extinterpolation.pas) can be used too, by using the InterpolationFilter property of the Canvas.


Documentation generated on: 2013-04-29