├── .gitignore ├── LICENSE ├── MacShared.projitems ├── MacShared.shproj ├── PROGESS.md ├── Properties └── AssemblyInfo.cs ├── README.md ├── Resources ├── Error.ico ├── Information.ico ├── Mono.ico ├── Question.ico ├── Shield.ico ├── Warning.ico └── WinLogo.ico ├── Samples ├── ClippingTests.sln ├── DrawingShared.projitems ├── DrawingShared.shproj ├── DrawingView.cs ├── GraphicsPathTests.sln ├── GraphicsStateTest.sln ├── LinearGradientBrushTest.sln ├── MonoMac │ ├── BitmapTests │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── BitmapTests.csproj │ │ ├── CocoaMono.png │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── tiger-Q300.png │ ├── ClippingTests │ │ ├── AppDelegate.cs │ │ ├── ClippingTests.csproj │ │ ├── ClippingTests.sln │ │ ├── DrawingView.cs │ │ ├── DrawingView.designer.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ └── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ ├── AppIcon-128.png │ │ │ │ ├── AppIcon-128@2x.png │ │ │ │ ├── AppIcon-16.png │ │ │ │ ├── AppIcon-16@2x.png │ │ │ │ ├── AppIcon-256.png │ │ │ │ ├── AppIcon-256@2x.png │ │ │ │ ├── AppIcon-32.png │ │ │ │ ├── AppIcon-32@2x.png │ │ │ │ ├── AppIcon-512.png │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ └── Contents.json │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── DrawImageTests │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawImageTests.csproj │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── InputImage.png │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ ├── bitmap25.png │ │ ├── bitmap50.png │ │ ├── grapeeyes.gif │ │ └── opice-chuze-framy.gif │ ├── DrawStringTest │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawStringTest.csproj │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_1 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── DrawingView.designer.cs │ │ ├── DrawingView.xib │ │ ├── Example1_1.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_2 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example1_2.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_4 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example1_4.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_5 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example1_5.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_5a │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example1_5a.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_6 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example1_6.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_7 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example1_7.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_8 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ColorMap.cs │ │ ├── DrawingView.cs │ │ ├── Example1_8.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example1_9 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ColorMap.cs │ │ ├── DrawingView.cs │ │ ├── Example1_9.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PointC.cs │ ├── Example2_1 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example2_1.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example2_2 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example2_2.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example3_1 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Example3_1.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example3_2 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Example3_2.csproj │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example3_3 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Example3_3.csproj │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example3_4 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Example3_4.csproj │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── Example3_5 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Example3_5.csproj │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── SymbolStyle.cs │ ├── Example3_6 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Example3_6.csproj │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── SymbolStyle.cs │ ├── Example3_7 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Example3_7.csproj │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ ├── SubChart.cs │ │ └── SymbolStyle.cs │ ├── Example4_1 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── BarStyle.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Example4_1.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PlotPanel.cs │ ├── Example4_2 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── BarStyle.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── ColorMap.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Example4_2.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PlotPanel.cs │ ├── Example4_6 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── ColorMap.cs │ │ ├── DataSeries.cs │ │ ├── Example4_6.csproj │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PlotPanel.cs │ ├── Example4_7 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── ColorMap.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Example4_7.csproj │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PlotPanel.cs │ ├── Example4_8 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Example4_8.csproj │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PlotPanel.cs │ ├── Example4_9 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Example4_9.csproj │ │ ├── GE.txt │ │ ├── IBM.txt │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ ├── PlotPanel.cs │ │ └── TextFileReader.cs │ ├── Example5_5 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── DrawCylinder.cs │ │ ├── Example5_5.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ ├── Matrix3.cs │ │ ├── PlotPanel.cs │ │ └── Point3.cs │ ├── Example5_6 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── DrawSphere.cs │ │ ├── Example5_6.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ ├── Matrix3.cs │ │ ├── PlotPanel.cs │ │ └── Point3.cs │ ├── FontTest │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── FontTest.csproj │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ └── MainWindowController.cs │ ├── GraphicsPathTests │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── DrawingView.designer.cs │ │ ├── GraphicsExtensions.cs │ │ ├── GraphicsPathTests.csproj │ │ ├── GraphicsPathTests.sln │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ └── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ ├── AppIcon-128.png │ │ │ │ ├── AppIcon-128@2x.png │ │ │ │ ├── AppIcon-16.png │ │ │ │ ├── AppIcon-16@2x.png │ │ │ │ ├── AppIcon-256.png │ │ │ │ ├── AppIcon-256@2x.png │ │ │ │ ├── AppIcon-32.png │ │ │ │ ├── AppIcon-32@2x.png │ │ │ │ ├── AppIcon-512.png │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ └── Contents.json │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── GraphicsStateTest │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── GraphicsStateTest.csproj │ │ ├── GraphicsStateTest.sln │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ └── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ ├── AppIcon-128.png │ │ │ │ ├── AppIcon-128@2x.png │ │ │ │ ├── AppIcon-16.png │ │ │ │ ├── AppIcon-16@2x.png │ │ │ │ ├── AppIcon-256.png │ │ │ │ ├── AppIcon-256@2x.png │ │ │ │ ├── AppIcon-32.png │ │ │ │ ├── AppIcon-32@2x.png │ │ │ │ ├── AppIcon-512.png │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ └── Contents.json │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── LinearGradientBrushTest │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── LinearGradientBrushTest.csproj │ │ ├── LinearGradientBrushTest.sln │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ └── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ ├── AppIcon-128.png │ │ │ │ ├── AppIcon-128@2x.png │ │ │ │ ├── AppIcon-16.png │ │ │ │ ├── AppIcon-16@2x.png │ │ │ │ ├── AppIcon-256.png │ │ │ │ ├── AppIcon-256@2x.png │ │ │ │ ├── AppIcon-32.png │ │ │ │ ├── AppIcon-32@2x.png │ │ │ │ ├── AppIcon-512.png │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ └── Contents.json │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── PathGradientBrushTests │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ └── PathGradientBrushTests.csproj │ ├── RegionTests │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── DrawingView.designer.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── RegionTests.csproj │ │ ├── RegionTests.sln │ │ ├── Resources │ │ │ └── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ ├── AppIcon-128.png │ │ │ │ ├── AppIcon-128@2x.png │ │ │ │ ├── AppIcon-16.png │ │ │ │ ├── AppIcon-16@2x.png │ │ │ │ ├── AppIcon-256.png │ │ │ │ ├── AppIcon-256@2x.png │ │ │ │ ├── AppIcon-32.png │ │ │ │ ├── AppIcon-32@2x.png │ │ │ │ ├── AppIcon-512.png │ │ │ │ ├── AppIcon-512@2x.png │ │ │ │ └── Contents.json │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ └── TextureBrushTest │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── DrawingView.designer.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ └── Images.xcassets │ │ │ └── AppIcons.appiconset │ │ │ ├── AppIcon-128.png │ │ │ ├── AppIcon-128@2x.png │ │ │ ├── AppIcon-16.png │ │ │ ├── AppIcon-16@2x.png │ │ │ ├── AppIcon-256.png │ │ │ ├── AppIcon-256@2x.png │ │ │ ├── AppIcon-32.png │ │ │ ├── AppIcon-32@2x.png │ │ │ ├── AppIcon-512.png │ │ │ ├── AppIcon-512@2x.png │ │ │ └── Contents.json │ │ ├── TextureBrushTest.csproj │ │ ├── TextureBrushTest.sln │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs ├── MonoTouch │ ├── MTBitmapTests │ │ ├── AppDelegate.cs │ │ ├── CocoaMono.png │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTBitmapTests.csproj │ │ ├── MTBitmapTestsViewController.cs │ │ ├── MTBitmapTestsViewController.designer.cs │ │ ├── MTBitmapTestsViewController_iPad.xib │ │ ├── MTBitmapTestsViewController_iPhone.xib │ │ ├── Main.cs │ │ └── tiger-Q300.png │ ├── MTClippingTests │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTClippingTests.csproj │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ ├── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ │ └── Contents.json │ │ │ └── LaunchScreen.xib │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── MTDrawImageTests │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTDrawImageTests.csproj │ │ ├── MTDrawImageTestsViewController.cs │ │ ├── MTDrawImageTestsViewController.designer.cs │ │ ├── MTDrawImageTestsViewController_iPad.xib │ │ ├── MTDrawImageTestsViewController_iPhone.xib │ │ ├── Main.cs │ │ ├── bitmap25.png │ │ └── bitmap50.png │ ├── MTExample1_1 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_1.csproj │ │ ├── MTExample1_1ViewController.cs │ │ ├── MTExample1_1ViewController.designer.cs │ │ ├── MTExample1_1ViewController_iPad.xib │ │ ├── MTExample1_1ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_2 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_2.csproj │ │ ├── MTExample1_2ViewController.cs │ │ ├── MTExample1_2ViewController.designer.cs │ │ ├── MTExample1_2ViewController_iPad.xib │ │ ├── MTExample1_2ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_4 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_4.csproj │ │ ├── MTExample1_4ViewController.cs │ │ ├── MTExample1_4ViewController.designer.cs │ │ ├── MTExample1_4ViewController_iPad.xib │ │ ├── MTExample1_4ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_5 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_5.csproj │ │ ├── MTExample1_5ViewController.cs │ │ ├── MTExample1_5ViewController.designer.cs │ │ ├── MTExample1_5ViewController_iPad.xib │ │ ├── MTExample1_5ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_5a │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_5a.csproj │ │ ├── MTExample1_5aViewController.cs │ │ ├── MTExample1_5aViewController.designer.cs │ │ ├── MTExample1_5aViewController_iPad.xib │ │ ├── MTExample1_5aViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_6 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_6.csproj │ │ ├── MTExample1_6ViewController.cs │ │ ├── MTExample1_6ViewController.designer.cs │ │ ├── MTExample1_6ViewController.xib │ │ ├── MTExample1_6ViewController_iPad.xib │ │ ├── MTExample1_6ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_7 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_7.csproj │ │ ├── MTExample1_7ViewController.cs │ │ ├── MTExample1_7ViewController.designer.cs │ │ ├── MTExample1_7ViewController_iPad.xib │ │ ├── MTExample1_7ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_8 │ │ ├── AppDelegate.cs │ │ ├── ColorMap.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_8.csproj │ │ ├── MTExample1_8ViewController.cs │ │ ├── MTExample1_8ViewController.designer.cs │ │ ├── MTExample1_8ViewController_iPad.xib │ │ ├── MTExample1_8ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample1_9 │ │ ├── AppDelegate.cs │ │ ├── ColorMap.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample1_9.csproj │ │ ├── MTExample1_9ViewController.cs │ │ ├── MTExample1_9ViewController.designer.cs │ │ ├── MTExample1_9ViewController_iPad.xib │ │ ├── MTExample1_9ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── PointC.cs │ ├── MTExample2_1 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample2_1.csproj │ │ ├── MTExample2_1ViewController.cs │ │ ├── MTExample2_1ViewController.designer.cs │ │ ├── MTExample2_1ViewController.xib │ │ ├── MTExample2_1ViewController_iPad.xib │ │ ├── MTExample2_1ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample2_2 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample2_2.csproj │ │ ├── MTExample2_2ViewController.cs │ │ ├── MTExample2_2ViewController.designer.cs │ │ ├── MTExample2_2ViewController_iPad.xib │ │ ├── MTExample2_2ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample3_1 │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTExample3_1.csproj │ │ ├── MTExample3_1ViewController.cs │ │ ├── MTExample3_1ViewController.designer.cs │ │ ├── MTExample3_1ViewController_iPad.xib │ │ ├── MTExample3_1ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample3_2 │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── MTExample3_2.csproj │ │ ├── MTExample3_2ViewController.cs │ │ ├── MTExample3_2ViewController.designer.cs │ │ ├── MTExample3_2ViewController_iPad.xib │ │ ├── MTExample3_2ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample3_2iPad │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── MTExample3_2iPad.csproj │ │ ├── MTExample3_2iPadViewController.cs │ │ ├── MTExample3_2iPadViewController.designer.cs │ │ ├── MTExample3_2iPadViewController.xib │ │ └── Main.cs │ ├── MTExample3_3 │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── MTExample3_3.csproj │ │ ├── MTExample3_3ViewController.cs │ │ ├── MTExample3_3ViewController.designer.cs │ │ ├── MTExample3_3ViewController_iPad.xib │ │ ├── MTExample3_3ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample3_4 │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── MTExample3_4.csproj │ │ ├── MTExample3_4ViewController.cs │ │ ├── MTExample3_4ViewController.designer.cs │ │ ├── MTExample3_4ViewController_iPad.xib │ │ ├── MTExample3_4ViewController_iPhone.xib │ │ └── Main.cs │ ├── MTExample3_5 │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── MTExample3_5.csproj │ │ ├── MTExample3_5ViewController.cs │ │ ├── MTExample3_5ViewController.designer.cs │ │ ├── MTExample3_5ViewController_iPad.xib │ │ ├── MTExample3_5ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── SymbolStyle.cs │ ├── MTExample3_6 │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── MTExample3_6.csproj │ │ ├── MTExample3_6ViewController.cs │ │ ├── MTExample3_6ViewController.designer.cs │ │ ├── MTExample3_6ViewController_iPad.xib │ │ ├── MTExample3_6ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── SymbolStyle.cs │ ├── MTExample3_7 │ │ ├── AppDelegate.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── MTExample3_7.csproj │ │ ├── MTExample3_7ViewController.cs │ │ ├── MTExample3_7ViewController.designer.cs │ │ ├── MTExample3_7ViewController_iPad.xib │ │ ├── MTExample3_7ViewController_iPhone.xib │ │ ├── Main.cs │ │ ├── SubChart.cs │ │ └── SymbolStyle.cs │ ├── MTExample4_1 │ │ ├── AppDelegate.cs │ │ ├── BarStyle.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Info.plist │ │ ├── MTExample4_1.csproj │ │ ├── MTExample4_1ViewController.cs │ │ ├── MTExample4_1ViewController.designer.cs │ │ ├── MTExample4_1ViewController_iPad.xib │ │ ├── MTExample4_1ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── PlotPanel.cs │ ├── MTExample4_2 │ │ ├── AppDelegate.cs │ │ ├── BarStyle.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── ColorMap.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Info.plist │ │ ├── MTExample4_2.csproj │ │ ├── MTExample4_2ViewController.cs │ │ ├── MTExample4_2ViewController.designer.cs │ │ ├── MTExample4_2ViewController_iPad.xib │ │ ├── MTExample4_2ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── PlotPanel.cs │ ├── MTExample4_6 │ │ ├── AppDelegate.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── ColorMap.cs │ │ ├── DataSeries.cs │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── MTExample4_6.csproj │ │ ├── MTExample4_6ViewController.cs │ │ ├── MTExample4_6ViewController.designer.cs │ │ ├── MTExample4_6ViewController_iPad.xib │ │ ├── MTExample4_6ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── PlotPanel.cs │ ├── MTExample4_7 │ │ ├── AppDelegate.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── ColorMap.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── MTExample4_7.csproj │ │ ├── MTExample4_7ViewController.cs │ │ ├── MTExample4_7ViewController.designer.cs │ │ ├── MTExample4_7ViewController_iPad.xib │ │ ├── MTExample4_7ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── PlotPanel.cs │ ├── MTExample4_8 │ │ ├── AppDelegate.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── Info.plist │ │ ├── Legend.cs │ │ ├── LineStyle.cs │ │ ├── MTExample4_8.csproj │ │ ├── MTExample4_8ViewController.cs │ │ ├── MTExample4_8ViewController.designer.cs │ │ ├── MTExample4_8ViewController_iPad.xib │ │ ├── MTExample4_8ViewController_iPhone.xib │ │ ├── Main.cs │ │ └── PlotPanel.cs │ ├── MTExample4_9 │ │ ├── AppDelegate.cs │ │ ├── ChartCanvas.cs │ │ ├── ChartStyle.cs │ │ ├── DataCollection.cs │ │ ├── DataSeries.cs │ │ ├── GE.txt │ │ ├── IBM.txt │ │ ├── Info.plist │ │ ├── LineStyle.cs │ │ ├── MTExample4_9.csproj │ │ ├── MTExample4_9ViewController.cs │ │ ├── MTExample4_9ViewController.designer.cs │ │ ├── MTExample4_9ViewController_iPad.xib │ │ ├── MTExample4_9ViewController_iPhone.xib │ │ ├── Main.cs │ │ ├── PlotPanel.cs │ │ └── TextFileReader.cs │ ├── MTExample5_5 │ │ ├── AppDelegate.cs │ │ ├── AppDelegate.designer.cs │ │ ├── ChartCanvas.cs │ │ ├── DrawCylinder.cs │ │ ├── Info.plist │ │ ├── MTExample5_5.csproj │ │ ├── MTExample5_5ViewController.cs │ │ ├── MTExample5_5ViewController.designer.cs │ │ ├── MTExample5_5ViewController_iPad.xib │ │ ├── MTExample5_5ViewController_iPhone.xib │ │ ├── Main.cs │ │ ├── MainMenu.xib │ │ ├── MainWindow.cs │ │ ├── MainWindow.designer.cs │ │ ├── MainWindow.xib │ │ ├── MainWindowController.cs │ │ ├── Matrix3.cs │ │ ├── PlotPanel.cs │ │ └── Point3.cs │ ├── MTExample5_6 │ │ ├── AppDelegate.cs │ │ ├── ChartCanvas.cs │ │ ├── DrawSphere.cs │ │ ├── Info.plist │ │ ├── MTExample5_6.csproj │ │ ├── MTExample5_6ViewController.cs │ │ ├── MTExample5_6ViewController.designer.cs │ │ ├── MTExample5_6ViewController_iPad.xib │ │ ├── MTExample5_6ViewController_iPhone.xib │ │ ├── Main.cs │ │ ├── Matrix3.cs │ │ ├── PlotPanel.cs │ │ └── Point3.cs │ ├── MTFontTest │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTFontTest.csproj │ │ ├── MTFontTestViewController.cs │ │ ├── MTFontTestViewController.designer.cs │ │ ├── MTFontTestViewController_iPad.xib │ │ ├── MTFontTestViewController_iPhone.xib │ │ ├── Main.cs │ │ └── Resources │ │ │ └── Default-568h@2x.png │ ├── MTGraphicsPathTests │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTGraphicsPathTests.csproj │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ ├── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ │ └── Contents.json │ │ │ └── LaunchScreen.xib │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── MTGraphicsStateTest │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTGraphicsStateTest.csproj │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ ├── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ │ └── Contents.json │ │ │ └── LaunchScreen.xib │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── MTLinearGradientBrushTest │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTLinearGradientBrushTest.csproj │ │ ├── MTLinearGradientBrushTest.sln │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ ├── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ │ └── Contents.json │ │ │ └── LaunchScreen.xib │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── MTRegionTests │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTRegionTests.csproj │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ ├── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ │ └── Contents.json │ │ │ └── LaunchScreen.xib │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── MTTextureBrushTest │ │ ├── AppDelegate.cs │ │ ├── Entitlements.plist │ │ ├── Info.plist │ │ ├── MTTextureBrushTest.csproj │ │ ├── Main.cs │ │ ├── Main.storyboard │ │ ├── Resources │ │ │ ├── Images.xcassets │ │ │ │ └── AppIcons.appiconset │ │ │ │ │ └── Contents.json │ │ │ └── LaunchScreen.xib │ │ ├── ViewController.cs │ │ └── ViewController.designer.cs │ ├── MTUniversalProject │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── MTUniversalProject.csproj │ │ ├── MTUniversalProjectViewController.cs │ │ ├── MTUniversalProjectViewController.designer.cs │ │ ├── MTUniversalProjectViewController_iPad.xib │ │ ├── MTUniversalProjectViewController_iPhone.xib │ │ └── Main.cs │ └── sample │ │ ├── AppDelegate.cs │ │ ├── DrawingView.cs │ │ ├── Info.plist │ │ ├── Main.cs │ │ └── sample.csproj ├── RegionTests.sln ├── Resources │ ├── Fonts │ │ ├── A Damn Mess.ttf │ │ ├── Abberancy.ttf │ │ ├── Abduction.ttf │ │ ├── American Typewriter.ttf │ │ └── Paint Boy.ttf │ └── Images │ │ ├── CocoaMono.png │ │ ├── HouseAndTree.gif │ │ └── tiger-Q300.png └── TextureBrushTest.sln ├── ScreenShots └── LinearGradientBrush │ ├── PaintView0-win.png │ ├── PaintView0.png │ ├── PaintView1-win.png │ ├── PaintView1.png │ ├── PaintView10-win.png │ ├── PaintView10.png │ ├── PaintView11-win.png │ ├── PaintView11.png │ ├── PaintView12-win.png │ ├── PaintView12.png │ ├── PaintView13-win.png │ ├── PaintView13.png │ ├── PaintView14-win.png │ ├── PaintView14.png │ ├── PaintView15-win.png │ ├── PaintView15.png │ ├── PaintView16-win.png │ ├── PaintView16.png │ ├── PaintView17-win.png │ ├── PaintView17.png │ ├── PaintView2-win.png │ ├── PaintView2.png │ ├── PaintView3-win.png │ ├── PaintView3.png │ ├── PaintView4-win.png │ ├── PaintView4.png │ ├── PaintView5-win.png │ ├── PaintView5.png │ ├── PaintView6-win.png │ ├── PaintView6.png │ ├── PaintView7-win.png │ ├── PaintView7.png │ ├── PaintView8-win.png │ ├── PaintView8.png │ ├── PaintView9-win.png │ └── PaintView9.png ├── Shared.projitems ├── Shared.shproj ├── Shared └── MyClass.cs ├── System.Drawing.Drawing2D ├── CGGraphicsState.cs ├── GraphicsPath-AddString.cs ├── GraphicsPath.cs ├── GraphicsPathIterator.cs ├── GraphicsState.cs ├── HatchBrush.cs ├── LinearGradientBrush.cs ├── Matrix.cs └── PathGradientBrush.cs ├── System.Drawing.Imaging ├── ImageAttributes.cs └── ImageCodecInfo.cs ├── System.Drawing.Printing ├── PageSettings.cs ├── PageSettings.ios.cs ├── PageSettings.mac.cs ├── PreviewPrintController.cs ├── PrintController.cs ├── PrintDocument.cs ├── PrintEventArgs.cs ├── PrintPageEventArgs.cs ├── PrinterSettings.cs ├── PrinterSettings.ios.cs ├── PrinterSettings.mac.cs ├── StandardPrintController.cs ├── StandardPrintController.ios.cs └── StandardPrintController.mac.cs ├── System.Drawing.Text ├── FontCollection-CoreText.cs ├── FontCollection.cs ├── InstalledFontCollection.cs ├── PrivateFontCollection-CoreText.cs └── PrivateFontCollection.cs ├── System.Drawing ├── Bitmap.cs ├── Brush.cs ├── Color.cs ├── Extensions.cs ├── Extensions.ios.cs ├── Extensions.mac.cs ├── Font-CoreText.cs ├── Font.cs ├── FontFamily-CoreText.cs ├── FontFamily.cs ├── Graphics-DrawEllipticalArc.cs ├── Graphics-DrawImage.cs ├── Graphics-DrawString.cs ├── Graphics-DrawStringCache.cs ├── Graphics.cs ├── Graphics.ios.cs ├── Graphics.mac.cs ├── Icon.cs ├── Image.cs ├── KnownColor.cs ├── KnownColors.cs ├── KnownColors.ios.cs ├── KnownColors.mac.cs ├── Pen.cs ├── Region.cs ├── SolidBrush.cs ├── StringFormat.cs ├── SystemFonts.cs ├── SystemIcons.cs ├── SystemIcons.ios.cs ├── SystemIcons.mac.cs └── TextureBrush.cs ├── Tests ├── AppDelegate.cs ├── Helper │ └── Attributes.cs ├── Info.plist ├── Main.cs ├── Tests.csproj ├── bitmap25.png └── bitmap50.png ├── Utilities ├── ClipperLib │ └── clipper.cs ├── ConversionHelpers.cs ├── GeomTransformUtils.cs ├── GeomUtilities.cs ├── IClientView.cs ├── Locale.cs └── LruCache.cs ├── XamarinMac.csproj ├── iOS.csproj ├── sample ├── AppDelegate.cs ├── DrawingView.cs ├── Info.plist ├── Main.cs └── sample.csproj ├── scripts └── checkPublicSymbols.sh └── sysdrawing-coregraphics.sln /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | -------------------------------------------------------------------------------- /PROGESS.md: -------------------------------------------------------------------------------- 1 | This now integrates the sysdrawing-coregraphics changes from 2 | https://github.com/filipnavara/mac-playground.git 3 | 4 | It does so by keeping the iOS backend working, and uses 5 | partial classes to split the platform specific capabilites. 6 | 7 | This also removes some of the historical artifacts from 8 | the upgrade, the move to support MonoMac, Xamarin.Mac and 9 | so on and drops support for the Classic API which is no 10 | longer around. -------------------------------------------------------------------------------- /Resources/Error.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/Error.ico -------------------------------------------------------------------------------- /Resources/Information.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/Information.ico -------------------------------------------------------------------------------- /Resources/Mono.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/Mono.ico -------------------------------------------------------------------------------- /Resources/Question.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/Question.ico -------------------------------------------------------------------------------- /Resources/Shield.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/Shield.ico -------------------------------------------------------------------------------- /Resources/Warning.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/Warning.ico -------------------------------------------------------------------------------- /Resources/WinLogo.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Resources/WinLogo.ico -------------------------------------------------------------------------------- /Samples/DrawingShared.projitems: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath) 5 | true 6 | {C8F85826-762F-41B3-9719-8C348C491BA1} 7 | 8 | 9 | DrawingShared 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace BitmapTests 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/CocoaMono.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/BitmapTests/CocoaMono.png -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.BitmapTests 7 | CFBundleName 8 | BitmapTests 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace BitmapTests 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace BitmapTests 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace BitmapTests 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/BitmapTests/tiger-Q300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/BitmapTests/tiger-Q300.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/DrawingView.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio from the outlets and 4 | // actions declared in your storyboard file. 5 | // Manual changes to this file will not be maintained. 6 | // 7 | using Foundation; 8 | using System; 9 | using System.CodeDom.Compiler; 10 | using UIKit; 11 | 12 | namespace DrawingShared 13 | { 14 | [Register ("DrawingView")] 15 | partial class DrawingView 16 | { 17 | void ReleaseDesignerOutlets () 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Main.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | 3 | namespace ClippingTests 4 | { 5 | static class MainClass 6 | { 7 | static void Main(string[] args) 8 | { 9 | NSApplication.Init(); 10 | NSApplication.Main(args); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/ClippingTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/ClippingTests/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio to store outlets and 4 | // actions made in the UI designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace ClippingTests 10 | { 11 | [Register("ViewController")] 12 | partial class ViewController 13 | { 14 | void ReleaseDesignerOutlets() 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace DrawImageTests 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleName 6 | DrawImageTests 7 | CFBundleVersion 8 | 1 9 | LSMinimumSystemVersion 10 | 10.6 11 | NSMainNibFile 12 | MainMenu 13 | NSPrincipalClass 14 | NSApplication 15 | 16 | 17 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/InputImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/DrawImageTests/InputImage.png -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace DrawImageTests 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/MainWindow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Foundation; 5 | using AppKit; 6 | 7 | namespace DrawImageTests 8 | { 9 | public partial class MainWindow : AppKit.NSWindow 10 | { 11 | #region Constructors 12 | // Called when created from unmanaged code 13 | public MainWindow (IntPtr handle) : base (handle) 14 | { 15 | Initialize (); 16 | } 17 | // Called when created directly from a XIB file 18 | [Export ("initWithCoder:")] 19 | public MainWindow (NSCoder coder) : base (coder) 20 | { 21 | Initialize (); 22 | } 23 | // Shared initialization code 24 | void Initialize () 25 | { 26 | } 27 | #endregion 28 | } 29 | } 30 | 31 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace DrawImageTests 3 | { 4 | // Should subclass MonoMac.AppKit.NSWindow 5 | [Foundation.Register("MainWindow")] 6 | public partial class MainWindow 7 | { 8 | } 9 | // Should subclass MonoMac.AppKit.NSWindowController 10 | [Foundation.Register("MainWindowController")] 11 | public partial class MainWindowController 12 | { 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/bitmap25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/DrawImageTests/bitmap25.png -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/bitmap50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/DrawImageTests/bitmap50.png -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/grapeeyes.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/DrawImageTests/grapeeyes.gif -------------------------------------------------------------------------------- /Samples/MonoMac/DrawImageTests/opice-chuze-framy.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/DrawImageTests/opice-chuze-framy.gif -------------------------------------------------------------------------------- /Samples/MonoMac/DrawStringTest/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace DrawStringTest 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawStringTest/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.DrawStringTest 7 | CFBundleName 8 | DrawStringTest 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawStringTest/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace DrawStringTest 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/DrawStringTest/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace DrawStringTest 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_1/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace sampleMac 8 | { 9 | public partial class AppDelegate : NSApplicationDelegate 10 | { 11 | MainWindowController mainWindowController; 12 | 13 | public AppDelegate () 14 | { 15 | } 16 | 17 | public override void DidFinishLaunching (NSNotification notification) 18 | { 19 | mainWindowController = new MainWindowController (); 20 | mainWindowController.Window.MakeKeyAndOrderFront (this); 21 | } 22 | 23 | public override bool ApplicationShouldTerminateAfterLastWindowClosed (NSApplication sender) 24 | { 25 | return true; 26 | } 27 | } 28 | } 29 | 30 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_1/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace sampleMac 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_1/DrawingView.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace sampleMac 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSView 6 | [Foundation.Register("DrawingView")] 7 | public partial class DrawingView 8 | { 9 | } 10 | } 11 | 12 | 13 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_1/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.sampleMac 7 | CFBundleName 8 | sampleMac 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_1/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace sampleMac 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_1/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by MonoDevelop to store outlets and 4 | // actions made in the Xcode designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace sampleMac 10 | { 11 | [Register ("MainWindowController")] 12 | partial class MainWindowController 13 | { 14 | 15 | } 16 | 17 | [Register ("MainWindow")] 18 | partial class MainWindow 19 | { 20 | 21 | void ReleaseDesignerOutlets () 22 | { 23 | } 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_2/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example2 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_2/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example2 7 | CFBundleName 8 | Example2 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_2/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example2 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_2/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example2 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_2/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example2 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_4/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_4 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_4/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_4 7 | CFBundleName 8 | Example1_4 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_4/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_4 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_4/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example1_4 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_4/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_4 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_5 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_5 7 | CFBundleName 8 | Example1_5 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_5 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example1_5 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_5 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5a/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_5a 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5a/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_5a 7 | CFBundleName 8 | Example1_5a 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5a/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_5a 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5a/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example1_5a 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_5a/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_5a 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_6/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_6 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_6/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_6 7 | CFBundleName 8 | Example1_6 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_6/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_6 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_6/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example1_6 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_6/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_6 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_7/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_7 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_7/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_7 7 | CFBundleName 8 | Example1_7 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_7/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_7 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_7/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example1_7 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_7/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_7 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_8/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_8 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_8/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_8 7 | CFBundleName 8 | Example1_8 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_8/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_8 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_8/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_8 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_9/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_9 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_9/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example1_9 7 | CFBundleName 8 | Example1_9 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_9/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example1_9 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_9/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example1_9 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example1_9/PointC.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using System.Drawing.Drawing2D; 4 | using System.Drawing; 5 | 6 | namespace Example1_9 7 | { 8 | public class PointC 9 | { 10 | public PointF pointf = new PointF(); 11 | public float C = 0; 12 | public int[] ARGBArray = new int[4]; 13 | 14 | public PointC() 15 | { 16 | } 17 | 18 | public PointC(PointF ptf, float c) 19 | { 20 | pointf = ptf; 21 | C = c; 22 | } 23 | 24 | public PointC(PointF ptf, float c, int[] argbArray) 25 | { 26 | pointf = ptf; 27 | C = c; 28 | ARGBArray = argbArray; 29 | } 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_1/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example2_1 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_1/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example2_1 7 | CFBundleName 8 | Example2_1 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_1/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example2_1 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_1/MainWindow.cs: -------------------------------------------------------------------------------- 1 | 2 | using System; 3 | using System.Collections.Generic; 4 | using System.Linq; 5 | using Foundation; 6 | using AppKit; 7 | 8 | namespace Example2_1 9 | { 10 | public partial class MainWindow : AppKit.NSWindow 11 | { 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | 20 | // Called when created directly from a XIB file 21 | [Export ("initWithCoder:")] 22 | public MainWindow (NSCoder coder) : base (coder) 23 | { 24 | Initialize (); 25 | } 26 | 27 | // Shared initialization code 28 | void Initialize () 29 | { 30 | } 31 | 32 | #endregion 33 | } 34 | } 35 | 36 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_1/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example2_1 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_2/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example2_2 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_2/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example2_2 7 | CFBundleName 8 | Example2_2 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_2/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example2_2 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example2_2/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example2_2 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_1/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_1 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_1/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_1 7 | CFBundleName 8 | Example3_1 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_1/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_1 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_1/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_1 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_2/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_2 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_2/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_2 7 | CFBundleName 8 | Example3_2 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_2/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_2 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_2/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_2 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_3/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_3 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_3/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_3 7 | CFBundleName 8 | Example3_3 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_3/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_3 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_3/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_3 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_4/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_4 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_4/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_4 7 | CFBundleName 8 | Example3_4 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_4/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_4 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_4/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_4 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_5/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_5 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_5/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_5 7 | CFBundleName 8 | Example3_5 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_5/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_5 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_5/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_5 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_6/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_6 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_6/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_6 7 | CFBundleName 8 | Example3_6 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_6/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_6 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_6/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_6 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_7/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_7 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_7/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example3_7 7 | CFBundleName 8 | Example3_7 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_7/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example3_7 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example3_7/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example3_7 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_1/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_1 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_1/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example4_1 7 | CFBundleName 8 | Example4_1 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_1/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example4_1 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_1/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_1 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_2/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_2 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_2/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example4_2 7 | CFBundleName 8 | Example4_2 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_2/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example4_2 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_2/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_2 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_6/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_6 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_6/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example4_6 7 | CFBundleName 8 | Example4_6 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_6/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example4_6 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_6/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_6 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_7/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_7 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_7/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example4_7 7 | CFBundleName 8 | Example4_7 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_7/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example4_7 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_7/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_7 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_8/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_8 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_8/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example4_8 7 | CFBundleName 8 | Example4_8 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_8/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example4_8 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_8/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_8 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_9/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_9 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_9/IBM.txt: -------------------------------------------------------------------------------- 1 | 5-May-06 82.95 83.34 82.7 83.28 2 | 4-May-06 82.87 83.09 82.4 82.43 3 | 3-May-06 82.54 83.29 82.45 82.7 4 | 2-May-06 82.11 82.74 82 82.42 5 | 1-May-06 82.59 83.31 82.1 82.23 6 | 28-Apr-06 83.51 83.62 81.98 82.34 7 | 27-Apr-06 82.7 84.4 82.7 83.88 8 | 26-Apr-06 82.84 83.48 82.71 83.35 9 | 25-Apr-06 81.95 82.9 81.6 82.67 10 | 24-Apr-06 81.3 82.41 81.1 82.11 11 | 21-Apr-06 82.49 82.5 81.38 81.66 12 | 20-Apr-06 81.65 82.85 81.64 82.02 13 | 19-Apr-06 83.95 84 81.26 81.86 14 | 18-Apr-06 81.89 83.53 81.7 83.31 15 | 17-Apr-06 81.92 82.92 81.4 81.64 16 | 13-Apr-06 81.18 82.6 81.12 81.98 17 | 12-Apr-06 81.1 81.37 80.63 80.75 18 | 11-Apr-06 81.83 82.06 80.75 81.16 19 | 10-Apr-06 82.27 82.74 82 82.1 20 | 7-Apr-06 83.6 83.8 82.44 82.48 21 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_9/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example4_9 7 | CFBundleName 8 | Example4_9 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_9/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example4_9 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example4_9/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example4_9 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_5/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example5_5 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_5/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example5_5 7 | CFBundleName 8 | Example5_5 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_5/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example5_5 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_5/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example5_5 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_6/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example5_6 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_6/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleIdentifier 6 | com.yourcompany.Example5_6 7 | CFBundleName 8 | Example5_6 9 | CFBundleVersion 10 | 1 11 | LSMinimumSystemVersion 12 | 10.6 13 | NSMainNibFile 14 | MainMenu 15 | NSPrincipalClass 16 | NSApplication 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_6/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace Example5_6 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/Example5_6/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace Example5_6 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoMac/FontTest/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace FontTest 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register ("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/FontTest/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDisplayName 6 | FontTest 7 | CFBundleIdentifier 8 | com.your-company.FontTest 9 | CFBundleName 10 | FontTest 11 | CFBundleVersion 12 | 1 13 | LSMinimumSystemVersion 14 | 10.6 15 | NSMainNibFile 16 | MainMenu 17 | NSPrincipalClass 18 | NSApplication 19 | 20 | 21 | -------------------------------------------------------------------------------- /Samples/MonoMac/FontTest/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace FontTest 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/FontTest/MainWindow.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Foundation; 5 | using AppKit; 6 | 7 | namespace FontTest 8 | { 9 | public partial class MainWindow : AppKit.NSWindow 10 | { 11 | 12 | #region Constructors 13 | 14 | // Called when created from unmanaged code 15 | public MainWindow (IntPtr handle) : base (handle) 16 | { 17 | Initialize (); 18 | } 19 | // Called when created directly from a XIB file 20 | [Export ("initWithCoder:")] 21 | public MainWindow (NSCoder coder) : base (coder) 22 | { 23 | Initialize (); 24 | } 25 | // Shared initialization code 26 | void Initialize () 27 | { 28 | } 29 | 30 | #endregion 31 | 32 | } 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Samples/MonoMac/FontTest/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace FontTest 3 | { 4 | // Should subclass MonoMac.AppKit.NSWindow 5 | [Foundation.Register ("MainWindow")] 6 | public partial class MainWindow 7 | { 8 | } 9 | // Should subclass MonoMac.AppKit.NSWindowController 10 | [Foundation.Register ("MainWindowController")] 11 | public partial class MainWindowController 12 | { 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/DrawingView.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio from the outlets and 4 | // actions declared in your storyboard file. 5 | // Manual changes to this file will not be maintained. 6 | // 7 | using Foundation; 8 | using System; 9 | using System.CodeDom.Compiler; 10 | using UIKit; 11 | 12 | namespace DrawingShared 13 | { 14 | [Register ("DrawingView")] 15 | partial class DrawingView 16 | { 17 | void ReleaseDesignerOutlets () 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Main.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | 3 | namespace GraphicsPathTests 4 | { 5 | static class MainClass 6 | { 7 | static void Main(string[] args) 8 | { 9 | NSApplication.Init(); 10 | NSApplication.Main(args); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsPathTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsPathTests/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio to store outlets and 4 | // actions made in the UI designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace GraphicsPathTests 10 | { 11 | [Register("ViewController")] 12 | partial class ViewController 13 | { 14 | void ReleaseDesignerOutlets() 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Main.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | 3 | namespace GraphicsStateTest 4 | { 5 | static class MainClass 6 | { 7 | static void Main(string[] args) 8 | { 9 | NSApplication.Init(); 10 | NSApplication.Main(args); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/GraphicsStateTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/GraphicsStateTest/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio to store outlets and 4 | // actions made in the UI designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace GraphicsStateTest 10 | { 11 | [Register("ViewController")] 12 | partial class ViewController 13 | { 14 | void ReleaseDesignerOutlets() 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Main.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | 3 | namespace LinearGradientBrushTest 4 | { 5 | static class MainClass 6 | { 7 | static void Main(string[] args) 8 | { 9 | NSApplication.Init(); 10 | NSApplication.Main(args); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/LinearGradientBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/LinearGradientBrushTest/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio to store outlets and 4 | // actions made in the UI designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace LinearGradientBrushTest 10 | { 11 | [Register("ViewController")] 12 | partial class ViewController 13 | { 14 | void ReleaseDesignerOutlets() 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoMac/PathGradientBrushTests/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace PathGradientBrushTests 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [Foundation.Register ("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoMac/PathGradientBrushTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDisplayName 6 | PathGradientBrushTests 7 | CFBundleIdentifier 8 | com.your-company.PathGradientBrushTests 9 | CFBundleName 10 | PathGradientBrushTests 11 | CFBundleVersion 12 | 1 13 | LSMinimumSystemVersion 14 | 10.6 15 | NSMainNibFile 16 | MainMenu 17 | NSPrincipalClass 18 | NSApplication 19 | 20 | 21 | -------------------------------------------------------------------------------- /Samples/MonoMac/PathGradientBrushTests/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | using Foundation; 4 | using AppKit; 5 | using ObjCRuntime; 6 | 7 | namespace PathGradientBrushTests 8 | { 9 | class MainClass 10 | { 11 | static void Main (string[] args) 12 | { 13 | NSApplication.Init (); 14 | NSApplication.Main (args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoMac/PathGradientBrushTests/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace PathGradientBrushTests 3 | { 4 | // Should subclass MonoMac.AppKit.NSWindow 5 | [Foundation.Register ("MainWindow")] 6 | public partial class MainWindow 7 | { 8 | } 9 | // Should subclass MonoMac.AppKit.NSWindowController 10 | [Foundation.Register ("MainWindowController")] 11 | public partial class MainWindowController 12 | { 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | using Foundation; 3 | 4 | namespace RegionTests 5 | { 6 | [Register("AppDelegate")] 7 | public class AppDelegate : NSApplicationDelegate 8 | { 9 | public AppDelegate() 10 | { 11 | } 12 | 13 | public override void DidFinishLaunching(NSNotification notification) 14 | { 15 | // Insert code here to initialize your application 16 | } 17 | 18 | public override void WillTerminate(NSNotification notification) 19 | { 20 | // Insert code here to tear down your application 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/DrawingView.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio from the outlets and 4 | // actions declared in your storyboard file. 5 | // Manual changes to this file will not be maintained. 6 | // 7 | using Foundation; 8 | using System; 9 | using System.CodeDom.Compiler; 10 | using UIKit; 11 | 12 | namespace DrawingShared 13 | { 14 | [Register ("DrawingView")] 15 | partial class DrawingView 16 | { 17 | void ReleaseDesignerOutlets () 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Main.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | 3 | namespace RegionTests 4 | { 5 | static class MainClass 6 | { 7 | static void Main(string[] args) 8 | { 9 | NSApplication.Init(); 10 | NSApplication.Main(args); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/RegionTests/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/RegionTests/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio to store outlets and 4 | // actions made in the UI designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace RegionTests 10 | { 11 | [Register("ViewController")] 12 | partial class ViewController 13 | { 14 | void ReleaseDesignerOutlets() 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/DrawingView.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio from the outlets and 4 | // actions declared in your storyboard file. 5 | // Manual changes to this file will not be maintained. 6 | // 7 | using Foundation; 8 | using System; 9 | using System.CodeDom.Compiler; 10 | using UIKit; 11 | 12 | namespace DrawingShared 13 | { 14 | [Register ("DrawingView")] 15 | partial class DrawingView 16 | { 17 | void ReleaseDesignerOutlets () 18 | { 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Main.cs: -------------------------------------------------------------------------------- 1 | using AppKit; 2 | 3 | namespace TextureBrushTest 4 | { 5 | static class MainClass 6 | { 7 | static void Main(string[] args) 8 | { 9 | NSApplication.Init(); 10 | NSApplication.Main(args); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-128@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-16@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-256@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-32@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoMac/TextureBrushTest/Resources/Images.xcassets/AppIcons.appiconset/AppIcon-512@2x.png -------------------------------------------------------------------------------- /Samples/MonoMac/TextureBrushTest/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // WARNING 2 | // 3 | // This file has been generated automatically by Xamarin Studio to store outlets and 4 | // actions made in the UI designer. If it is removed, they will be lost. 5 | // Manual changes to this file may not be handled correctly. 6 | // 7 | using Foundation; 8 | 9 | namespace TextureBrushTest 10 | { 11 | [Register("ViewController")] 12 | partial class ViewController 13 | { 14 | void ReleaseDesignerOutlets() 15 | { 16 | } 17 | } 18 | } 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTBitmapTests/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTBitmapTests { 5 | [Register("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTBitmapTestsViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication app, NSDictionary options) 11 | { 12 | window = new UIWindow(UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTBitmapTestsViewController (); 15 | viewController.View.AddSubview (new DrawingView(window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTBitmapTests/CocoaMono.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoTouch/MTBitmapTests/CocoaMono.png -------------------------------------------------------------------------------- /Samples/MonoTouch/MTBitmapTests/MTBitmapTestsViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTBitmapTests 9 | { 10 | [Register ("MTBitmapTestsViewController")] 11 | partial class MTBitmapTestsViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTBitmapTests/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTBitmapTests { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) { 7 | // if you want to use a different Application Delegate class from "AppDelegate" 8 | // you can specify it here. 9 | UIApplication.Main (args, null, "AppDelegate"); 10 | } 11 | } 12 | } 13 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTBitmapTests/tiger-Q300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoTouch/MTBitmapTests/tiger-Q300.png -------------------------------------------------------------------------------- /Samples/MonoTouch/MTClippingTests/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTClippingTests/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTClippingTests 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTClippingTests/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTClippingTests 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTDrawImageTests/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTDrawImageTests { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTDrawImageTestsViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication app, NSDictionary options) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTDrawImageTestsViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTDrawImageTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIDeviceFamily 6 | 7 | 1 8 | 9 | UISupportedInterfaceOrientations 10 | 11 | UIInterfaceOrientationPortrait 12 | UIInterfaceOrientationLandscapeLeft 13 | UIInterfaceOrientationLandscapeRight 14 | 15 | MinimumOSVersion 16 | 6.0 17 | 18 | 19 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTDrawImageTests/MTDrawImageTestsViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTDrawImageTests 9 | { 10 | [Register ("MTDrawImageTestsViewController")] 11 | partial class MTDrawImageTestsViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTDrawImageTests/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTDrawImageTests { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTDrawImageTests/bitmap25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoTouch/MTDrawImageTests/bitmap25.png -------------------------------------------------------------------------------- /Samples/MonoTouch/MTDrawImageTests/bitmap50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoTouch/MTDrawImageTests/bitmap50.png -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_1/MTExample1_1ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_1 9 | { 10 | [Register ("MTExample1_1ViewController")] 11 | partial class MTExample1_1ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_1/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace MTExample1_1 9 | { 10 | public class Application 11 | { 12 | // This is the main entry point of the application. 13 | static void Main (string[] args) 14 | { 15 | // if you want to use a different Application Delegate class from "AppDelegate" 16 | // you can specify it here. 17 | UIApplication.Main (args, null, "AppDelegate"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_2/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_2 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_2ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_2ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | 17 | window.RootViewController = viewController; 18 | window.MakeKeyAndVisible (); 19 | 20 | return true; 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_2/MTExample1_2ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_2 9 | { 10 | [Register ("MTExample1_2ViewController")] 11 | partial class MTExample1_2ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_2/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_2 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_4/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_4 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_4ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_4ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | 17 | window.RootViewController = viewController; 18 | window.MakeKeyAndVisible (); 19 | 20 | return true; 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_4/MTExample1_4ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_4 9 | { 10 | [Register ("MTExample1_4ViewController")] 11 | partial class MTExample1_4ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_4/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_4 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_5/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_5 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_5ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_5ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_5/MTExample1_5ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_5 9 | { 10 | [Register ("MTExample1_5ViewController")] 11 | partial class MTExample1_5ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_5/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_5 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_5a/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_5a { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_5aViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication app, NSDictionary options) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_5aViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_5a/MTExample1_5aViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_5a 9 | { 10 | [Register ("MTExample1_5aViewController")] 11 | partial class MTExample1_5aViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_5a/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_5a { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_6/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_6 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_6ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | viewController = new MTExample1_6ViewController (); 14 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 15 | window.RootViewController = viewController; 16 | window.MakeKeyAndVisible (); 17 | 18 | return true; 19 | } 20 | } 21 | } 22 | 23 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_6/MTExample1_6ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_6 9 | { 10 | [Register ("MTExample1_6ViewController")] 11 | partial class MTExample1_6ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_6/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_6 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_7/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_7 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_7ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_7ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_7/DrawingView.cs: -------------------------------------------------------------------------------- 1 | using System.Drawing; 2 | 3 | using CoreGraphics; 4 | using UIKit; 5 | 6 | namespace MTExample1_7 { 7 | public class DrawingView : UIView { 8 | public DrawingView (CGRect rect) : base (rect) 9 | { 10 | ContentMode = UIViewContentMode.Redraw; 11 | AutoresizingMask = UIViewAutoresizing.All; 12 | var bgc = Color.LightGreen; 13 | BackgroundColor = UIColor.FromRGBA (bgc.R,bgc.G,bgc.B, bgc.A); 14 | } 15 | 16 | public override void Draw (CGRect rect) 17 | { 18 | Graphics g = Graphics.FromCurrentContext (); 19 | g.Dispose (); 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_7/MTExample1_7ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_7 9 | { 10 | [Register ("MTExample1_7ViewController")] 11 | partial class MTExample1_7ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_7/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_7 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_8/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_8 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_8ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_8ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_8/MTExample1_8ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_8 9 | { 10 | [Register ("MTExample1_8ViewController")] 11 | partial class MTExample1_8ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_8/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_8 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_9/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample1_9 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample1_9ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample1_9ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_9/MTExample1_9ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample1_9 9 | { 10 | [Register ("MTExample1_9ViewController")] 11 | partial class MTExample1_9ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_9/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample1_9 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample1_9/PointC.cs: -------------------------------------------------------------------------------- 1 | using System.Drawing; 2 | 3 | namespace MTExample1_9 { 4 | public class PointC { 5 | public PointF pointf = new PointF (); 6 | public float C = 0; 7 | public int[] ARGBArray = new int[4]; 8 | 9 | public PointC() 10 | { 11 | } 12 | 13 | public PointC (PointF ptf, float c) 14 | { 15 | pointf = ptf; 16 | C = c; 17 | } 18 | 19 | public PointC (PointF ptf, float c, int[] argbArray) 20 | { 21 | pointf = ptf; 22 | C = c; 23 | ARGBArray = argbArray; 24 | } 25 | } 26 | } 27 | 28 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample2_1/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample2_1 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample2_1ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample2_1ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample2_1/MTExample2_1ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample2_1 9 | { 10 | [Register ("MTExample2_1ViewController")] 11 | partial class MTExample2_1ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample2_1/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample2_1 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample2_2/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample2_2 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample2_2ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample2_2ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample2_2/MTExample2_2ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample2_2 9 | { 10 | [Register ("MTExample2_2ViewController")] 11 | partial class MTExample2_2ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample2_2/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample2_2 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_1/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_1 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_1ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_1ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_1/MTExample3_1ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_1 9 | { 10 | [Register ("MTExample3_1ViewController")] 11 | partial class MTExample3_1ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_1/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_1 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_2 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_2ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_2ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2/MTExample3_2ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_2 9 | { 10 | [Register ("MTExample3_2ViewController")] 11 | partial class MTExample3_2ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_2 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2iPad/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_2 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_2iPadViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_2iPadViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2iPad/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UIDeviceFamily 6 | 7 | 2 8 | 9 | UISupportedInterfaceOrientations~ipad 10 | 11 | UIInterfaceOrientationPortrait 12 | UIInterfaceOrientationPortraitUpsideDown 13 | UIInterfaceOrientationLandscapeLeft 14 | UIInterfaceOrientationLandscapeRight 15 | 16 | MinimumOSVersion 17 | 5.1.1 18 | 19 | 20 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2iPad/MTExample3_2iPadViewController.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_2 { 4 | public partial class MTExample3_2iPadViewController : UIViewController { 5 | public MTExample3_2iPadViewController () : base ("MTExample3_2iPadViewController", null) 6 | { 7 | } 8 | 9 | public override void ViewDidUnload () 10 | { 11 | base.ViewDidUnload (); 12 | ReleaseDesignerOutlets (); 13 | } 14 | 15 | public override bool ShouldAutorotateToInterfaceOrientation (UIInterfaceOrientation toInterfaceOrientation) 16 | { 17 | return true; 18 | } 19 | } 20 | } 21 | 22 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2iPad/MTExample3_2iPadViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_2 9 | { 10 | [Register ("MTExample3_2iPadViewController")] 11 | partial class MTExample3_2iPadViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_2iPad/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_2 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_3/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_3 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_3ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_3ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_3/MTExample3_3ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_3 9 | { 10 | [Register ("MTExample3_3ViewController")] 11 | partial class MTExample3_3ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_3/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_3 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_4/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_4 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_4ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_4ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_4/MTExample3_4ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_4 9 | { 10 | [Register ("MTExample3_4ViewController")] 11 | partial class MTExample3_4ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_4/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_4 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_5/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_5 5 | { 6 | [Register ("AppDelegate")] 7 | public class AppDelegate : UIApplicationDelegate 8 | { 9 | UIWindow window; 10 | MTExample3_5ViewController viewController; 11 | 12 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 13 | { 14 | window = new UIWindow (UIScreen.MainScreen.Bounds); 15 | 16 | viewController = new MTExample3_5ViewController (); 17 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 18 | window.RootViewController = viewController; 19 | window.MakeKeyAndVisible (); 20 | 21 | return true; 22 | } 23 | } 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_5/MTExample3_5ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_5 9 | { 10 | [Register ("MTExample3_5ViewController")] 11 | partial class MTExample3_5ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_5/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_5 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_6/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_6 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_6ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_6ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_6/MTExample3_6ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_6 9 | { 10 | [Register ("MTExample3_6ViewController")] 11 | partial class MTExample3_6ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_6/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_6 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_7/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample3_7 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample3_7ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample3_7ViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_7/MTExample3_7ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample3_7 9 | { 10 | [Register ("MTExample3_7ViewController")] 11 | partial class MTExample3_7ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample3_7/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample3_7 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_1/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample4_1 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample4_1ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample4_1ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_1/MTExample4_1ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample4_1 9 | { 10 | [Register ("MTExample4_1ViewController")] 11 | partial class MTExample4_1ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_1/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample4_1 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_2/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample4_2 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample4_2ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample4_2ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_2/MTExample4_2ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample4_2 9 | { 10 | [Register ("MTExample4_2ViewController")] 11 | partial class MTExample4_2ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_2/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample4_2 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_6/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample4_6 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample4_6ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample4_6ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_6/ChartStyle.cs: -------------------------------------------------------------------------------- 1 | using CoreGraphics; 2 | 3 | namespace MTExample4_6 { 4 | public class ChartStyle { 5 | ChartCanvas form1; 6 | int offset; 7 | 8 | public ChartStyle (ChartCanvas fm1) 9 | { 10 | form1 = fm1; 11 | } 12 | 13 | public int Offset { 14 | get { 15 | return offset; 16 | } 17 | set { 18 | offset = value; 19 | } 20 | } 21 | 22 | public CGRect SetPieArea () 23 | { 24 | Offset = form1.PlotPanel.Width / 10; 25 | int height = form1.PlotPanel.Height - 2 * Offset; 26 | int width = height; 27 | var rect = new CGRect (Offset, Offset, width, height); 28 | return rect; 29 | } 30 | } 31 | } 32 | 33 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_6/MTExample4_6ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample4_6 9 | { 10 | [Register ("MTExample4_6ViewController")] 11 | partial class MTExample4_6ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_6/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample4_6 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_7/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample4_7 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample4_7ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample4_7ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_7/MTExample4_7ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample4_7 9 | { 10 | [Register ("MTExample4_7ViewController")] 11 | partial class MTExample4_7ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_7/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample4_7 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_8/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample4_8 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample4_8ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample4_8ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_8/MTExample4_8ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample4_8 9 | { 10 | [Register ("MTExample4_8ViewController")] 11 | partial class MTExample4_8ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_8/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample4_8 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_9/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample4_9 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample4_9ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication app, NSDictionary options) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample4_9ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_9/DataSeries.cs: -------------------------------------------------------------------------------- 1 | namespace MTExample4_9 { 2 | public class DataSeries { 3 | string[,] dataString; 4 | LineStyle lineStyle; 5 | string seriesName = string.Empty; 6 | 7 | public DataSeries () 8 | { 9 | lineStyle = new LineStyle (); 10 | } 11 | 12 | public LineStyle LineStyle { 13 | get { 14 | return lineStyle; 15 | } 16 | set { 17 | lineStyle = value; 18 | } 19 | } 20 | 21 | public string[,] DataString { 22 | get { 23 | return dataString; 24 | } 25 | set { 26 | dataString = value; 27 | } 28 | } 29 | 30 | public string SeriesName { 31 | get { 32 | return seriesName; 33 | } 34 | set { 35 | seriesName = value; 36 | } 37 | } 38 | } 39 | } 40 | 41 | 42 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_9/IBM.txt: -------------------------------------------------------------------------------- 1 | 5-May-06 82.95 83.34 82.7 83.28 2 | 4-May-06 82.87 83.09 82.4 82.43 3 | 3-May-06 82.54 83.29 82.45 82.7 4 | 2-May-06 82.11 82.74 82 82.42 5 | 1-May-06 82.59 83.31 82.1 82.23 6 | 28-Apr-06 83.51 83.62 81.98 82.34 7 | 27-Apr-06 82.7 84.4 82.7 83.88 8 | 26-Apr-06 82.84 83.48 82.71 83.35 9 | 25-Apr-06 81.95 82.9 81.6 82.67 10 | 24-Apr-06 81.3 82.41 81.1 82.11 11 | 21-Apr-06 82.49 82.5 81.38 81.66 12 | 20-Apr-06 81.65 82.85 81.64 82.02 13 | 19-Apr-06 83.95 84 81.26 81.86 14 | 18-Apr-06 81.89 83.53 81.7 83.31 15 | 17-Apr-06 81.92 82.92 81.4 81.64 16 | 13-Apr-06 81.18 82.6 81.12 81.98 17 | 12-Apr-06 81.1 81.37 80.63 80.75 18 | 11-Apr-06 81.83 82.06 80.75 81.16 19 | 10-Apr-06 82.27 82.74 82 82.1 20 | 7-Apr-06 83.6 83.8 82.44 82.48 21 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_9/MTExample4_9ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample4_9 9 | { 10 | [Register ("MTExample4_9ViewController")] 11 | partial class MTExample4_9ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample4_9/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample4_9 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_5/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample5_5 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTExample5_5ViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTExample5_5ViewController (); 15 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_5/AppDelegate.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace MTExample5_5 3 | { 4 | // Should subclass MonoMac.AppKit.NSResponder 5 | [MonoMac.Foundation.Register("AppDelegate")] 6 | public partial class AppDelegate 7 | { 8 | } 9 | } 10 | 11 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_5/MTExample5_5ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample5_5 9 | { 10 | [Register ("MTExample5_5ViewController")] 11 | partial class MTExample5_5ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_5/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample5_5 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_5/MainWindow.designer.cs: -------------------------------------------------------------------------------- 1 | 2 | namespace MTExample5_5 3 | { 4 | 5 | // Should subclass MonoMac.AppKit.NSWindow 6 | [MonoMac.Foundation.Register("MainWindow")] 7 | public partial class MainWindow 8 | { 9 | } 10 | 11 | // Should subclass MonoMac.AppKit.NSWindowController 12 | [MonoMac.Foundation.Register("MainWindowController")] 13 | public partial class MainWindowController 14 | { 15 | } 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_6/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTExample5_6 { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | // class-level declarations 8 | UIWindow window; 9 | MTExample5_6ViewController viewController; 10 | 11 | public override bool FinishedLaunching (UIApplication app, NSDictionary options) 12 | { 13 | window = new UIWindow (UIScreen.MainScreen.Bounds); 14 | 15 | viewController = new MTExample5_6ViewController (); 16 | viewController.View.AddSubview (new ChartCanvas (window.Bounds)); 17 | window.RootViewController = viewController; 18 | window.MakeKeyAndVisible (); 19 | 20 | return true; 21 | } 22 | } 23 | } 24 | 25 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_6/MTExample5_6ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTExample5_6 9 | { 10 | [Register ("MTExample5_6ViewController")] 11 | partial class MTExample5_6ViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTExample5_6/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTExample5_6 { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTFontTest/AppDelegate.cs: -------------------------------------------------------------------------------- 1 | using Foundation; 2 | using UIKit; 3 | 4 | namespace MTFontTest { 5 | [Register ("AppDelegate")] 6 | public class AppDelegate : UIApplicationDelegate { 7 | UIWindow window; 8 | MTFontTestViewController viewController; 9 | 10 | public override bool FinishedLaunching (UIApplication application, NSDictionary launchOptions) 11 | { 12 | window = new UIWindow (UIScreen.MainScreen.Bounds); 13 | 14 | viewController = new MTFontTestViewController (); 15 | viewController.View.AddSubview (new DrawingView (window.Bounds)); 16 | window.RootViewController = viewController; 17 | window.MakeKeyAndVisible (); 18 | 19 | return true; 20 | } 21 | } 22 | } 23 | 24 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTFontTest/Entitlements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTFontTest/MTFontTestViewController.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTFontTest { 4 | public partial class MTFontTestViewController : UIViewController { 5 | static bool UserInterfaceIdiomIsPhone { 6 | get { return UIDevice.CurrentDevice.UserInterfaceIdiom == UIUserInterfaceIdiom.Phone; } 7 | } 8 | 9 | public MTFontTestViewController () 10 | : base (UserInterfaceIdiomIsPhone ? "MTFontTestViewController_iPhone" : "MTFontTestViewController_iPad", null) 11 | { 12 | } 13 | } 14 | } 15 | 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTFontTest/MTFontTestViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTFontTest 9 | { 10 | [Register ("MTFontTestViewController")] 11 | partial class MTFontTestViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTFontTest/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTFontTest { 4 | public class Application { 5 | // This is the main entry point of the application. 6 | static void Main (string[] args) 7 | { 8 | // if you want to use a different Application Delegate class from "AppDelegate" 9 | // you can specify it here. 10 | UIApplication.Main (args, null, "AppDelegate"); 11 | } 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTFontTest/Resources/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoTouch/MTFontTest/Resources/Default-568h@2x.png -------------------------------------------------------------------------------- /Samples/MonoTouch/MTGraphicsPathTests/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTGraphicsPathTests/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTGraphicsPathTests 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTGraphicsPathTests/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTGraphicsPathTests 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTGraphicsStateTest/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTGraphicsStateTest/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTGraphicsStateTest 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTGraphicsStateTest/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTGraphicsStateTest 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTLinearGradientBrushTest/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTLinearGradientBrushTest/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTLinearGradientBrush 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTLinearGradientBrushTest/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTLinearGradientBrush 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTRegionTests/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTRegionTests/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTRegionTests 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTRegionTests/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTRegionTests 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTTextureBrushTest/Entitlements.plist: -------------------------------------------------------------------------------- 1 |  2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTTextureBrushTest/Main.cs: -------------------------------------------------------------------------------- 1 | using UIKit; 2 | 3 | namespace MTTextureBrushTest 4 | { 5 | public class Application 6 | { 7 | // This is the main entry point of the application. 8 | static void Main(string[] args) 9 | { 10 | // if you want to use a different Application Delegate class from "AppDelegate" 11 | // you can specify it here. 12 | UIApplication.Main(args, null, "AppDelegate"); 13 | } 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTTextureBrushTest/ViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTTextureBrushTest 9 | { 10 | [Register("ViewController")] 11 | partial class ViewController 12 | { 13 | void ReleaseDesignerOutlets() 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTUniversalProject/MTUniversalProjectViewController.designer.cs: -------------------------------------------------------------------------------- 1 | // 2 | // This file has been generated automatically by MonoDevelop to store outlets and 3 | // actions made in the Xcode designer. If it is removed, they will be lost. 4 | // Manual changes to this file may not be handled correctly. 5 | // 6 | using Foundation; 7 | 8 | namespace MTUniversalProject 9 | { 10 | [Register ("MTUniversalProjectViewController")] 11 | partial class MTUniversalProjectViewController 12 | { 13 | void ReleaseDesignerOutlets () 14 | { 15 | } 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Samples/MonoTouch/MTUniversalProject/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | using Foundation; 5 | using UIKit; 6 | 7 | namespace MTUniversalProject 8 | { 9 | public class Application 10 | { 11 | // This is the main entry point of the application. 12 | static void Main (string[] args) 13 | { 14 | // if you want to use a different Application Delegate class from "AppDelegate" 15 | // you can specify it here. 16 | UIApplication.Main (args, null, "AppDelegate"); 17 | } 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /Samples/MonoTouch/sample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UISupportedInterfaceOrientations 6 | 7 | UIInterfaceOrientationPortrait 8 | UIInterfaceOrientationLandscapeLeft 9 | UIInterfaceOrientationLandscapeRight 10 | 11 | MinimumOSVersion 12 | 5.1.1 13 | 14 | 15 | -------------------------------------------------------------------------------- /Samples/MonoTouch/sample/Main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/MonoTouch/sample/Main.cs -------------------------------------------------------------------------------- /Samples/Resources/Fonts/A Damn Mess.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Fonts/A Damn Mess.ttf -------------------------------------------------------------------------------- /Samples/Resources/Fonts/Abberancy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Fonts/Abberancy.ttf -------------------------------------------------------------------------------- /Samples/Resources/Fonts/Abduction.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Fonts/Abduction.ttf -------------------------------------------------------------------------------- /Samples/Resources/Fonts/American Typewriter.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Fonts/American Typewriter.ttf -------------------------------------------------------------------------------- /Samples/Resources/Fonts/Paint Boy.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Fonts/Paint Boy.ttf -------------------------------------------------------------------------------- /Samples/Resources/Images/CocoaMono.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Images/CocoaMono.png -------------------------------------------------------------------------------- /Samples/Resources/Images/HouseAndTree.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Images/HouseAndTree.gif -------------------------------------------------------------------------------- /Samples/Resources/Images/tiger-Q300.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Samples/Resources/Images/tiger-Q300.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView0-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView0-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView0.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView1-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView1-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView1.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView10-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView10-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView10.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView11-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView11-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView11.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView12-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView12-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView12.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView12.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView13-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView13-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView13.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView13.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView14-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView14-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView14.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView14.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView15-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView15-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView15.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView15.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView16-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView16-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView16.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView17-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView17-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView17.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView17.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView2-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView2-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView2.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView3-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView3-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView3.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView4-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView4-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView4.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView5-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView5-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView5.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView6-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView6-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView6.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView7-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView7-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView7.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView8-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView8-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView8.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView9-win.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView9-win.png -------------------------------------------------------------------------------- /ScreenShots/LinearGradientBrush/PaintView9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/ScreenShots/LinearGradientBrush/PaintView9.png -------------------------------------------------------------------------------- /Shared/MyClass.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | namespace Shared 3 | { 4 | public class MyClass 5 | { 6 | public MyClass () 7 | { 8 | } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /System.Drawing.Drawing2D/GraphicsState.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | 4 | namespace System.Drawing.Drawing2D 5 | { 6 | public class GraphicsState { 7 | 8 | // TODO: set the rest of the states 9 | // These are just off the top of my head for right now as am sure there are 10 | // many more 11 | internal Pen lastPen { get; set; } 12 | internal Brush lastBrush { get; set; } 13 | internal Matrix model { get; set; } 14 | internal Matrix view { get; set; } 15 | internal PointF renderingOrigin { get; set; } 16 | internal GraphicsUnit pageUnit {get;set;} 17 | internal float pageScale { get; set; } 18 | internal SmoothingMode smoothingMode { get; set; } 19 | internal Region clipRegion { get; set; } 20 | 21 | } 22 | 23 | } 24 | 25 | -------------------------------------------------------------------------------- /System.Drawing.Printing/PageSettings.ios.cs: -------------------------------------------------------------------------------- 1 | using CoreGraphics; 2 | using System; 3 | 4 | namespace System.Drawing.Printing 5 | { 6 | public partial class PageSettings 7 | { 8 | public PageSettings (PrinterSettings printerSettings) 9 | { 10 | this.PrinterSettings = printerSettings; 11 | } 12 | 13 | PageSettings (PageSettings pageSettings) 14 | { 15 | this.PrinterSettings = pageSettings.PrinterSettings; 16 | } 17 | 18 | public Rectangle Bounds => Rectangle.Empty; 19 | 20 | public bool Landscape { get; set; } 21 | public PaperSize PaperSize { get; set; } 22 | public Margins Margins { get; set; } 23 | 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /System.Drawing.Printing/StandardPrintController.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace System.Drawing.Printing 4 | { 5 | public partial class StandardPrintController : PrintController 6 | { 7 | 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /System.Drawing.Printing/StandardPrintController.ios.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace System.Drawing.Printing 4 | { 5 | public partial class StandardPrintController 6 | { 7 | public StandardPrintController () 8 | { 9 | } 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /System.Drawing/SystemIcons.ios.cs: -------------------------------------------------------------------------------- 1 | namespace System.Drawing 2 | { 3 | public sealed partial class SystemIcons 4 | { 5 | static SystemIcons () 6 | { 7 | WinLogo = FromResource ("Mono.ico"); 8 | Shield = FromResource ("Shield.ico"); 9 | Information = FromResource ("Information.ico"); 10 | Error = FromResource ("Error.ico"); 11 | Warning = FromResource ("Warning.ico"); 12 | Question = FromResource ("Question.ico"); 13 | WinLogo = FromResource ("WinLogo.ico"); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /Tests/Helper/Attributes.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace System 4 | { 5 | public class CategoryAttribute :Attribute 6 | { 7 | public CategoryAttribute (string title) 8 | { 9 | } 10 | } 11 | } 12 | 13 | -------------------------------------------------------------------------------- /Tests/Main.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Collections.Generic; 3 | using System.Linq; 4 | 5 | using Foundation; 6 | using UIKit; 7 | 8 | namespace Tests 9 | { 10 | public class Application 11 | { 12 | // This is the main entry point of the application. 13 | static void Main (string[] args) 14 | { 15 | // if you want to use a different Application Delegate class from "AppDelegate" 16 | // you can specify it here. 17 | UIApplication.Main (args, null, "AppDelegate"); 18 | } 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /Tests/bitmap25.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Tests/bitmap25.png -------------------------------------------------------------------------------- /Tests/bitmap50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/Tests/bitmap50.png -------------------------------------------------------------------------------- /Utilities/IClientView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using CoreGraphics; 3 | 4 | namespace System.Drawing 5 | { 6 | public interface IClientView 7 | { 8 | CGRect ClientBounds { get; } 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /Utilities/Locale.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | 3 | namespace System.Drawing 4 | { 5 | internal class Locale 6 | { 7 | public static string GetText (string format) 8 | { 9 | return format; 10 | } 11 | 12 | public static string GetText (string format, params object [] args) 13 | { 14 | return string.Format (format, args); 15 | } 16 | } 17 | } 18 | 19 | -------------------------------------------------------------------------------- /sample/DrawingView.cs: -------------------------------------------------------------------------------- 1 | using System; 2 | using System.Drawing; 3 | using UIKit; 4 | 5 | namespace sample 6 | { 7 | public class DrawingView : UIView { 8 | public DrawingView (RectangleF rect) : base (rect) 9 | { 10 | } 11 | 12 | public override void Draw (RectangleF rect) 13 | { 14 | var ctx = new Graphics (UIGraphics.GetCurrentContext ()); 15 | 16 | var red = new SolidBrush (Color.Red); 17 | 18 | ctx.DrawLine (new Pen (red), new PointF (1, 1), new PointF (100, 100)); 19 | 20 | ctx.Dispose (); 21 | } 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /sample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | UISupportedInterfaceOrientations 6 | 7 | UIInterfaceOrientationPortrait 8 | UIInterfaceOrientationLandscapeLeft 9 | UIInterfaceOrientationLandscapeRight 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /sample/Main.cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mono/sysdrawing-coregraphics/d6809aec2f53601b09936e662336320e8a1da953/sample/Main.cs --------------------------------------------------------------------------------