API ScriptRegionResizing SetAllPoints

Positions the region the same as another region.
 ScriptRegionResizing:SetAllPoints([relativeTo, doResize])
==Arguments==
:;relativeTo: - The reference or name of a region.
::: if omitted, anchors to the parent region if applicable, otherwise to the screen dimensions.
::: If explicitly passed nil, anchors relative to the screen dimensions.
:;doResize:
==Details==
* Only the TOPLEFT and BOTTOMRIGHT points will be set.
==Example==
local f = CreateFrame("Frame")
f:SetAllPoints(UIParent)
is equivalent to:
local f = CreateFrame("Frame")
f:ClearAllPoints() -- unsets any existing points
f:SetPoint("TOPLEFT", UIParent)
f:SetPoint("BOTTOMRIGHT", UIParent)
==Patch changes==