harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Khaschansky" <oleg.v.khaschan...@gmail.com>
Subject Re: [classlib][awt] clipping area
Date Tue, 12 Dec 2006 14:53:49 GMT
What exactly do you mean by "fitting a figure"? Could you, please,
post a code which illustrates this? Are you speaking about linux,
win32 or both?

On 12/12/06, Shipilov, Alexander D <alexander.d.shipilov@intel.com> wrote:
> Hi,
>  Spec: method Graphics.setClip(int x, int y, int width, int height)
>
>  "Sets the current clip to the rectangle specified by the given
> coordinates. This method sets the user clip, which is independent of the
> clipping associated with device bounds and window visibility. Rendering
> operations have no effect outside of the clipping area.
>
> Parameters:
> x - the x coordinate of the new clip rectangle.
> y - the y coordinate of the new clip rectangle.
> width - the width of the new clip rectangle.
> height - the height of the new clip rectangle.
> "
>  If we have a width, for example, 5, how wide figure we can fit here?
> RI implementation allows fitting only (width-1) figure, but Harmony
> allows fitting figure for all width.
> Should clip area limit inclusive or exclusive?
>
> Thanks,
> Alexander Shipilov
>

Mime
View raw message