Clipping support for draw2DRectangleOutline?

Discuss about anything related to the Irrlicht Engine, or read announcements about any significant features or usage changes.
Post Reply
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Clipping support for draw2DRectangleOutline?

Post by serengeor »

Well I was doing some stuff with GUI and I noticed that function 'irr::video::IVideoDriver::draw2DRectangleOutline' does not take clipping argument.
API_DOC wrote:virtual void draw2DRectangleOutline (const core::recti &pos, SColor color=SColor(255, 255, 255, 255))=0
Draws the outline of a 2D rectangle.
Is there any specific reason why it's not there?
Working on game: Marrbles (Currently stopped).
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: Clipping support for draw2DRectangleOutline?

Post by serengeor »

really?? no one has any idea why this method has no clipping?
Working on game: Marrbles (Currently stopped).
aanderse
Posts: 155
Joined: Sun Aug 10, 2008 2:02 pm
Location: Canada

Re: Clipping support for draw2DRectangleOutline?

Post by aanderse »

because you haven't coded it yet?
thats my best guess
CuteAlien
Admin
Posts: 9682
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: Clipping support for draw2DRectangleOutline?

Post by CuteAlien »

Yeah, no-one done it... don't think there is any reason beside that.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Re: Clipping support for draw2DRectangleOutline?

Post by hybrid »

IIRC, this method was only intended for internal use in the Irrlicht GUI elements in the very early days. And probably it was not adjusted when it was made publicly available.
serengeor
Posts: 1712
Joined: Tue Jan 13, 2009 7:34 pm
Location: Lithuania

Re: Clipping support for draw2DRectangleOutline?

Post by serengeor »

I see, thanks.
Working on game: Marrbles (Currently stopped).
Post Reply