Esempio n. 1
0
File: wd.c Progetto: LuaDist/cd
void wdCanvasOffsetRegion(cdCanvas* canvas, double x, double y)
{
  int xr, yr;
  assert(canvas);
  if (!_cdCheckCanvas(canvas)) return;

  _wWorld2Canvas(canvas, x, y, xr, yr);
  cdCanvasOffsetRegion(canvas, xr, yr);
}
Esempio n. 2
0
void wdCanvasOffsetRegion(cdCanvas* canvas, double x, double y)
{
  int xr, yr;
  _wWorld2Canvas(canvas, x, y, xr, yr);
  cdCanvasOffsetRegion(canvas, xr, yr);
}