SetDrawOffset
Category: Images and Rendering
Signature
SetDrawOffset(x As Integer, y As Integer)
Returns
Void
Description
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.
Example
SetDrawOffset 320, 240
DrawImage image, 0, 0
SetDrawOffset 0, 0