Primordial Machine's Visuals Library

Nothing to see here yet. Come back later, traveler.

Core_CanvasDpiChangedMessage

Signature

typedef struct Core_CanvasDpiChangedMessage Core_CanvasDpiChangedMessage;

Extends

Core_CanvasMessage

Description

A message pertaining to a canvas dpi changed event.

Core_CanvasDpiChangedMessage_create

Signature

Core_Result Core_CanvasDpiChangedMessage_create(Core_CanvasDpiChangedMessage** RETURN, Core_Real32 horizontalDpi, Core_Real32 verticalDpi);

Description

Create a Core_CanvasDpiChangedMessage object.

Parameters

RETURNCore_CanvasDpiChangedMessage**A pointer to a Core_CanvasDpiChangedMessage* variable.
horizontalDpiCore_PixelFormatThe horizontal DPI.
verticalDpiCore_Natural32The vertical DPI.

Success

*RETURN was assigned a pointer to the Core_CanvasDpiChangedMessage object.

Errors

Core_Error_ArgumentInvalidRETURN is a null pointer.
Core_Error_AllocationFailedAn allocation failed.

Return

Core_Success on success. Core_Failure on failure.

Remarks

This function sets the by-thread error variable on failure.

Core_CanvasMessage

Signature

typedef struct Core_CanvasMessage Core_CanvasMessage;

Extends

Core_Message

Description

A message pertaining to a Canvas.

Core_CanvasMessageKind

Signature

typedef enum Core_CanvasMessageKind <implementation> Core_CanvasMessageKind;

Description

An enumeration of kinds of canvas messages.

Elements

Core_CanvasMessageKind_StateChangedKind of canvas state changed message.
Core_CanvasMessageKind_SizeChangedKind of a canvas size changed message.
Core_CanvasMessageKind_DpiChangedKind of a canvas DPI changed message.

Core_CanvasSizeChangedMessage

Signature

typedef struct Core_CanvasSizeChangedMessage Core_CanvasSizeChangedMessage;

Extends

Core_CanvasMessage

Description

A message pertaining to a canvas size changed event.

Core_CanvasSizeChangedMessage_create

Signature

Core_Result Core_CanvaSizeChangedMessage_create(Core_CanvaSizeChangedMessage** RETURN, Core_Real32 horizontalSize, Core_Real32 verticalSize);

Description

Create a Core_CanvasSizeChangedMessage object.

Parameters

RETURNCore_CanvaSizeChangedMessage**A pointer to a Core_CanvaSizeChangedMessage* variable.
horizontalSizeCore_Real32The horizontal size, in pixels, of the canvas.
verticalSizeCore_Real32The vertical size, in pixels, of the canvas.

Success

*RETURN was assigned a pointer to the Core_CanvasSizeChangedMessage object.

Errors

Core_Error_ArgumentInvalidRETURN is a null pointer.
Core_Error_AllocationFailedAn allocation failed.

Return

Core_Success on success. Core_Failure on failure.

Remarks

This function sets the by-thread error variable on failure.

Core_CanvasStateChangedMessage

Signature

typedef struct Core_CanvasStateChangedMessage Core_CanvasStateChangedMessage;

Extends

Core_CanvasMessage

Description

A message pertaining to a canvas state changed event.

Core_CanvasStateChangedMessage_create

Signature

Core_Result Core_CanvasStateChangedMessage_create(Core_CanvasStateChangedMessage** RETURN, Core_Boolean active);

Description

Create a Core_CanvasStateChangedMessage object.

Parameters

RETURNCore_CanvasStateChangedMessage**A pointer to a Core_CanvasStateChangedMessage* variable.
activeCore_BooleanThe activation state of the canvas.

Success

*RETURN was assigned a pointer to the Core_CanvasStateChangedMessage object.

Errors

Core_Error_ArgumentInvalidRETURN is a null pointer.
Core_Error_AllocationFailedAn allocation failed.

Return

Core_Success on success. Core_Failure on failure.

Remarks

This function sets the by-thread error variable on failure.

Core_CullMode

Signature

typedef enum Core_CullMode <implementation> Core_CullMode;

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_CullMode.

Elements

Core_DepthCompareFunction

Signature

typedef enum Core_DepthCompareFunction <implementation> Core_DepthCompareFunction;

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_DepthCompareFunction.

Elements

Core_PixelFormat

Signature

typedef enum Core_PixelFormat <implementation> Core_PixelFormat;

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_PixelFormat.

Elements

Core_PixelFormat_getNumberOfBytes

Signature

Core_Result Core_PixelFormat_getNumberOfBytes(Core_Size* RETURN, Core_PixelFormat SELF);

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_PixelFormat_getNumberOfBytes.

Parameters

RETURNCore_SizeA pointer to a Core_Size variable.
SELFCore_PixelFormatThis Core_PixelFormat value.

Success

*RETURN was assigned the number of Bytes of a pixel of the pixel format specified by Core_PixelFormat.

Errors

Core_Error_ArgumentInvalidRETURN is a null pointer

Return

Core_Success on success. Core_Failure on failure.

Remarks

This function sets the by-thread error variable on failure.

Core_PixelFormat_getNumberOfComponents

Signature

Core_Result Core_PixelFormat_getNumberOfComponents(Core_Size* RETURN, Core_PixelFormat SELF);

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_PixelFormat_getNumberOfComponents.

Parameters

RETURNCore_SizeA pointer to a Core_Size variable.
SELFCore_PixelFormatThis Core_PixelFormat value.

Success

*RETURN was assigned the number of components of a pixel of the pixel format specified by Core_PixelFormat.

Errors

Core_Error_ArgumentInvalidRETURN is a null pointer

Return

Core_Success on success. Core_Failure on failure.

Remarks

This function sets the by-thread error variable on failure.

Core_TextureAddressMode

Signature

typedef enum Core_TextureAddressMode <implementation> Core_TextureAddressMode;

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_TextureAddressMode.

Elements

Core_VertexFormat

Signature

typedef enum Core_VertexFormat <implementation> Core_VertexFormat;

Description

An enumeration of vertex formats.

Elements

Core_VertexFormat_PositionXyzA vertex of the format xyz position.
Core_VertexFormat_AmbientRgbaA vertex of the format rgba ambient.
Core_VertexFormat_AmbientUvA vertex of the format uv ambient.
Core_VertexFormat_PositionXyzAmbientRgbaA vertex of the format xyz position first and rgba ambient last.
Core_VertexFormat_PositionXyzAmbientUvA vertex of the format xyz position first and uv ambient last.
Core_VertexFormat_PositionXyzAmbientRgbaAmbientUvA vertex of the format xyz positin first, rgba ambient second, and uv ambient last.

Core_WindingMode

Signature

typedef enum Core_WindingMode <implementation> Core_WindingMode;

Description

This was replaced by https://michaelheilmann.com/repository/Arcadia.Visuals/#Arcadia_Visuals_WindingMode.

Elements