equal
deleted
inserted
replaced
269 params.points.clear(); |
269 params.points.clear(); |
270 } |
270 } |
271 |
271 |
272 quint8 penWidth = flags & 0x3f; |
272 quint8 penWidth = flags & 0x3f; |
273 m_pen.setWidth(deserializePenWidth(penWidth)); |
273 m_pen.setWidth(deserializePenWidth(penWidth)); |
274 if(flags & 0x40) |
274 params.erasing = flags & 0x40; |
|
275 if(params.erasing) |
275 m_pen.setBrush(m_eraser); |
276 m_pen.setBrush(m_eraser); |
276 else |
277 else |
277 m_pen.setBrush(m_brush); |
278 m_pen.setBrush(m_brush); |
278 params.width = penWidth; |
279 params.width = penWidth; |
279 } |
280 } |