diff --git a/docs/xml/lcl/intfgraphics.xml b/docs/xml/lcl/intfgraphics.xml index 6265b99496..f58afdc7c8 100644 --- a/docs/xml/lcl/intfgraphics.xml +++ b/docs/xml/lcl/intfgraphics.xml @@ -28,6 +28,8 @@ Author: Mattias Gaertner

+ + @@ -2956,6 +2958,44 @@ Some bitmaps can specify the data offset. + + +Performs actions needed to read the header for the bitmap and return the width +and height as a TPoint value. + + +

+InternalReadHead is an overridden TPoint class function. +The return value contains the width and height for the bitmap read from the +header. The X member contains the width for the bitmap. The Y member contains +the height for the bitmap. The return value is an empty TPoint instance (X=0, +Y=0) if the bitmap file header does not contain the bitmap magic word "BM" in +the header type. +

+

+InternalReadHead is conditionally defined for FPC compiler versions prior to +3.3.1 where the InternalSize function was not implemented in an ancestor class +to use values in the bitmap header. +

+
+ +Added in LCL version 4.0. It is conditionally defined for FPC compiler versions +prior to 3.3.1 only. + + +
+ + +TPoint instance with the width and height read from the bitmap header, or an +empty point when dimensions are not found in the header. + + + + +TStream instance with the bitmap resources examined in the method. + + +