Re: ICU4C Proposal: ParagraphLayout::Line::getWidth

Eric Mader <[email protected]> Tue, 04 Nov 2003 13:44:22 -0800
Newsgroups gmane.comp.lib.icu.general
Message-ID <[email protected]>
I've made the documentation for this method more intersting:

	/**
	 * Get the width of the line. This is a convenience method
	 * which returns the last X position of the last visual run
	 * in the line.
	 *
	 * @return the width of the line.
	 *
	 * @draft ICU 2.8
	 */
	le_int32 getWidth() const;

Regards,
Eric

Eric Mader wrote:

> I'd like to add the following convenience method for clients which need 
> the width of a line so that they can display it centered or right 
> justified:
> 
>     /**
>      * Get the width of the line.
>      *
>      * @return the width of the line.
>      *
>      * @draft ICU 2.8
>      */
>     le_int32 getWidth() const;
> 
> (If anybody has any ideas about how to make the documentation for this 
> method more interesting, I'd like to hear about that too :-)
> 
> deadline for comments: November 5th, 2003.
> 
> Eric Mader
> IBM CCoC - San José
> 5600 Cottle Rd.  M/S 50-2/B11
> San Jose, CA 95193
> 
> 
> 
> 
> _______________________________________________
> icu mailing list
> [email protected]
> http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu
> 
>