Retrieves a pointer to the PaintNode contained inside the passed
Value, and if not null
it will increase the reference count.
value |
a Value initialized with |
a pointer to the PaintNode, with its reference count increased, or
|