Changeset 452
- Timestamp:
- Nov 25, 2012, 3:29:40 PM (12 years ago)
- Location:
- GraphicTest
- Files:
-
- 322 added
- 1 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
GraphicTest/GraphicTest.lpi
r450 r452 66 66 </local> 67 67 </RunParams> 68 <RequiredPackages Count=" 5">68 <RequiredPackages Count="4"> 69 69 <Item1> 70 <PackageName Value="BGRABitmapPack"/> 71 <DefaultFilename Value="Packages/bgrabitmap/bgrabitmappack.lpk" Prefer="True"/> 72 </Item1> 73 <Item2> 70 74 <PackageName Value="GR32_L"/> 71 75 <DefaultFilename Value="Packages/Graphics32/Packages/GR32_L.lpk" Prefer="True"/> 72 </Item1>73 <Item2>74 <PackageName Value="SynEdit"/>75 76 </Item2> 76 77 <Item3> 77 <PackageName Value="bgrabitmappack"/> 78 <DefaultFilename Value="Packages/BGRABitmap/bgrabitmappack.lpk" Prefer="True"/> 78 <PackageName Value="SynEdit"/> 79 79 </Item3> 80 80 <Item4> 81 <PackageName Value=" lazopenglcontext"/>81 <PackageName Value="LCL"/> 82 82 </Item4> 83 <Item5>84 <PackageName Value="LCL"/>85 </Item5>86 83 </RequiredPackages> 87 84 <Units Count="18"> … … 224 221 <UseMsgFile Value="True"/> 225 222 </CompilerMessages> 226 <CustomOptions Value="-dopengl"/>227 223 <CompilerPath Value="$(CompPath)"/> 228 224 </Other> -
GraphicTest/GraphicTest.lpr
r450 r452 8 8 {$ENDIF}{$ENDIF} 9 9 Interfaces, // this includes the LCL widgetset 10 Forms, lazopenglcontext, UMainForm, UPlatform, UDrawMethod, UFastBitmap,11 bgrabitmappack, UDrawForm,GR32_L, UCanvasPixels, UCanvasPixelsUpdateLock,12 ULazIntfImageColorsCopy, ULazIntfImageColorsNoCopy, UBGRABitmapPaintBox, 10 Forms, UMainForm, UPlatform, UDrawMethod, UFastBitmap, UDrawForm, 11 bgrabitmappack, GR32_L, UCanvasPixels, UCanvasPixelsUpdateLock, 12 ULazIntfImageColorsCopy, ULazIntfImageColorsNoCopy, UBGRABitmapPaintBox, 13 13 UBitmapRawImageDataPaintBox, UBitmapRawImageData, UDummyMethod, 14 14 UBitmapRawImageDataMove, UOpenGLMethod, UOpenGLPBOMethod, UGraphics32Method; -
GraphicTest/Methods/UBitmapRawImageDataPaintBox.pas
r450 r452 38 38 //PaintBox.Canvas.CopyRect(Rect(0, 0, PaintBox.Width, PaintBox.Height), TempBitmap.Canvas, 39 39 // Rect(0, 0, TempBitmap.Width, TempBitmap.Height)); 40 //PaintBox.Canvas.Draw(0, 0, TempBitmap);41 BitBlt(hPaint, 0, 0, TempBitmap.Width, TempBitmap.Height, hBmp, 0, 0, srcCopy);40 PaintBox.Canvas.Draw(0, 0, TempBitmap); 41 //BitBlt(hPaint, 0, 0, TempBitmap.Width, TempBitmap.Height, hBmp, 0, 0, srcCopy); 42 42 end; 43 43 -
GraphicTest/Packages/Graphics32/Packages/GR32_L.lpk
r450 r452 54 54 Mozilla Public License 1.1 (MPL 1.1)"/> 55 55 <Version Major="1" Minor="9"/> 56 <Files Count="2 1">56 <Files Count="20"> 57 57 <Item1> 58 58 <Filename Value="..\GR32.pas"/> … … 135 135 <UnitName Value="GR32_Rasterizers"/> 136 136 </Item20> 137 <Item21>138 <Filename Value="GR32_L.pas"/>139 <UnitName Value="GR32_L"/>140 </Item21>141 137 </Files> 142 138 <RequiredPkgs Count="3"> … … 158 154 <PublishOptions> 159 155 <Version Value="2"/> 160 <DestinationDirectory Value="$(TestDir)\publishedpackage\"/>161 156 <IgnoreBinaries Value="False"/> 162 157 </PublishOptions> -
GraphicTest/UMainForm.lfm
r451 r452 23 23 object TabSheet1: TTabSheet 24 24 Caption = 'Description' 25 ClientHeight = 38 526 ClientWidth = 39 025 ClientHeight = 386 26 ClientWidth = 394 27 27 object Memo1: TMemo 28 28 Left = 0 29 Height = 38 529 Height = 386 30 30 Top = 0 31 Width = 39 031 Width = 394 32 32 Align = alClient 33 33 ReadOnly = True … … 38 38 object TabSheet2: TTabSheet 39 39 Caption = 'Code' 40 ClientHeight = 38 541 ClientWidth = 29440 ClientHeight = 386 41 ClientWidth = 394 42 42 inline SynMemo1: TSynMemo 43 43 Cursor = crIBeam 44 44 Left = 0 45 Height = 38 545 Height = 386 46 46 Top = 0 47 Width = 29447 Width = 394 48 48 Align = alClient 49 49 Font.Height = -13 … … 533 533 TabOrder = 1 534 534 object ListViewMethods: TListView 535 Left = 8535 Left = 9 536 536 Height = 335 537 537 Top = 8 … … 597 597 object FloatSpinEdit1: TFloatSpinEdit 598 598 Left = 88 599 Height = 2 1600 Top = 3 82599 Height = 25 600 Top = 378 601 601 Width = 58 602 602 Anchors = [akLeft, akBottom] … … 619 619 object Label1: TLabel 620 620 Left = 8 621 Height = 1 3622 Top = 38 6623 Width = 69621 Height = 15 622 Top = 384 623 Width = 80 624 624 Anchors = [akLeft, akBottom] 625 625 Caption = 'Step duration:' … … 628 628 object Label2: TLabel 629 629 Left = 152 630 Height = 1 3631 Top = 38 6632 Width = 5630 Height = 15 631 Top = 384 632 Width = 6 633 633 Anchors = [akLeft, akBottom] 634 634 Caption = 's' … … 637 637 object SpinEditWidth: TSpinEdit 638 638 Left = 204 639 Height = 2 1640 Top = 3 82639 Height = 25 640 Top = 378 641 641 Width = 58 642 642 Anchors = [akLeft, akBottom] … … 648 648 object SpinEditHeight: TSpinEdit 649 649 Left = 273 650 Height = 2 1651 Top = 3 82650 Height = 25 651 Top = 378 652 652 Width = 58 653 653 Anchors = [akLeft, akBottom] … … 659 659 object Label3: TLabel 660 660 Left = 169 661 Height = 1 3662 Top = 38 7663 Width = 2 3661 Height = 15 662 Top = 385 663 Width = 25 664 664 Anchors = [akLeft, akBottom] 665 665 Caption = 'Size:' … … 668 668 object Label4: TLabel 669 669 Left = 265 670 Height = 1 3671 Top = 38 6670 Height = 15 671 Top = 384 672 672 Width = 6 673 673 Anchors = [akLeft, akBottom] … … 677 677 object CheckBoxDoubleBuffered: TCheckBox 678 678 Left = 336 679 Height = 17680 Top = 3 50681 Width = 98679 Height = 21 680 Top = 346 681 Width = 116 682 682 Anchors = [akLeft, akBottom] 683 683 Caption = 'Double buffered' … … 687 687 object CheckBoxEraseBackground: TCheckBox 688 688 Left = 336 689 Height = 17690 Top = 36 7691 Width = 1 06689 Height = 21 690 Top = 363 691 Width = 124 692 692 Anchors = [akLeft, akBottom] 693 693 Caption = 'Erase background' … … 697 697 object CheckBox1: TCheckBox 698 698 Left = 336 699 Height = 17700 Top = 38 7701 Width = 58699 Height = 21 700 Top = 383 701 Width = 67 702 702 Anchors = [akLeft, akBottom] 703 703 Caption = 'Opaque'
Note:
See TracChangeset
for help on using the changeset viewer.