Searched refs:width_px (Results 1 – 2 of 2) sorted by relevance
81 width_px = self.us_to_px(end - self.ts_start)93 dc.DrawRectangle(offset_px, offset_py, width_px, RootFrame.EVENT_MARKING_WIDTH)101 dc.DrawRectangle(offset_px, offset_py, width_px, width_py)
371 static u32 compute_wc(u32 width_px, u8 size_constr_p, u8 size_constr_b) in compute_wc() argument374 return (((width_px / size_constr_p) * size_constr_b) & 0xffff); in compute_wc()