You've already forked lazarus-ccr
PowerPDF: fix wrong parameter type for function TPdfCanvas.SetTextMatrix, from suilenroc1183, issue 21134
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@2377 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
@ -447,7 +447,7 @@ type
|
|||||||
procedure BeginText; { BT }
|
procedure BeginText; { BT }
|
||||||
procedure EndText; { ET }
|
procedure EndText; { ET }
|
||||||
procedure MoveTextPoint(tx, ty: Single); { Td }
|
procedure MoveTextPoint(tx, ty: Single); { Td }
|
||||||
procedure SetTextMatrix(a, b, c, d, x, y: Word); { Tm }
|
procedure SetTextMatrix(a, b, c, d, x, y: Single); { Tm }
|
||||||
procedure MoveToNextLine; { T* }
|
procedure MoveToNextLine; { T* }
|
||||||
procedure ShowText(s: string); { Tj }
|
procedure ShowText(s: string); { Tj }
|
||||||
procedure ShowTextNextLine(s: string); { ' }
|
procedure ShowTextNextLine(s: string); { ' }
|
||||||
@ -2056,16 +2056,16 @@ begin
|
|||||||
end;
|
end;
|
||||||
|
|
||||||
// SetTextMatrix
|
// SetTextMatrix
|
||||||
procedure TPdfCanvas.SetTextMatrix(a, b, c, d, x, y: Word);
|
procedure TPdfCanvas.SetTextMatrix(a, b, c, d, x, y: Single);
|
||||||
var
|
var
|
||||||
S: string;
|
S: string;
|
||||||
begin
|
begin
|
||||||
S := IntToStr(a) + ' ' +
|
S := _FloatToStrR(a) + ' ' +
|
||||||
IntToStr(b) + ' ' +
|
_FloatToStrR(b) + ' ' +
|
||||||
IntToStr(c) + ' ' +
|
_FloatToStrR(c) + ' ' +
|
||||||
IntToStr(d) + ' ' +
|
_FloatToStrR(d) + ' ' +
|
||||||
IntToStr(x) + ' ' +
|
_FloatToStrR(x) + ' ' +
|
||||||
IntToStr(y) + ' Tm'#10;
|
_FloatToStrR(y) + ' Tm'#10;
|
||||||
WriteString(S);
|
WriteString(S);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user