diff --git a/components/aggpas/src/agg_fpimage.pas b/components/aggpas/src/agg_fpimage.pas index 16b10b8764..b9f52b10cb 100644 --- a/components/aggpas/src/agg_fpimage.pas +++ b/components/aggpas/src/agg_fpimage.pas @@ -741,8 +741,11 @@ function AggUTF8CharToUnicode(p: PChar; out CharLen: int): int32u; implementation +const + PixelSize: array [TAggFPImgPixelFormat] of Integer = (3, 4); + var - g_approxScale : double = 2.0; + g_approxScale : double = 2.0; type //PAggSpanConvImageBlend = ^TAggSpanConvImageBlend; @@ -920,7 +923,7 @@ var p: PByte; begin if (x>=0) and (y>=0) and (x=0) and (y>=0) and (x