Changeset 210 for GraphicTest
- Timestamp:
- Mar 19, 2011, 12:26:06 PM (14 years ago)
- Location:
- GraphicTest
- Files:
-
- 18 added
- 1 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/GraphicTest.lpi
r206 r210 75 75 <IsPartOfProject Value="True"/> 76 76 <UnitName Value="UPlatform"/> 77 <EditorIndex Value=" 16"/>77 <EditorIndex Value="7"/> 78 78 <WindowIndex Value="0"/> 79 79 <TopLine Value="43"/> … … 184 184 <EditorIndex Value="2"/> 185 185 <WindowIndex Value="0"/> 186 <TopLine Value="12 1"/>187 <CursorPos X=" 3" Y="145"/>186 <TopLine Value="126"/> 187 <CursorPos X="57" Y="135"/> 188 188 <UsageCount Value="31"/> 189 189 <Loaded Value="True"/> … … 202 202 <Unit19> 203 203 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/rasterimage.inc"/> 204 <EditorIndex Value="8"/>205 204 <WindowIndex Value="0"/> 206 205 <TopLine Value="292"/> 207 206 <CursorPos X="1" Y="308"/> 208 207 <UsageCount Value="14"/> 209 <Loaded Value="True"/>210 208 </Unit19> 211 209 <Unit20> … … 239 237 <Unit23> 240 238 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/winapih.inc"/> 241 <EditorIndex Value="14"/>242 239 <WindowIndex Value="0"/> 243 240 <TopLine Value="32"/> 244 241 <CursorPos X="10" Y="45"/> 245 242 <UsageCount Value="13"/> 246 <Loaded Value="True"/>247 243 </Unit23> 248 244 <Unit24> 249 245 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/winapi.inc"/> 250 <EditorIndex Value="15"/>251 246 <WindowIndex Value="0"/> 252 247 <TopLine Value="51"/> 253 248 <CursorPos X="3" Y="53"/> 254 249 <UsageCount Value="13"/> 255 <Loaded Value="True"/>256 250 </Unit24> 257 251 <Unit25> 258 252 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphics.pp"/> 259 253 <UnitName Value="Graphics"/> 260 <EditorIndex Value="11"/>261 254 <WindowIndex Value="0"/> 262 255 <TopLine Value="1314"/> 263 256 <CursorPos X="31" Y="1327"/> 264 257 <UsageCount Value="13"/> 265 <Loaded Value="True"/>266 258 </Unit25> 267 259 <Unit26> 268 260 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/rtl/objpas/classes/classesh.inc"/> 269 <EditorIndex Value="10"/>270 261 <WindowIndex Value="0"/> 271 262 <TopLine Value="1883"/> 272 263 <CursorPos X="10" Y="1896"/> 273 264 <UsageCount Value="13"/> 274 <Loaded Value="True"/>275 265 </Unit26> 276 266 <Unit27> … … 291 281 <Filename Value="bgrabitmap/bgrabitmaptypes.pas"/> 292 282 <UnitName Value="BGRABitmapTypes"/> 293 <EditorIndex Value=" 9"/>283 <EditorIndex Value="6"/> 294 284 <WindowIndex Value="0"/> 295 285 <TopLine Value="24"/> … … 301 291 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphtype.pp"/> 302 292 <UnitName Value="GraphType"/> 303 <EditorIndex Value="7"/>304 293 <WindowIndex Value="0"/> 305 294 <TopLine Value="271"/> 306 295 <CursorPos X="23" Y="292"/> 307 296 <UsageCount Value="11"/> 308 <Loaded Value="True"/>309 297 </Unit30> 310 298 <Unit31> … … 319 307 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/packages/fcl-image/src/fpimage.pp"/> 320 308 <UnitName Value="FPimage"/> 321 <EditorIndex Value="13"/>322 309 <WindowIndex Value="0"/> 323 310 <TopLine Value="23"/> 324 311 <CursorPos X="4" Y="35"/> 325 312 <UsageCount Value="10"/> 326 <Loaded Value="True"/>327 313 </Unit32> 328 314 <Unit33> 329 315 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/canvas.inc"/> 330 <EditorIndex Value="12"/>331 316 <WindowIndex Value="0"/> 332 317 <TopLine Value="1456"/> 333 318 <CursorPos X="1" Y="1471"/> 334 319 <UsageCount Value="10"/> 335 <Loaded Value="True"/>336 320 </Unit33> 337 321 <Unit34> 338 322 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/FPC/rtl/win/wininc/func.inc"/> 339 <EditorIndex Value="6"/>340 323 <WindowIndex Value="0"/> 341 324 <TopLine Value="780"/> 342 325 <CursorPos X="10" Y="793"/> 343 326 <UsageCount Value="10"/> 344 <Loaded Value="True"/>345 327 </Unit34> 346 328 <Unit35> … … 355 337 </Unit35> 356 338 </Units> 357 <JumpHistory Count=" 30" HistoryIndex="26">339 <JumpHistory Count="22" HistoryIndex="18"> 358 340 <Position1> 359 341 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> … … 393 375 </Position9> 394 376 <Position10> 395 <Filename Value=" ../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/canvas.inc"/>396 <Caret Line="1 469" Column="1" TopLine="1456"/>377 <Filename Value="bgrabitmap/bgrawinbitmap.pas"/> 378 <Caret Line="136" Column="12" TopLine="128"/> 397 379 </Position10> 398 380 <Position11> 399 <Filename Value=" ../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/canvas.inc"/>400 <Caret Line="1 470" Column="1" TopLine="1456"/>381 <Filename Value="bgrabitmap/bgrawinbitmap.pas"/> 382 <Caret Line="137" Column="7" TopLine="113"/> 401 383 </Position11> 402 384 <Position12> 403 <Filename Value=" ../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/include/canvas.inc"/>404 <Caret Line="14 71" Column="1" TopLine="1456"/>385 <Filename Value="bgrabitmap/bgrawinbitmap.pas"/> 386 <Caret Line="146" Column="1" TopLine="133"/> 405 387 </Position12> 406 388 <Position13> 407 <Filename Value="bgrabitmap/bgra winbitmap.pas"/>408 <Caret Line="1 36" Column="12" TopLine="128"/>389 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 390 <Caret Line="1069" Column="1" TopLine="1048"/> 409 391 </Position13> 410 392 <Position14> 411 <Filename Value="bgrabitmap/bgra winbitmap.pas"/>412 <Caret Line="1 37" Column="7" TopLine="113"/>393 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 394 <Caret Line="1055" Column="25" TopLine="1048"/> 413 395 </Position14> 414 396 <Position15> 415 <Filename Value="bgrabitmap/bgra winbitmap.pas"/>416 <Caret Line=" 146" Column="1" TopLine="133"/>397 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 398 <Caret Line="215" Column="27" TopLine="202"/> 417 399 </Position15> 418 400 <Position16> 419 401 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 420 <Caret Line=" 1069" Column="1" TopLine="1048"/>402 <Caret Line="299" Column="31" TopLine="281"/> 421 403 </Position16> 422 404 <Position17> 423 405 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 424 <Caret Line=" 1055" Column="25" TopLine="1048"/>406 <Caret Line="290" Column="39" TopLine="287"/> 425 407 </Position17> 426 408 <Position18> 427 <Filename Value=" bgrabitmap/bgradefaultbitmap.pas"/>428 <Caret Line=" 215" Column="27" TopLine="202"/>409 <Filename Value="UDrawMethod.pas"/> 410 <Caret Line="146" Column="19" TopLine="133"/> 429 411 </Position18> 430 412 <Position19> 431 <Filename Value=" bgrabitmap/bgradefaultbitmap.pas"/>432 <Caret Line=" 299" Column="31" TopLine="281"/>413 <Filename Value="UDrawMethod.pas"/> 414 <Caret Line="133" Column="33" TopLine="121"/> 433 415 </Position19> 434 416 <Position20> 435 417 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 436 <Caret Line="29 0" Column="39" TopLine="287"/>418 <Caret Line="292" Column="57" TopLine="279"/> 437 419 </Position20> 438 420 <Position21> 439 <Filename Value=" UDrawMethod.pas"/>440 <Caret Line=" 146" Column="19" TopLine="133"/>421 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 422 <Caret Line="420" Column="26" TopLine="413"/> 441 423 </Position21> 442 424 <Position22> 443 <Filename Value=" ../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphics.pp"/>444 <Caret Line=" 1327" Column="31" TopLine="1314"/>425 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/> 426 <Caret Line="407" Column="3" TopLine="405"/> 445 427 </Position22> 446 <Position23>447 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphtype.pp"/>448 <Caret Line="189" Column="25" TopLine="187"/>449 </Position23>450 <Position24>451 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphtype.pp"/>452 <Caret Line="5" Column="65" TopLine="1"/>453 </Position24>454 <Position25>455 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphtype.pp"/>456 <Caret Line="274" Column="23" TopLine="253"/>457 </Position25>458 <Position26>459 <Filename Value="../../../Projekty2/FreePascalManager/trunk/Instance/1/Lazarus/lcl/graphtype.pp"/>460 <Caret Line="289" Column="26" TopLine="268"/>461 </Position26>462 <Position27>463 <Filename Value="UDrawMethod.pas"/>464 <Caret Line="133" Column="33" TopLine="121"/>465 </Position27>466 <Position28>467 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/>468 <Caret Line="292" Column="57" TopLine="279"/>469 </Position28>470 <Position29>471 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/>472 <Caret Line="420" Column="26" TopLine="413"/>473 </Position29>474 <Position30>475 <Filename Value="bgrabitmap/bgradefaultbitmap.pas"/>476 <Caret Line="407" Column="3" TopLine="405"/>477 </Position30>478 428 </JumpHistory> 479 429 </ProjectOptions> -
GraphicTest/UDrawMethod.pas
r206 r210 133 133 P := PInteger(BGRABitmap.ScanLine[Y]); 134 134 for X := 0 to Size.X - 1 do begin 135 P^ := NoSwapBRComponent(Pixels[X, Y]) ;135 P^ := NoSwapBRComponent(Pixels[X, Y]) or $ff000000; 136 136 (*P^.red := Pixels[X, Y]; 137 137 P^.green := Pixels[X, Y]; … … 141 141 end; 142 142 end; 143 //BGRABitmap.InvalidateBitmap; // changed by direct access143 BGRABitmap.InvalidateBitmap; // changed by direct access 144 144 //BGRABitmap.Draw(Bitmap.Canvas, 0, 0, True); 145 145 BGRABitmap.Draw(PaintBox.Canvas, 0, 0, True);
Note:
See TracChangeset
for help on using the changeset viewer.