주요 내용으로 건너뛰기

VGObject

touchgfx/hal/VGData.hpp

Data structure for a vector drawing. VGObject drawings consists of a linked list of VGShapes.

Public Attributes

floatheight
The height including strokeWidth.
floatimageHeight
Height of the image (either calculated or from SVG height attribute)
floatimageWidth
Width of the image (either calculated or from SVG width attribute)
const VGShape *shape
First shape in this drawing.
floatwidth
The width including strokeWidth.
floatx
The x coordinate.
floaty
The y coordinate.

Public Attributes Documentation

height

float height

The height including strokeWidth.

imageHeight

float imageHeight

Height of the image (either calculated or from SVG height attribute)

imageWidth

float imageWidth

Width of the image (either calculated or from SVG width attribute)

shape

const VGShape * shape

First shape in this drawing.

width

float width

The width including strokeWidth.

x

float x

The x coordinate.

y

float y

The y coordinate.