Graphics.UI.WXCore.WxcTypes

Object types

data Object a

objectNull

objectIsNull

objectCast

objectIsManaged

objectDelete

objectFromPtr

managedObjectFromPtr

withObjectPtr

withObjectRef

withObjectResult

withManagedObjectResult

objectFinalize

objectNoFinalize

Type synonyms

type Id

type Style

type EventId

Basic types

fromBool

toBool

Point

type Point

data Point2 a

point

pt

pointFromVec

pointFromSize

pointZero

pointNull

Size

type Size

data Size2D a

sz

sizeFromPoint

sizeFromVec

sizeZero

sizeNull

Vector

type Vector

data Vector2 a

vector

vec

vecFromPoint

vecFromSize

vecZero

vecNull

Rectangle

type Rect

data Rect2D a

rectTopLeft

rectTopRight

rectBottomLeft

rectBottomRight

rectBottom

rectRight

rect

rectBetween

rectFromSize

rectZero

rectNull

rectSize

rectIsEmpty

Color

data Color

rgb

colorRGB

rgba

colorRGBA

colorRed

colorGreen

colorBlue

colorAlpha

intFromColor

colorFromInt

fromColor

toColor

colorOk

colorIsOk

Marshalling

Basic types

withPointResult

withWxPointResult

toCIntPointX

toCIntPointY

fromCPoint

withCPoint

withPointDoubleResult

toCDoublePointX

toCDoublePointY

fromCPointDouble

withCPointDouble

withSizeResult

withWxSizeResult

toCIntSizeW

toCIntSizeH

fromCSize

withCSize

withSizeDoubleResult

toCDoubleSizeW

toCDoubleSizeH

fromCSizeDouble

withCSizeDouble

withVectorResult

withWxVectorResult

toCIntVectorX

toCIntVectorY

fromCVector

withCVector

withVectorDoubleResult

toCDoubleVectorX

toCDoubleVectorY

fromCVectorDouble

withCVectorDouble

withRectResult

withWxRectResult

withWxRectPtr

toCIntRectX

toCIntRectY

toCIntRectW

toCIntRectH

fromCRect

withCRect

withRectDoubleResult

toCDoubleRectX

toCDoubleRectY

toCDoubleRectW

toCDoubleRectH

fromCRectDouble

withCRectDouble

withArray

withArrayString

withArrayWString

withArrayInt

withArrayIntPtr

withArrayObject

withArrayIntResult

withArrayIntPtrResult

withArrayStringResult

withArrayWStringResult

withArrayObjectResult

colourFromColor

colorFromColour

Managed object types

data TreeItem

treeItemInvalid

treeItemIsOk

treeItemFromInt

withRefTreeItemId

withTreeItemIdPtr

withTreeItemIdRef

withManagedTreeItemIdResult

withStringRef

withStringPtr

withManagedStringResult

withRefColour

withColourRef

withColourPtr

withManagedColourResult

withRefBitmap

withManagedBitmapResult

withRefCursor

withManagedCursorResult

withRefIcon

withManagedIconResult

withRefPen

withManagedPenResult

withRefBrush

withManagedBrushResult

withRefFont

withManagedFontResult

withRefImage

withRefListItem

withRefFontData

withRefPrintData

withRefPageSetupDialogData

withRefPrintDialogData

withRefDateTime

withManagedDateTimeResult

withRefGridCellCoordsArray

withManagedGridCellCoordsArrayResult

Primitive types

CString

type CString

withCString

withStringResult

type CWString

withCWString

withWStringResult

ByteString

withByteStringResult

withLazyByteStringResult

CInt

data CInt

toCInt

fromCInt

withIntResult

IntPtr

data IntPtr

CIntPtr

data CIntPtr

toCIntPtr

fromCIntPtr

withIntPtrResult

Word

data Word

8 bit Word

data Word8

64 bit Integer

data Int64

CDouble

data CDouble

toCDouble

fromCDouble

withDoubleResult

CChar

data CChar

toCChar

fromCChar

withCharResult

data CWchar

toCWchar

CBool

type CBool

toCBool

fromCBool

withBoolResult

Pointers

data Ptr a

ptrNull

ptrIsNull

ptrCast

data ForeignPtr a

data FunPtr a

toCFunPtr