Lines Matching refs:subrange
1448 if not(last is None or last.hregion.pid == 0 or x < self.attrs.subrange.x.lo):
1449 if last.x < self.attrs.subrange.x.lo:
1450 x0 = self.attrs.subrange.x.lo
1453 if x > self.attrs.subrange.x.hi:
1454 x1 = self.attrs.subrange.x.hi
1475 if point.x > self.attrs.subrange.x.hi:
1478 self.PaintPoint(painter, last, self.attrs.subrange.x.hi + 1)
1558 subrange = attrs.subrange.x
1559 t = subrange.hi - subrange.lo
1588 subrange = attrs.subrange.x
1589 if subrange.lo:
1590 x_offset = n - (subrange.lo % n)
1593 x = subrange.lo + x_offset
1595 self.PaintMarks(painter, 0, x, subrange.hi, n, i)
1600 lo = attrs.subrange.x.lo
1692 graph_width = attrs.XToPixel(attrs.subrange.x.hi) + 1
1693 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1
2080 def __init__(self, scale, subrange, region_attributes, dp): argument
2082 self.subrange = subrange
2089 return int(round((x - self.subrange.x.lo) * self.scale.x, self.pdp.x))
2092 return int(round((y - self.subrange.y.lo) * self.scale.y, self.pdp.y))
2095 return round((round(px, 0) / self.scale.x), self.dp.x) + self.subrange.x.lo
2098 return round((round(py, 0) / self.scale.y), self.dp.y) + self.subrange.y.lo
2216 subrange = XY(xsubrange, ysubrange)
2218 scale = self.GetScaleForRange(subrange)
2220 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2273 def GetScaleForRange(self, subrange): argument
2275 xscale = self.GetScaleForRangeX(subrange.x)
2276 yscale = self.GetScaleForRangeY(subrange.y)
2317 return (self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect)
2325 self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.back_state.pop()
2336 …self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.forward_state.po…
2342 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2343 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2389 self.attrs.subrange.x = selected_subrange
2394 self.attrs.scale.x = self.GetScaleForRangeX(self.attrs.subrange.x)