note 104321 added to function.harupage-lineto

From: Date: Thu, 09 Jun 2011 06:38:53 +0000
Subject: note 104321 added to function.harupage-lineto
Groups: php.notes 
Request: Send a blank email to php-notes+get-180346@lists.php.net to get a copy of this message
Why i can't find any sample for haru library. Here i show a simple example for this Line to. <?php $doc=new HaruDoc; $page=$doc->addPage(); $page->setSize(HaruPage::SIZE_A4, HaruPage::PORTRAIT); $page->setRGBStroke(0,0,0); // Set color to black $page->setRGBFill(1,1,1); // Set fill to 100% for each rgb color $page->moveTo(60, 100); // Move cursor to x 60, y 100 $page->lineTo(60,500); // Create line from x 60, y100 to x60, y500 $page->fillStroke(); //Output header('Content-Type: application/pdf'); $doc->output(); ?> ---- Server IP: 69.147.83.197 Probable Submitter: 180.253.13.102 ---- Manual Page -- http://www.php.net/manual/en/function.harupage-lineto.php Edit -- https://master.php.net/note/edit/104321 Del: integrated -- https://master.php.net/note/delete/104321/integrated Del: useless -- https://master.php.net/note/delete/104321/useless Del: bad code -- https://master.php.net/note/delete/104321/bad+code Del: spam -- https://master.php.net/note/delete/104321/spam Del: non-english -- https://master.php.net/note/delete/104321/non-english Del: in docs -- https://master.php.net/note/delete/104321/in+docs Del: other reasons-- https://master.php.net/note/delete/104321 Reject -- https://master.php.net/note/reject/104321 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180346) next »