To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.instOpen lugnet.inst in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Instructions / 344
343  |  345
Subject: 
Re: Preview of multi-level callouts complete with pointers
Newsgroups: 
lugnet.cad.dev, lugnet.inst
Date: 
Tue, 22 Apr 2003 12:17:48 GMT
Viewed: 
1355 times
  
In lugnet.cad.dev, Kevin Clague writes:
In lugnet.cad.dev, Miguel Agullo writes:
Hi Kevin,

You've done it again! This is a HUGE improvement as it allows a much needed
"step hierarchy", extremely useful for generating instructions - your step 0
is actually two steps. This is really great.

I am probably being too inquisitive too early, but how are the coordinates
for the callout placements and pointers resolved? Are they tied to a
determined resolution of the final output? Does Lpub change them
automatically if the output resolutions is changed?

The callouts are placed relative to outside edges or corners of the step image:

Corners:
TOP_LEFT
TOP_RIGHT
BOTTOM_LEFT
BOTTOM_RIGHT

Edges plus justification to the perpendicular edges

TOP (LEFT, CENTER or RIGHT)
BOTTOM (LEFT, CENTER or RIGHT)
RIGHT (TOP, CENTER, BOTTOM)
LEFT (TOP, CENTER, BOTTOM)

This gives you a total of 16 locations, plus you can offset from there by
providing an x and y offset (in pixels).

TOP_LEFT    | TOP/LEFT         TOP/CENTER        TOP/RIGHT | TOP_RIGHT
-------------------------------------------------------------------------
LEFT/TOP    |                                              | RIGHT/TOP
LEFT/CENTER |                                              | RIGHT/CENTER
LEFT/BOTTOM |                                              | RIGHT/BOTTOM
-------------------------------------------------------------------------
BOTTOM_LEFT | BOTTOM/LEFT    BOTTOM/CENTER    BOTTOM/RIGHT | BOTTOM_RIGHT

Well I guess the above "ascii draw" diagram didn't work too well with
proportional fonts.  Oh, well.


You also can place the Part List Image relative to the step image using the
same mechanism.

Finally you can place the step number relative to either the PLI or the step
image using the above mechanism.

The pointers from callouts into the step image are described relative to the
side of the callout closest to the step image, and pixel offsets into the step
image.

Per Jennifer Clark's recommendation in private, I'm going to convert the
pointer units from pixels to scaling factors from 0 to 1, where 0,0 is the
upper left corner of an image, and 1,1 is the lower right corner.  This way
it is resolution independant.

I'm going to try to revise all the uses of pixels as units to something
resolution independent.

Kevin



Any chance of a WYSIWYG interface;-)?

There are always possibilities :^)

Excellent stuff!

Thanks!

Kevin



Message is in Reply To:
  Re: Preview of multi-level callouts complete with pointers
 
(...) The callouts are placed relative to outside edges or corners of the step image: Corners: TOP_LEFT TOP_RIGHT BOTTOM_LEFT BOTTOM_RIGHT Edges plus justification to the perpendicular edges TOP (LEFT, CENTER or RIGHT) BOTTOM (LEFT, CENTER or RIGHT) (...) (22 years ago, 21-Apr-03, to lugnet.cad.dev, lugnet.inst)

11 Messages in This Thread:





Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR