Permalink
Browse files

Added a MonoDevelop project.

  • Loading branch information...
1 parent 044b190 commit b09449a0047cf6d1c1ec49ee1e5dc7642d5cc08e @migueldeicaza migueldeicaza committed Apr 13, 2012
@@ -565,7 +565,7 @@ public object Clone ()
public PathData PathData {
get {
- return new PathData (points.ToArray (), types.ToArray ());
+ return new PathData () { Points = points.ToArray (), Types = types.ToArray () };
}
}
@@ -407,7 +407,7 @@ public static Graphics FromImage (Image image)
throw new ArgumentNullException ("image");
if ((image.PixelFormat & PixelFormat.Indexed) != 0)
- throw new Exception (Locale.GetText ("Cannot create Graphics from an indexed bitmap."));
+ throw new Exception ("Cannot create Graphics from an indexed bitmap.");
return null; // TODO
}
View
@@ -0,0 +1,41 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace sample
+{
+ // The UIApplicationDelegate for the application. This class is responsible for launching the
+ // User Interface of the application, as well as listening (and optionally responding) to
+ // application events from iOS.
+ [Register ("AppDelegate")]
+ public partial class AppDelegate : UIApplicationDelegate
+ {
+ // class-level declarations
+ UIWindow window;
+
+ //
+ // This method is invoked when the application has loaded and is ready to run. In this
+ // method you should instantiate the window, load the UI into it and then make the window
+ // visible.
+ //
+ // You have 17 seconds to return from this method, or iOS will terminate your application.
+ //
+ public override bool FinishedLaunching (UIApplication app, NSDictionary options)
+ {
+ // create a new window instance based on the screen size
+ window = new UIWindow (UIScreen.MainScreen.Bounds);
+
+ // If you have defined a view, add it here:
+ // window.AddSubview (navigationController.View);
+
+ // make the window visible
+ window.MakeKeyAndVisible ();
+
+ return true;
+ }
+ }
+}
+
View
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+<dict>
+ <key>UISupportedInterfaceOrientations</key>
+ <array>
+ <string>UIInterfaceOrientationPortrait</string>
+ <string>UIInterfaceOrientationLandscapeLeft</string>
+ <string>UIInterfaceOrientationLandscapeRight</string>
+ </array>
+</dict>
+</plist>
View
@@ -0,0 +1,20 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+
+using MonoTouch.Foundation;
+using MonoTouch.UIKit;
+
+namespace sample
+{
+ public class Application
+ {
+ // This is the main entry point of the application.
+ static void Main (string[] args)
+ {
+ // if you want to use a different Application Delegate class from "AppDelegate"
+ // you can specify it here.
+ UIApplication.Main (args, null, "AppDelegate");
+ }
+ }
+}
View
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">iPhoneSimulator</Platform>
+ <ProductVersion>10.0.0</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{E8B93782-4A11-4D52-8802-B958558D8E85}</ProjectGuid>
+ <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <OutputType>Exe</OutputType>
+ <RootNamespace>sample</RootNamespace>
+ <AssemblyName>sample</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhoneSimulator' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\iPhoneSimulator\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ <MtouchDebug>true</MtouchDebug>
+ <MtouchProfiling>true</MtouchProfiling>
+ <MtouchLink>None</MtouchLink>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhoneSimulator' ">
+ <DebugType>none</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\iPhoneSimulator\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ <MtouchLink>None</MtouchLink>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|iPhone' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\iPhone\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ <MtouchDebug>true</MtouchDebug>
+ <MtouchProfiling>true</MtouchProfiling>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|iPhone' ">
+ <DebugType>none</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\iPhone\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ <CodesignKey>iPhone Developer</CodesignKey>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Core" />
+ <Reference Include="monotouch" />
+ </ItemGroup>
+ <ItemGroup>
+ <None Include="Info.plist" />
+ </ItemGroup>
+ <ItemGroup>
+ <Compile Include="Main.cs" />
+ <Compile Include="AppDelegate.cs" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <ProjectReference Include="..\sysdrawing-coregraphics.csproj">
+ <Project>{11A8D4A2-4C0C-46C1-916F-5968538C3490}</Project>
+ <Name>sysdrawing-coregraphics</Name>
+ </ProjectReference>
+ </ItemGroup>
+</Project>
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
+ <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
+ <ProductVersion>10.0.0</ProductVersion>
+ <SchemaVersion>2.0</SchemaVersion>
+ <ProjectGuid>{11A8D4A2-4C0C-46C1-916F-5968538C3490}</ProjectGuid>
+ <ProjectTypeGuids>{6BC8ED88-2882-458C-8E55-DFD12B67127B};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
+ <OutputType>Library</OutputType>
+ <RootNamespace>sysdrawingcoregraphics</RootNamespace>
+ <AssemblyName>sysdrawing-coregraphics</AssemblyName>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
+ <DebugSymbols>true</DebugSymbols>
+ <DebugType>full</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Debug</OutputPath>
+ <DefineConstants>DEBUG;</DefineConstants>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ </PropertyGroup>
+ <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
+ <DebugType>none</DebugType>
+ <Optimize>false</Optimize>
+ <OutputPath>bin\Release</OutputPath>
+ <ErrorReport>prompt</ErrorReport>
+ <WarningLevel>4</WarningLevel>
+ <ConsolePause>false</ConsolePause>
+ </PropertyGroup>
+ <ItemGroup>
+ <Reference Include="System" />
+ <Reference Include="System.Xml" />
+ <Reference Include="System.Core" />
+ <Reference Include="monotouch" />
+ </ItemGroup>
+ <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
+ <ItemGroup>
+ <Compile Include="System.Drawing\Bitmap.cs" />
+ <Compile Include="System.Drawing\Brush.cs" />
+ <Compile Include="System.Drawing\Color.cs" />
+ <Compile Include="System.Drawing\FontFamily.cs" />
+ <Compile Include="System.Drawing\Graphics.cs" />
+ <Compile Include="System.Drawing\Image.cs" />
+ <Compile Include="System.Drawing\KnownColor.cs" />
+ <Compile Include="System.Drawing\KnownColors.cs" />
+ <Compile Include="System.Drawing\Pen.cs" />
+ <Compile Include="System.Drawing\Region.cs" />
+ <Compile Include="System.Drawing\SolidBrush.cs" />
+ <Compile Include="System.Drawing\StringFormat.cs" />
+ <Compile Include="System.Drawing.Drawing2D\GraphicsPath.cs" />
+ <Compile Include="System.Drawing.Drawing2D\Matrix.cs" />
+ <Compile Include="System.Drawing.Printing\PageSettings.cs" />
+ <Compile Include="System.Drawing.Printing\PrintDocument.cs" />
+ <Compile Include="System.Drawing.Printing\PrinterSettings.cs" />
+ <Compile Include="System.Drawing.Printing\PrintPageEventArgs.cs" />
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing\ImageConverter.cs">
+ <Link>External\ImageConverter.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing\ImageFormatConverter.cs">
+ <Link>External\ImageFormatConverter.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing\StringAligment.cs">
+ <Link>External\StringAligment.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing\SystemColors.cs">
+ <Link>External\SystemColors.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing\ToolboxBitmapAttribute.cs">
+ <Link>External\ToolboxBitmapAttribute.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\Blend.cs">
+ <Link>External\Blend.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\ColorBlend.cs">
+ <Link>External\ColorBlend.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\CompostingMode.cs">
+ <Link>External\CompostingMode.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\FillMode.cs">
+ <Link>External\FillMode.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\MatrixOrder.cs">
+ <Link>External\MatrixOrder.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\PathPointType.cs">
+ <Link>External\PathPointType.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Imaging\ImageFormat.cs">
+ <Link>External\ImageFormat.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Imaging\PixelFormat.cs">
+ <Link>External\PixelFormat.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Printing\PrintPageEventHandler.cs">
+ <Link>External\PrintPageEventHandler.cs</Link>
+ </Compile>
+ <Compile Include="..\mono\mcs\class\System.Drawing\System.Drawing.Drawing2D\PathData.cs">
+ <Link>External\PathData.cs</Link>
+ </Compile>
+ </ItemGroup>
+ <ItemGroup>
+ <Folder Include="External\" />
+ </ItemGroup>
+</Project>
@@ -0,0 +1,38 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sysdrawing-coregraphics", "sysdrawing-coregraphics.csproj", "{11A8D4A2-4C0C-46C1-916F-5968538C3490}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "sample", "sample\sample.csproj", "{E8B93782-4A11-4D52-8802-B958558D8E85}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ Debug|iPhoneSimulator = Debug|iPhoneSimulator
+ Release|iPhoneSimulator = Release|iPhoneSimulator
+ Debug|iPhone = Debug|iPhone
+ Release|iPhone = Release|iPhone
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {11A8D4A2-4C0C-46C1-916F-5968538C3490}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {11A8D4A2-4C0C-46C1-916F-5968538C3490}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {11A8D4A2-4C0C-46C1-916F-5968538C3490}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {11A8D4A2-4C0C-46C1-916F-5968538C3490}.Release|Any CPU.Build.0 = Release|Any CPU
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Debug|Any CPU.ActiveCfg = Debug|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Debug|Any CPU.Build.0 = Debug|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Debug|iPhone.ActiveCfg = Debug|iPhone
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Debug|iPhone.Build.0 = Debug|iPhone
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Debug|iPhoneSimulator.ActiveCfg = Debug|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Debug|iPhoneSimulator.Build.0 = Debug|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Release|Any CPU.ActiveCfg = Release|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Release|Any CPU.Build.0 = Release|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Release|iPhone.ActiveCfg = Release|iPhone
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Release|iPhone.Build.0 = Release|iPhone
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Release|iPhoneSimulator.ActiveCfg = Release|iPhoneSimulator
+ {E8B93782-4A11-4D52-8802-B958558D8E85}.Release|iPhoneSimulator.Build.0 = Release|iPhoneSimulator
+ EndGlobalSection
+ GlobalSection(MonoDevelopProperties) = preSolution
+ StartupItem = sysdrawing-coregraphics.csproj
+ EndGlobalSection
+EndGlobal

0 comments on commit b09449a

Please sign in to comment.