Show / Hide Table of Contents

Class Wgl

Inheritance
System.Object
Wgl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CADability
Assembly: CADability.dll
Syntax
public class Wgl

Fields

| Improve this Doc View Source

WGL_FONT_LINES

Declaration
public const int WGL_FONT_LINES = 0
Field Value
Type Description
System.Int32
| Improve this Doc View Source

WGL_FONT_POLYGONS

Declaration
public const int WGL_FONT_POLYGONS = 1
Field Value
Type Description
System.Int32

Methods

wglCreateContext(IntPtr)

Declaration
public static IntPtr wglCreateContext(IntPtr deviceContext)
Parameters
Type Name Description
System.IntPtr deviceContext
Returns
Type Description
System.IntPtr

wglDeleteContext(IntPtr)

Declaration
public static bool wglDeleteContext(IntPtr renderingContext)
Parameters
Type Name Description
System.IntPtr renderingContext
Returns
Type Description
System.Boolean

wglGetCurrentContext()

Declaration
public static IntPtr wglGetCurrentContext()
Returns
Type Description
System.IntPtr

wglMakeCurrent(IntPtr, IntPtr)

Declaration
public static bool wglMakeCurrent(IntPtr deviceContext, IntPtr renderingContext)
Parameters
Type Name Description
System.IntPtr deviceContext
System.IntPtr renderingContext
Returns
Type Description
System.Boolean

wglShareLists(IntPtr, IntPtr)

Declaration
public static bool wglShareLists(IntPtr source, IntPtr destination)
Parameters
Type Name Description
System.IntPtr source
System.IntPtr destination
Returns
Type Description
System.Boolean

wglUseFontOutlines(IntPtr, Int32, Int32, Int32, Single, Single, Int32, Gdi.GLYPHMETRICSFLOAT[])

Declaration
public static bool wglUseFontOutlines(IntPtr deviceContext, int first, int count, int listBase, float deviation, float extrusion, int format, Gdi.GLYPHMETRICSFLOAT[] glyphMetrics)
Parameters
Type Name Description
System.IntPtr deviceContext
System.Int32 first
System.Int32 count
System.Int32 listBase
System.Single deviation
System.Single extrusion
System.Int32 format
Gdi.GLYPHMETRICSFLOAT[] glyphMetrics
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX