Lines Matching refs:subrange

1447 		if not(last is None or last.hregion.pid == 0 or x < self.attrs.subrange.x.lo):
1448 if last.x < self.attrs.subrange.x.lo:
1449 x0 = self.attrs.subrange.x.lo
1452 if x > self.attrs.subrange.x.hi:
1453 x1 = self.attrs.subrange.x.hi
1474 if point.x > self.attrs.subrange.x.hi:
1477 self.PaintPoint(painter, last, self.attrs.subrange.x.hi + 1)
1557 subrange = attrs.subrange.x
1558 t = subrange.hi - subrange.lo
1587 subrange = attrs.subrange.x
1588 if subrange.lo:
1589 x_offset = n - (subrange.lo % n)
1592 x = subrange.lo + x_offset
1594 self.PaintMarks(painter, 0, x, subrange.hi, n, i)
1599 lo = attrs.subrange.x.lo
1691 graph_width = attrs.XToPixel(attrs.subrange.x.hi) + 1
1692 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1
2079 def __init__(self, scale, subrange, region_attributes, dp): argument
2081 self.subrange = subrange
2088 return int(round((x - self.subrange.x.lo) * self.scale.x, self.pdp.x))
2091 return int(round((y - self.subrange.y.lo) * self.scale.y, self.pdp.y))
2094 return round((round(px, 0) / self.scale.x), self.dp.x) + self.subrange.x.lo
2097 return round((round(py, 0) / self.scale.y), self.dp.y) + self.subrange.y.lo
2215 subrange = XY(xsubrange, ysubrange)
2217 scale = self.GetScaleForRange(subrange)
2219 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2272 def GetScaleForRange(self, subrange): argument
2274 xscale = self.GetScaleForRangeX(subrange.x)
2275 yscale = self.GetScaleForRangeY(subrange.y)
2316 return (self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect)
2324 self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.back_state.pop()
2335 …self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.forward_state.po…
2341 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2342 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2388 self.attrs.subrange.x = selected_subrange
2393 self.attrs.scale.x = self.GetScaleForRangeX(self.attrs.subrange.x)