On 09/03/2014 02:33 PM, Jussi Lahtinen wrote:
>> You asked why am I using 10 drawing areas, oddly enough the answer is to
>> simplify things from a layout standpoint...
>
> Just figure out how to draw one card and make multiple copies of it to same
> one big drawing area..?
>
>
Since each drawing area is the same size, the same drawing commands, 
right down to the coordinates, are used to draw on each one, only a 
portion of the contents of each small DrawingArea changes (in this case 
its a QR Code). Everything else remains the same. The drawing portion of 
the program does not have to be concerned with placing an item on a page 
(one large DrawingArea), and it doesn't care where the DrawingArea it is 
manipulating is going to be placed, another piece of code is concerned 
with that functionality.
All well and good, until we get to printing...
>> Now to print the darn things.
>>
> Yeah... to print the things you need to give the same drawing commands to
> the Printer object. See how above would make things simple...
> Or you need to give picture of the wanted result for the Printer object.
> Not sure what is reasonable way to do this.
>
>

  I was thinking of taking the panel containing the drawing areas, 
turning it into one big bitmap, and then spooling that file off to the 
printer. Has anyone out there done this kind of thing?

> Jussi
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>


-- 
Kindest Regards
Stephen A. Bungay, Prop.
Smarts On Site Information Systems


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to