LibCapy - bresenham

Bresenham class.

Macros:

Enumerations:

None.

Typedefs:

None.

Struct CapyBresenham :

Struct CapyBresenham's properties:

Current position

Start position (default: 0,0)

End position (default: 1,1)

Fields for the forEach macro

Index in iteration

Internal variables of the Bresenham algorithm

Struct CapyBresenham's methods:

Methods for the forEach macro

Destructor

Functions:

Create a CapyBresenham

Output and side effect(s):

Return a CapyBresenham

Allocate memory for a new CapyBresenham and create it

Output and side effect(s):

Return a CapyBresenham

Exception(s):

May raise CapyExc_MallocFailed.

Free the memory used by a CapyBresenham* and reset '*that' to NULL

Input argument(s):

that: a pointer to the CapyBresenham to free

2023-08-04
in LibCapy,
22 views
Copyright 2021-2024 Baillehache Pascal