/* External Class Implementation */
/************************************************************************/
-Picture::Picture() : pImpl(new Impl(this))
+Picture::Picture() : pImpl(new Impl)
{
Paint::pImpl->id = TVG_CLASS_ID_PICTURE;
Paint::pImpl->method(new PaintMethod<Picture::Impl>(pImpl));
Paint* paint = nullptr; //vector picture uses
Surface* surface = nullptr; //bitmap picture uses
-
- Picture* picture = nullptr;
void* rdata = nullptr; //engine data
float w = 0, h = 0;
bool resizing = false;
- Impl(Picture* p) : picture(p)
- {
- }
-
~Impl()
{
if (paint) delete(paint);