Category: Images and Rendering
SetDrawOffset(x As Integer, y As Integer)
Void
Sets the translation applied to subsequent primitives, images, sprites, buffers, and text. Local coordinates are rotated first and then translated by this offset.
The offset does not move the axis-aligned clip rectangle. Use SetClipRegion with target coordinates when clipping is required.
SetDrawOffset 320, 240
DrawImage image, 0, 0
SetDrawOffset 0, 0