Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FreeRDP/GdiTest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--GdiTest.userprefs10
-rw-r--r--GdiTest/GdiTest.pidbbin31478 -> 32659 bytes
-rw-r--r--GdiTest/LineToDrawingArea.cs6
3 files changed, 8 insertions, 8 deletions
diff --git a/GdiTest.userprefs b/GdiTest.userprefs
index e139121..07ba191 100644
--- a/GdiTest.userprefs
+++ b/GdiTest.userprefs
@@ -1,12 +1,12 @@
<Properties>
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug|x86" />
- <MonoDevelop.Ide.Workbench ActiveDocument="GdiTest\EllipseDrawingArea.cs">
+ <MonoDevelop.Ide.Workbench ActiveDocument="GdiTest\LineToDrawingArea.cs">
<Files>
<File FileName="GdiTest\MainWindow.cs" Line="24" Column="34" />
- <File FileName="GdiTest\GDI.cs" Line="71" Column="2" />
- <File FileName="GdiTest\Win32GDI.cs" Line="211" Column="53" />
- <File FileName="GdiTest\FreeRDPGDI.cs" Line="142" Column="13" />
- <File FileName="GdiTest\EllipseDrawingArea.cs" Line="1" Column="1" />
+ <File FileName="GdiTest\Win32GDI.cs" Line="6" Column="15" />
+ <File FileName="GdiTest\FreeRDPGDI.cs" Line="148" Column="4" />
+ <File FileName="GdiTest\LineToDrawingArea.cs" Line="389" Column="18" />
+ <File FileName="GdiTest\GDI.cs" Line="53" Column="48" />
</Files>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.DebuggingService.Breakpoints>
diff --git a/GdiTest/GdiTest.pidb b/GdiTest/GdiTest.pidb
index 572c1a4..8d28242 100644
--- a/GdiTest/GdiTest.pidb
+++ b/GdiTest/GdiTest.pidb
Binary files differ
diff --git a/GdiTest/LineToDrawingArea.cs b/GdiTest/LineToDrawingArea.cs
index 3a6655e..3d46bbd 100644
--- a/GdiTest/LineToDrawingArea.cs
+++ b/GdiTest/LineToDrawingArea.cs
@@ -170,7 +170,7 @@ namespace GdiTest
rop2[i - k + 1] = GDI.R2_BLACK;
i++;
- /* Test Case 13: (0,0) -> (16,16), R2_MERGENOTPEN */
+ /* Test Case 13: (0,0) -> (16,16), R2_NOTMERGEPEN */
areas[i].X = areas[i - 1].X + areas[i - 1].W;
areas[i].Y = areas[i - 1].Y;
areas[i].W = w;
@@ -179,7 +179,7 @@ namespace GdiTest
startp[i].Y = areas[i].Y;
endp[i].X = areas[i].X + w;
endp[i].Y = areas[i].Y + h;
- rop2[i - k + 1] = GDI.R2_MERGENOTPEN;
+ rop2[i - k + 1] = GDI.R2_NOTMERGEPEN;
i++;
/* Test Case 14: (0,0) -> (16,16), R2_MASKNOTPEN */
@@ -390,7 +390,7 @@ namespace GdiTest
/* Render Test Case */
GDI_Win32.SetROP2(hdc, rop2[i - k + 1]);
- IntPtr pen = GDI_Win32.CreatePen(1, 1, 0);
+ IntPtr pen = GDI_Win32.CreatePen(1, 1, 0xFFFFFF);
IntPtr oldPen = GDI_Win32.SelectObject(hdc, pen);
GDI_Win32.MoveToEx(hdc, startp[i].X, startp[i].Y, IntPtr.Zero);
GDI_Win32.LineTo(hdc, endp[i].X, endp[i].Y);