Skip to content

Automatic casting to HTuple #3

@dov

Description

@dov

The binding should transparantly try to translate any python sequence and scalar to HTuple if there is a matching function.

E.g. currently it is necessary to write:

canvas = HImageArray(Images).TileImagesOffset(HTuple(OffsetRow),
                                              HTuple(OffsetCol),
                                              HTuple([0]*len(Images)),      # row1
                                              HTuple([0]*len(Images)),      # col1
                                              HTuple([i.Height() for i in Images]),
                                              HTuple([i.Width() for i in Images]),
                                              HTuple(Width),
                                              HTuple(Height))

Requested is to get rid of all the explicit HTuple() calls.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions