Changeset 179 for branches/highdpi/LocalPlayer/Draft.pas
- Timestamp:
- Jun 23, 2019, 9:12:54 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/highdpi/LocalPlayer/Draft.pas
r178 r179 238 238 // assemble background from 2 texture tiles 239 239 begin 240 bitblt(Back.Canvas.Handle, 0, 0, ClientWidth, 64,240 Dpibitblt(Back.Canvas.Handle, 0, 0, ClientWidth, 64, 241 241 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 242 242 hMainTexture - 64, SRCCOPY); 243 bitblt(Back.Canvas.Handle, 0, 64, ClientWidth, ClientHeight - 64,243 Dpibitblt(Back.Canvas.Handle, 0, 64, ClientWidth, ClientHeight - 64, 244 244 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 245 245 0, SRCCOPY); 246 246 end 247 247 else 248 bitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,248 Dpibitblt(Back.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 249 249 MainTexture.Image.Canvas.Handle, (wMainTexture - ClientWidth) div 2, 250 250 (hMainTexture - ClientHeight) div 2, SRCCOPY); … … 253 253 Template.Height - 64 - Cut); 254 254 255 bitblt(offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight,255 Dpibitblt(offscreen.Canvas.Handle, 0, 0, ClientWidth, ClientHeight, 256 256 Back.Canvas.Handle, 0, 0, SRCCOPY); 257 257
Note:
See TracChangeset
for help on using the changeset viewer.