From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 49995 invoked by alias); 23 Oct 2016 22:23:05 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 49982 invoked by uid 89); 23 Oct 2016 22:23:04 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=pictures X-HELO: homiemail-a12.g.dreamhost.com Received: from sub3.mail.dreamhost.com (HELO homiemail-a12.g.dreamhost.com) (69.163.253.7) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 23 Oct 2016 22:22:54 +0000 Received: from homiemail-a12.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTP id D3EF91030062 for ; Sun, 23 Oct 2016 15:22:52 -0700 (PDT) Received: from vereq.eip10.org (cpe-74-75-122-130.maine.res.rr.com [74.75.122.130]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: chaw@eip10.org) by homiemail-a12.g.dreamhost.com (Postfix) with ESMTPSA id B8EFA103005E for ; Sun, 23 Oct 2016 15:22:52 -0700 (PDT) Received: from chaw by vereq.eip10.org with local (Exim 4.84_2) (envelope-from ) id 1byRAJ-0000Gy-Q0 for kawa@sourceware.org; Sun, 23 Oct 2016 18:22:51 -0400 To: kawa Subject: (kawa pictures) procedural interface for point and dimension? From: "Sudarshan S Chawathe" Reply-To: "Sudarshan S Chawathe" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1050.1477261371.1@vereq.eip10.org> Date: Sun, 23 Oct 2016 22:23:00 -0000 Message-ID: <1051.1477261371@vereq.eip10.org> X-IsSubscribed: yes X-SW-Source: 2016-q4/txt/msg00037.txt.bz2 I have a feeling I may have missed or misread something obvious, but I didn't find an answer to: What is the recommended way to create points (and dimensions) procedurally in the (kawa pictures) library? I realize that we can always use the underlying Java Point2D class to create points, but that method seems messy given the overall simplicity provided by the library. A use case would be generating some random points to be connected by lines. By the way, I find the pictures library to be fun. I especially like the SVG output feature. Thanks for adding it (and for kawa)! Regards, -chaw