Hi,
IIRC I used to be able to draw a graphic in NXC and using the option DRAW_OPT_INVERT the output on the nxt screen would be the ric image but inverted. Now I try it and the picture does not become inverted?
Is there another way to do this or am I wrong?
Does anyone else have this issue?
Did this use to be possible?
nxtboy III
[NXC] DRAW_OPT_INVERT?
[NXC] DRAW_OPT_INVERT?
Thanks, and have a nice day,
nxtboy III
programnxt.com
nxtboy III
programnxt.com
Re: [NXC] DRAW_OPT_INVERT?
I don't think you could ever do that. Put it on the wishlist, maybe?
You could always store an inverted copy of the .ric.
You could always store an inverted copy of the .ric.
Commit to LEGO Mindstorms Robotics Stack Exchange:
bit.ly/MindstormsSE
Commit to LEGO Stack Exchange: bit.ly/Area51LEGOcommit
-
- Posts: 358
- Joined: 01 Oct 2010, 06:37
- Location: Denmark
- Contact:
Re: [NXC] DRAW_OPT_INVERT?
So if you want to do this, you should use GraphicOutEx() and set one of the parameters to DRAW_OPT_INVERT. Then in the COPY_BITS opcode, set CopyOptions to use that parameter. This way you can turn inversion on and off as needed.http://bricxcc.sourceforge.net/nbc/nxcdoc/nxcapi/group___display_draw_option_constants.html wrote:Note that when drawing a RIC file, the initial 'DrawingOptions' parameter supplied in the drawing instruction controls screen clearing, but nothing else. The 'CopyOptions' parameter from each instruction in the RIC file then controls graphic operations, but the screen-clearing bits are ignored.
My blog: http://spillerrec.dk/category/lego/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
RICcreator, an alternative to nxtRICeditV2: http://riccreator.sourceforge.net/
Who is online
Users browsing this forum: Semrush [Bot] and 6 guests