• Home
  • Raw
  • Download

Lines Matching refs:subrange

1451 		if not(last is None or last.hregion.pid == 0 or x < self.attrs.subrange.x.lo):
1452 if last.x < self.attrs.subrange.x.lo:
1453 x0 = self.attrs.subrange.x.lo
1456 if x > self.attrs.subrange.x.hi:
1457 x1 = self.attrs.subrange.x.hi
1478 if point.x > self.attrs.subrange.x.hi:
1481 self.PaintPoint(painter, last, self.attrs.subrange.x.hi + 1)
1561 subrange = attrs.subrange.x
1562 t = subrange.hi - subrange.lo
1591 subrange = attrs.subrange.x
1592 if subrange.lo:
1593 x_offset = n - (subrange.lo % n)
1596 x = subrange.lo + x_offset
1598 self.PaintMarks(painter, 0, x, subrange.hi, n, i)
1603 lo = attrs.subrange.x.lo
1695 graph_width = attrs.XToPixel(attrs.subrange.x.hi) + 1
1696 graph_height = attrs.YToPixel(attrs.subrange.y.hi) + 1
2083 def __init__(self, scale, subrange, region_attributes, dp): argument
2085 self.subrange = subrange
2092 return int(round((x - self.subrange.x.lo) * self.scale.x, self.pdp.x))
2095 return int(round((y - self.subrange.y.lo) * self.scale.y, self.pdp.y))
2098 return round((round(px, 0) / self.scale.x), self.dp.x) + self.subrange.x.lo
2101 return round((round(py, 0) / self.scale.y), self.dp.y) + self.subrange.y.lo
2219 subrange = XY(xsubrange, ysubrange)
2221 scale = self.GetScaleForRange(subrange)
2223 self.attrs = GraphAttributes(scale, subrange, region_attributes, collection.dp)
2276 def GetScaleForRange(self, subrange): argument
2278 xscale = self.GetScaleForRangeX(subrange.x)
2279 yscale = self.GetScaleForRangeY(subrange.y)
2320 return (self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect)
2328 self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.back_state.pop()
2339 …self.attrs.subrange, self.attrs.scale, self.selection_state, self.fwd_rect = self.forward_state.po…
2345 time_from = self.collection.xrangelo + Decimal(self.attrs.subrange.x.lo)
2346 time_to = self.collection.xrangelo + Decimal(self.attrs.subrange.x.hi)
2392 self.attrs.subrange.x = selected_subrange
2397 self.attrs.scale.x = self.GetScaleForRangeX(self.attrs.subrange.x)