Exemplo n.º 1
0
        //---------------------------------------------------------------------
        //typedef renderer_outline_image<BaseRenderer, ImagePattern> self_type;

        //---------------------------------------------------------------------
        public ImageLineRenderer(PixelProcessing.IBitmapBlender ren, LineImagePattern patt)
        {
            _ren      = ren;
            _pattern  = patt;
            _start    = (0);
            _scale_x  = (1.0);
            _clip_box = new Q1Rect(0, 0, 0, 0);
            _clipping = (false);
        }
Exemplo n.º 2
0
 // Create
 //--------------------------------------------------------------------
 public LineImagePattern(IPatternFilter filter, LineImagePattern src)
 {
     _filter         = (filter);
     _dilation       = (filter.Dilation + 1);
     _dilation_hr    = (_dilation << LineAA.SUBPIXEL_SHIFT);
     _width          = 0;
     _height         = 0;
     _width_hr       = 0;
     _half_height_hr = 0;
     _offset_y_hr    = (0);
     Create(src.MyBuffer);
 }