Owning Palette: Graphics & Sound VIs
Use the Picture Functions VIs to create visual representations of data.
Many of these picture VIs use clusters to define points and rectangles. The VIs related to drawing text use clusters and enumerations to describe the font choice and the positioning of the text.
| Palette Object | Description |
|---|---|
| Draw Arc | Draws an arc in a picture. |
| Draw Circle by Radius | Draws a circle based on a specified radius and center point. |
| Draw Flattened Pixmap | Draws a 1-, 4-, or 8-bit pixmap or a 24-bit RGB pixmap into a picture. |
| Draw Grayed Out Rect | Draws a patterned rectangle in the specified picture to create the effect of graying-out a section of the picture. |
| Draw Line | Draws a line from the current pen position to the specified location in a picture. |
| Draw Multiple Lines | Draws multiple connected lines into a picture. |
| Draw Oval | Draws an oval in the rectangle you specify, optionally filling the interior. |
| Draw Point | Sets a pixel in a picture to a specified color. |
| Draw Rect | Draws a rectangle, optionally filling the interior. |
| Draw Round Rect | Draws a rounded rectangle into a picture. |
| Draw Text at Point | Draws a string into a picture. |
| Draw Text in Rect | Draws a string into a picture. |
| Empty Picture | Returns an empty picture. The picture input for all Picture VIs is an empty picture by default. |
| Get Text Rect | Returns the bounding rectangle of a string. |
| Hilite Color | Returns two new colors well matched to the input color for highlight and shadow coloration, based on the input color and a percentage you specify. |
| Move Pen | Changes the current pen location of a picture to the specified position or by the specified amount if the position is relative. |
| PDA Load Image File | Reads a JPEG file, GIF file, or BMP file and creates the picture that contains the image and the data necessary to display the image file in a picture control. |
| PDA Pick Color | Opens the default system color palette on the PDA target so you can select a color in a PDA application. |
| PDA Read BMP File | Reads a BMP file and creates the data necessary to display the file in a picture control. |
| PDA Write BMP File | Writes a BMP file. |