Skip to content

Example for FINComputerGPUT2:drawBox() with an image #520

@serdioa

Description

@serdioa

The method FINComputerGPUT2:drawBox() accepts as a parameter Struct. That struct has a property "image" which is described as "If not empty, should be a image reference to the image that should be drawn inside the rectangle".

If the image support is already implemented, could you please give an example how to use it, or describe how to refer to the image (i.e. whether the image file must be in a particular location, whether only particular image format is supported etc).

I have already attempted without success:

  • Refer to the image by an absolute path in the file system.
  • Alternatively, put the image in the same directory where a Label from Module Control Panel may load images, and attempt to refer to it just by the file name.

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