Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

Search Results for "Polygon" in [All]

Constants

1: EMR_
.

        EMR_POLYGON            = 3,

.

        EMR_POLYPOLYGON        = 8,

.

        EMR_POLYGON16          = 86,

.

        EMR_POLYPOLYGON16          = 91,

Structures

.

struct TTPOLYGONHEADER {

.

Structure TTPOLYGONHEADER

.
Documentation
[TTPOLYGONHEADER] on MSDN

gdi32

.
Summary
.

static extern IntPtr CreatePolygonRgn(POINT [] lppt, int cPoints,

.

static extern IntPtr CreatePolygonRgn(Point[] lppt, int cPoints, int fnPolyFillMode);

.

    // First we create polygon

.

    IntPtr forma = CreatePolygonRgn(edges, edges.Length, 1);

.
Documentation
[CreatePolygonRgn] on MSDN
.
Summary
.

static extern IntPtr CreatePolyPolygonRgn(POINT [] lppt, int [] lpPolyCounts,

.
Documentation
[CreatePolyPolygonRgn] on MSDN
.

        /// Polygonal capabilities

.

        POLYGONALCAPS = 32,

.

    ''' Polygonal capabilities

.

    POLYGONALCAPS = 32

.

public struct TTPOLYGONHEADER

.

                            int polygonHeaderSize = Marshal.SizeOf(typeof(TTPOLYGONHEADER));

.

                                TTPOLYGONHEADER header = (TTPOLYGONHEADER)Marshal.PtrToStructure(new IntPtr(buffer.ToInt32()+index), typeof(TTPOLYGONHEADER));

.

                                index+=polygonHeaderSize;

.
Summary
The Polygon API
.

static extern bool Polygon(IntPtr hdc, POINT [] lpPoints, int nCount);

.

<DllImport("gdi32.dll")> Private Shared Function Polygon( _

.

        PostSynchro.Win32.Polygon(Hdc, TrianglePoints, 3);

.
Documentation
[Polygon] on MSDN
.
Summary
.

static extern bool PolyPolygon(IntPtr hdc, POINT [] lpPoints,

.
Documentation
[PolyPolygon] on MSDN

opengl32

.

        GL_POLYGON_BIT = 0x00000008,

.

        GL_POLYGON_STIPPLE_BIT = 0x00000010,

.

        GL_POLYGON = 0x0009,

.

        GL_POLYGON_TOKEN = 0x0703,

.

        GL_POLYGON_MODE = 0x0B40,

.

        GL_POLYGON_SMOOTH = 0x0B41,

.

        GL_POLYGON_STIPPLE = 0x0B42,

.

        GL_POLYGON_SMOOTH_HINT = 0x0C53,

.

    public enum PolygonMode : uint

.

    public enum PolygonOffset : uint

.

        GL_POLYGON_OFFSET_FACTOR = 0x8038,

.

        GL_POLYGON_OFFSET_UNITS = 0x2A00,

.

        GL_POLYGON_OFFSET_POINT = 0x2A01,

.

        GL_POLYGON_OFFSET_LINE = 0x2A02,

.

        GL_POLYGON_OFFSET_FILL = 0x8037,

.

        GLU_TESS_MISSING_BEGIN_POLYGON = 100151,

.

        GLU_TESS_MISSING_END_POLYGON = 100153,

.

        GLU_OUTLINE_POLYGON = 100240,

.

    public static extern void glGetPolygonStipple(byte[] mask);

.

    public static extern void glPolygonMode(uint face, uint mode);

.

    public static extern void glPolygonOffset(float factor, float units);

.

    public static extern void glPolygonStipple(byte[] mask);

.

    public static extern void gluTessBeginPolygon(IntPtr tess, IntPtr polygonData);

.

    public static extern void gluTessEndPolygon(IntPtr tess);

.

                    WGL.WGL_FONT_POLYGONS,

gdiplus

.

static extern int GdipAddPathPolygonI(HandleRef path,

.

Declare Function GdipAddPathPolygonI Lib "gdiplus.dll" (TODO) As TODO

.
Documentation
[GdipAddPathPolygonI] on MSDN

 
Access PInvoke.net directly from VS: