Changeset 538 for trunk/Packages/DpiControls/Dpi.PixelPointer.pas
- Timestamp:
- Apr 16, 2024, 10:57:39 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Packages/DpiControls/Dpi.PixelPointer.pas
r507 r538 93 93 94 94 resourcestring 95 SOutOfRange = 'Pixel pointer out of range [X: %d . Y: %d]';95 SOutOfRange = 'Pixel pointer out of range [X: %d, Y: %d, Width: %d, Height: %d]'; 96 96 SWrongBitmapSize = 'Wrong bitmap size [width: %d, height: %d]'; 97 97 … … 160 160 X := B - Y * BytesPerLine; 161 161 X := Floor(X / BytesPerPixel); 162 raise Exception.Create(Format(SOutOfRange, [X, Y ]));162 raise Exception.Create(Format(SOutOfRange, [X, Y, Width, Height])); 163 163 end; 164 164 {$ENDIF}
Note:
See TracChangeset
for help on using the changeset viewer.