public void Render(Rectangle subsRect, Rectangle frameRect, int xOffsetInPixels) { Rectangle r = posRelativeToFrame ? frameRect : subsRect; int posY = adjustPosY * r.Height / GUIGraphicsContext.Height; MpcSubtitles.Render(r.X, r.Y + posY, r.Width, r.Height, xOffsetInPixels); }