Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Windows Mobile Password Safe

, 12 Jan 2009 CPOL
A password safe with a touch screen UI introducing Fluid Controls.
PasswordSafeExe.zip
Fluid.dll
passwords.pws
PasswordSafe.exe
PasswordSafeSource.zip
PasswordSafe
Fluditity
bin
Classes
vssver2.scc
Controls
enums
vssver2.scc
Events
vssver2.scc
Interfaces
vssver2.scc
vssver2.scc
Fluid.csproj.user
GdiPlus
mssccprj.scc
NativeMethods
vssver2.scc
vssver2.scc
Native
vssver2.scc
obj
Properties
vssver2.scc
vssver2.scc
PasswordSafe
bin
Release
Fluid.dll
passwords.pws
PasswordSafe.exe
Classes
vssver2.scc
Encryption
vssver2.scc
EventArgs
vssver2.scc
ListBoxes
vssver2.scc
PasswordSafe.csproj.user
Properties
vssver2.scc
Resources
lock.bmp
minus.png
props.bmp
save.bmp
saved.bmp
search.bmp
searchd.bmp
undo24.bmp
undo24_d.bmp
Untitled.png
vssver2.scc
security.ico
Templates
vssver2.scc
Themes
vssver2.scc
vssver2.scc
Xml
vssver2.scc
vssver2.scc
using System;
using System.Runtime.InteropServices;
using System.Text;
using System.Drawing;

namespace Fluid.Drawing.GdiPlus
{
    internal partial class GdiPlus
    {
        [DllImport(dllName)]
        internal static extern GpStatus GdipCreatePath(FillMode brushMode, out GpPath path);

        [DllImport(dllName)]
        internal static extern GpStatus GdipClonePath(GpPath path, out GpPath clonePath);

        [DllImport(dllName)]
        internal static extern GpStatus GdipDeletePath(GpPath path);

        [DllImport(dllName)]
        internal static extern GpStatus GdipResetPath(GpPath path);

        [DllImport(dllName)]
        internal static extern GpStatus GdipGetPointCount(GpPath path, out int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipGetPathTypes(GpPath path, byte[] types, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipGetPathPoints(GpPath path, PointF[] points, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipGetPathPointsI(GpPath path, Point[] points, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipGetPathFillMode(GpPath path, out FillMode fillmode);

        [DllImport(dllName)]
        internal static extern GpStatus GdipSetPathFillMode(GpPath path, FillMode fillmode);

        [DllImport(dllName)]
        internal static extern GpStatus GdipStartPathFigure(GpPath path);

        [DllImport(dllName)]
        internal static extern GpStatus GdipClosePathFigure(GpPath path);

        [DllImport(dllName)]
        internal static extern GpStatus GdipClosePathFigures(GpPath path);


        [DllImport(dllName)]
        internal static extern GpStatus GdipGetPathLastPoint(GpPath path, out PointF lastPoint);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathLine(GpPath path, float x1, float y1, float x2, float y2);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathLine2(GpPath path, PointF[] points, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathArc(GpPath path, float x, float y, float width, float height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathBeziers(GpPath path, PointF[] points, int count);


        [DllImport(dllName)]
        internal static extern GpStatus
        GdipAddPathRectangle(GpPath path, float x, float y, float width, float height);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathRectangles(GpPath path, RectangleF[] rects, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathEllipse(GpPath path, float x, float y, float width, float height);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathPie(GpPath path, float x, float y, float width, float height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathPolygon(GpPath path, PointF[] points, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathPath(GpPath path, GpPath addingPath, bool connect);


        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathLine2I(GpPath path, Point[] points, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathArcI(GpPath path, int x, int y, int width, int height, float startAngle, float sweepAngle);


        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathBeziersI(GpPath path, Point[] points, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathRectangleI(GpPath path, int x, int y, int width, int height);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathRectanglesI(GpPath path, Rectangle[] rects, int count);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathEllipseI(GpPath path, int x, int y, int width, int height);

        [DllImport(dllName)]
        internal static extern GpStatus GdipAddPathPieI(GpPath path, int x, int y, int width, int height, float startAngle, float sweepAngle);

        [DllImport(dllName)]
        internal static extern GpStatus GdipIsVisiblePathPoint(GpPath path, float x, float y, GpGraphics graphics, out bool result);

        [DllImport(dllName)]
        internal static extern GpStatus GdipIsVisiblePathPointI(GpPath path, int x, int y, GpGraphics graphics, out bool result);

        [DllImport(dllName)]
        internal static extern GpStatus GdipIsOutlineVisiblePathPoint(GpPath path, float x, float y, GpPen pen, GpGraphics graphics, out bool result);

    }
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

Thomas Gerber
Software Developer (Senior)
Germany Germany
MCPD
Enterprise Application Developer 3.5
Windows Developer 3.5
.ASP.NET Developer 3.5
.NET 2.0 Windows Developer
.NET 2.0 Web Developer
.NET 2.0 Enterprise Application Developer
 

MCTS
.NET 3.5 Windows Forms Applications
.NET 3.5 ASP.NET Applications
.NET 3.5, ADO.NET Application Development
.NET 3.5 WCF
.NET 3.5 WPF
.NET 3.5 WF
Microsoft SQL Server 2008, Database Development
.NET 2.0 Windows Applications
.NET 2.0 Web Applications
.NET 2.0 Distributed Applications
SQL Server 2005
Sharepoint Services 3.0 Application Development
Windows Vista Client Configuration

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141220.1 | Last Updated 12 Jan 2009
Article Copyright 2009 by Thomas Gerber
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid