Reference guide for FCL-res units. Document version 3.2.2former type: its raw data is like an XML manifest file. On the other hand, in a resource of type RT_BITMAP (??) the RawData (??) stream isn’t like a BMP file. For this reason, several classes (descendants In the following example, we read a resource file and then dump data of each resource of type RT_BITMAP (??) as a BMP file. program res5; {$mode objfpc} uses Classes, SysUtils, resource, resreader, we included bitmapresource (??) in the uses clause of our program. This way, resources of type RT_BITMAP (??) are created from TBitmapResource (??) class. This class provides a stream, BitmapData (??) that0 码力 | 211 页 | 498.14 KB | 1 年前3
Reference guide for RTL units. Document version 3.2.2background color. getimageproc = procedure(X1: SmallInt; Y1: SmallInt; X2: SmallInt ; Y2: SmallInt; var Bitmap) Standard GetImage (869) procedure prototype. getpixelproc = function(X: SmallInt; Y: SmallInt) ^TModeInfo Pointer to TModeInfo (892) record putimageproc = procedure(X: SmallInt; Y: SmallInt; var Bitmap; BitBlt: Word) Standard PutImage (870) procedure prototype. putpixelproc = procedure(X: SmallInt; palette entry). GetImage : getimageproc GetImage Places a copy of the screen area (X1,Y1) to X2,Y2 in BitMap GetPixel : getpixelproc GetPixel returns the color of the point at (X,Y) GetRGBPalette : getrgbpaletteproc0 码力 | 2191 页 | 4.93 MB | 1 年前3
Reference guide for FCL units. Document version 3.2.2value $fe Row State 1 byte 0=original, 1=deleted, 2=inserted, 3=modified Update Order 4 bytes Null Bitmap Variable length. 1 byte required for eight fields; 2 bytes for 16 fields, etc. See Field Definition0 码力 | 953 页 | 2.21 MB | 1 年前3
共 3 条
- 1













