April 24, 2024, 03:11:27 PM

News:

IonicWind Snippit Manager 2.xx Released!  Install it on a memory stick and take it with you!  With or without IWBasic!


Drawing Rectangles

Started by Brian, November 02, 2020, 07:37:33 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Brian

November 02, 2020, 07:37:33 AM Last Edit: November 05, 2020, 06:14:51 AM by Brian
Just messing with drawing rectangles. I want to use SetMapMode to set my widths in MMs, but as soon as I invoke MM_LOMETRIC, nothing prints to screen. I can set the outline colour of the rect, but the fill colour refuses to work

MM_ANISOTROPIC works, along with MM_TEXT, but MM_LOMETRIC refuses to display anything

Any ideas?

Brian

PS: Best I've got so far . . . re-attached

billhsln

I tried all options and only ANISOTROPIC and TEXT are the only options that actually show the rectangle.

Bill
When all else fails, get a bigger hammer.

Brian

Got a rectangle to appear at last! The window is the correct size, and the grey rectangle is in about the right place. The rectangle should be 99.06mm x 33.87mm, and centred across the window

It's just getting the measurements right, because MM_LOMETRIC appears to measure from the bottom up! Quite confusing for my little brain

Brian