virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdClearRect& p = (const CmdClearRect&)src; pt = p.pt; vec = p.vec; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdDrawHandle& p = (const CmdDrawHandle&)src; pt = p.pt; t = p.t; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdSetBrush& p = (const CmdSetBrush&)src; argb = p.argb; style = p.style; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdQuadTo& p = (const CmdQuadTo&)src; cp = p.cp; pt = p.pt; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdDrawPath& p = (const CmdDrawPath&)src; stroke = p.stroke; fill = p.fill; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdDrawLine& p = (const CmdDrawLine&)src; pt1 = p.pt1; pt2 = p.pt2; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdBezierTo& p = (const CmdBezierTo&)src; c1 = p.c1; c2 = p.c2; pt = p.pt; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdDrawTextAt& p = (const CmdDrawTextAt&)src; text = p.text; pt = p.pt; vec = p.vec; align = p.align; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdDrawBitmap& p = (const CmdDrawBitmap&)src; name = p.name; pt = p.pt; vec = p.vec; angle = p.angle; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdDrawEllipse& p = (const CmdDrawEllipse&)src; pt = p.pt; vec = p.vec; stroke = p.stroke; fill = p.fill; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdSetPen& p = (const CmdSetPen&)src; argb = p.argb; width = p.width; style = p.style; phase = p.phase; orgw = p.orgw; } }
virtual void copy(const ICmd& src) { if (src.type() == type()) { const CmdLineTo& p = (const CmdLineTo&)src; pt = p.pt; } }