source/dcm_transform.py
def draw_rect(self, pos_x, pos_y, width, height, step, val, alpha=1.0):
        """Draws a rect in the buffer at x, y to x+w, y+h with an xstep and ystep increments """
        self.draw_hline(pos_x, pos_y, width, step, val, alpha)
        self.draw_hline(pos_x, pos_y + height - 1, width, step, val, alpha)
        self.draw_vline(pos_x, pos_y, height, step, val, alpha)
        self.draw_vline(pos_x + width - 1, pos_y, height, step, val, alpha)
Draws a rect in the buffer at x, y to x+w, y+h with an xstep and ystep increments 
Draws a rect in the buffer at x, y to x+w, y+h with an xstep and ystep increments
Draws a rect in the buffer at x y to x + w y + h with an xstep and ystep increments
def draw_rect(self, pos_x, pos_y, width, height, step, val, alpha=1.0):
        self.draw_hline(pos_x, pos_y, width, step, val, alpha)
        self.draw_hline(pos_x, pos_y + height - 1, width, step, val, alpha)
        self.draw_vline(pos_x, pos_y, height, step, val, alpha)
        self.draw_vline(pos_x + width - 1, pos_y, height, step, val, alpha)
def draw_rect ( self , pos_x , pos_y , width , height , step , val , alpha = 1.0 ) : self . draw_hline ( pos_x , pos_y , width , step , val , alpha ) self . draw_hline ( pos_x , pos_y + height - 1 , width , step , val , alpha ) self . draw_vline ( pos_x , pos_y , height , step , val , alpha ) self . draw_vline ( pos_x + width - 1 , pos_y , height , step , val , alpha )
Draws a rect in the buffer at x, y to x+w, y+h with an xstep and ystep increments
Draws a rect in the buffer at x y to x + w y + h with an xstep and ystep increments
"""Draws a rect in the buffer at x, y to x+w, y+h with an xstep and ystep increments """
self
pos_x
pos_y
width
height
step
val
alpha