Picture Widget

From C4 Engine Wiki
Jump to navigation Jump to search

The Picture Widget displays a vector-based picture stored in an album resource. A picture widget is drawn using the Slug Library.

The widget color is not used.

Settings

The following settings are available specifically for Picture Widgets.

Setting

Description

Picture Settings

Album

Specifies the album resource containing the picture.

Picture index

Specifies the index of the picture within the album.

Scale to fit

If enabled, scales the picture to the largest size that fits within the widget's bounding box without changing the picture's aspect ratio.

Picture Rendering Settings

Render with optical weight

Specifies that the coverage values calculated on the boundaries of a picture are to be increased for heavier appearance. As with text, this is used to improve visibility of small details.

Render symmetric band splits

Specifies whether the band-split optimization is applied to the picture. This setting reduces rendering time by using curve lists sorted in opposite orders for the negative and positive halves of each band in a component. This has no effect on the visual appearance of a picture, but it can increase performance for pictures rendered at large sizes. This can have a negative effect on performance when pictures are rendered at small sizes, so it should not be enabled in those cases.

Render adaptive supersampling

Specifies whether the picture is rendered with adaptive supersampling for high quality at very small sizes.

Render linear curve optimization

Enables an optimization that allows pictures with many polygonal components to be rendered faster.

Use bounding polygons

Specifies whether the bounding polygon optimization is enabled for the picture. This setting reduces the number of pixels covered by each component by using a tight polygon with 3–6 sides instead of a quad. This has no effect on the visual appearance of a picture, but it can increase performance for pictures rendered at large sizes. This can have a negative effect on performance when picture are rendered at small sizes, so it should not be enabled in those cases.

See Also