|
@@ -61,6 +61,7 @@ type
|
|
procedure TextOut(const aLeft, aTop: TFresnelLength;
|
|
procedure TextOut(const aLeft, aTop: TFresnelLength;
|
|
const aFont: IFresnelFont; const aColor: TFPColor;
|
|
const aFont: IFresnelFont; const aColor: TFPColor;
|
|
const aText: string); override;
|
|
const aText: string); override;
|
|
|
|
+ procedure DrawImage(const aLeft, aTop, aWidth, aHeight: TFresnelLength; const aImage: TFPCustomImage); override;
|
|
public
|
|
public
|
|
constructor Create(AOwner: TComponent); override;
|
|
constructor Create(AOwner: TComponent); override;
|
|
end;
|
|
end;
|
|
@@ -391,6 +392,13 @@ begin
|
|
if aText='' then ;
|
|
if aText='' then ;
|
|
end;
|
|
end;
|
|
|
|
|
|
|
|
+procedure TTestRenderer.DrawImage(const aLeft, aTop, aWidth, aHeight: TFresnelLength; const aImage: TFPCustomImage);
|
|
|
|
+begin
|
|
|
|
+ if (aLeft=aTop) then ;
|
|
|
|
+ if (aWidth=aHeight) then ;
|
|
|
|
+ if (aImage=nil) then ;
|
|
|
|
+end;
|
|
|
|
+
|
|
constructor TTestRenderer.Create(AOwner: TComponent);
|
|
constructor TTestRenderer.Create(AOwner: TComponent);
|
|
begin
|
|
begin
|
|
inherited Create(AOwner);
|
|
inherited Create(AOwner);
|