+ int sz = vfrm->get_w()*vfrm->get_h();
+ this->msk = (uint8_t*)memset(new uint8_t[sz],0,sz);
+ }
+ ~SketcherVPen() { delete [] msk; }
+
+ void draw_line(float x1, float y1, float x2, float y2) {
+ VFrame::draw_line(int(x1+.5f),int(y1+.5f), int(x2+.5f),int(y2+.5f));
+ }
+ void draw_smooth(float x1, float y1, float x2, float y2, float x3, float y3) {
+ VFrame::draw_smooth(int(x1+.5f),int(y1+.5f),
+ int(x2+.5f),int(y2+.5f), int(x3+.5f),int(y3+.5f));