def _setup_xy(self,bounds,xdensity,ydensity,x,y,orientation):
self.debug("<STR_LIT>",bounds,xdensity,ydensity,x,y,orientation)<EOL>x_points,y_points = SheetCoordinateSystem(bounds,xdensity,ydensity).sheetcoordinates_of_matrixidx()<EOL>self.pattern_x, self.pattern_y = self._create_and_rotate_coordinate_arrays(x_points-x,y_points-y,orientation)<EOL>
Produce pattern coordinate matrices from the bounds and
density (or rows and cols), and transforms them according to
x, y, and orientation.