Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 4975 invoked from network); 12 Dec 2006 14:44:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 Dec 2006 14:44:01 -0000 Received: (qmail 21267 invoked by uid 500); 12 Dec 2006 14:44:06 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 21242 invoked by uid 500); 12 Dec 2006 14:44:06 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 21232 invoked by uid 99); 12 Dec 2006 14:44:06 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 06:44:06 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [192.55.52.88] (HELO mga01.intel.com) (192.55.52.88) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Dec 2006 06:43:54 -0800 Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by mga01.intel.com with ESMTP; 12 Dec 2006 06:33:40 -0800 Received: from fmsmsx334.amr.corp.intel.com ([132.233.42.1]) by fmsmga001.fm.intel.com with ESMTP; 12 Dec 2006 06:33:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: i="4.09,525,1157353200"; d="scan'208"; a="176376948:sNHT19635819" Received: from mssmsx411.ccr.corp.intel.com ([10.125.2.10]) by fmsmsx334.amr.corp.intel.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 12 Dec 2006 06:33:33 -0800 x-mimeole: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: [classlib][awt] clipping area Date: Tue, 12 Dec 2006 17:33:29 +0300 Message-ID: <2A786EB15713B544AB79607529273B0432CBD5@mssmsx411> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [classlib][awt] clipping area Thread-Index: Accd+n39OJAruPrERLC6XLCB7PTfTQ== From: "Shipilov, Alexander D" To: X-OriginalArrivalTime: 12 Dec 2006 14:33:33.0592 (UTC) FILETIME=[805C7180:01C71DFA] X-Virus-Checked: Checked by ClamAV on apache.org 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