Adding Visual Annotate to your code
Streamline provides a set of macros that enable you to add images to the Timeline and Log views in your generated Analysis Reports.
To use the Visual Annotate feature to add images to the Timeline and Log views, follow these steps:
- Include the files streamline_annotate.h and streamline_annotate.c in your project.
ANNOTATE_SETUPmacro to your code. It must be called before any other annotate macros are called.
ANNOTATE_DEFINEmacro to your code. You must call
ANNOTATE_VISUAL(data, length, str)macro into your code. Replace
datawith your image,
lengthwith the size of the data being written to the annotate file, and, optionally,
strwith a descriptive string to be included with the image.
Compile and link your code using the