What is the datatype or resolution of the Channel.Volume property?
Didn't see it in the documentation and it seems somewhat grainy. Its
values are between 0 and 1, which is fine, but from the sound levels
produced by small amplitude adjustments it seems it may be a byte datatype.
While this sou
This is a great feature, but as a formatting Nazi I think a couple of
things should be added to the "to-do" list once everything important has
been taken care of. ;)
If you select a range of code and right-click it to choose "Make code
pretty" it should only modify the selected code, not the en
Le 19 juillet 2011 16:10, Benoît Minisini
a écrit :
>> Le 19 juillet 2011 15:40, Benoît Minisini
>>
>> a écrit :
>> >> Benoit,
>> >>
>> >> Paint.scale work good if there is not text ..; but if there is ...
>> >> then text font size is increased by the scale too
>> >
>> > This is normal. This it t
> On Tue, 2011-07-19 at 15:40 +0200, Benoît Minisini wrote:
> > > Benoit,
> > >
> > > Paint.scale work good if there is not text ..; but if there is ...
> > > then text font size is increased by the scale too
> >
> > This is normal. This it the goal of that matrix: everything is scaled. I
> > add
On Tue, 2011-07-19 at 15:40 +0200, Benoît Minisini wrote:
> > Benoit,
> >
> > Paint.scale work good if there is not text ..; but if there is ...
> > then text font size is increased by the scale too
> >
>
> This is normal. This it the goal of that matrix: everything is scaled. I
> added
> a re
Sorry for the engligh...
>
> Don't suppose that Paint.Width or Paint.Height are points. But you can be
> sure that the number of units of Paint.Width equals Printer.PaperWidth in
> millimeters (provided that FullPage is set of course).
>
> > Then M.Cs say : what about printer natural margins ? H
> Le 19 juillet 2011 15:40, Benoît Minisini
>
> a écrit :
> >> Benoit,
> >>
> >> Paint.scale work good if there is not text ..; but if there is ...
> >> then text font size is increased by the scale too
> >
> > This is normal. This it the goal of that matrix: everything is scaled. I
> > added a
Le 19 juillet 2011 15:40, Benoît Minisini
a écrit :
>> Benoit,
>>
>> Paint.scale work good if there is not text ..; but if there is ...
>> then text font size is increased by the scale too
>>
>
> This is normal. This it the goal of that matrix: everything is scaled. I added
> a remark about that o
> Benoit,
>
> Paint.scale work good if there is not text ..; but if there is ...
> then text font size is increased by the scale too
>
This is normal. This it the goal of that matrix: everything is scaled. I added
a remark about that on the "How to print" wiki page.
And your SC() function is i
> Please don't forget to publish your working solution. We've spent 3
> days with Fabian in private investigations with the printing and at
> the and I have a nearly working solution for the printing. The
> emphasis is on the word NEARLY. There are still problems with some
> pixel constraints.
> Pr
Please don't forget to publish your working solution. We've spent 3
days with Fabian in private investigations with the printing and at
the and I have a nearly working solution for the printing. The
emphasis is on the word NEARLY. There are still problems with some
pixel constraints.
Printing is ev
On Tue, 2011-07-19 at 15:13 +0200, Benoît Minisini wrote:
> > > >
> > > > 'Set scale
> > > > wFactor = prtPrinter.PaperWidth / Paint.Width
> > > > hFactor = prtPrinter.PaperHeight / Paint.Height
> > > > Paint.Scale(wFactor, hFactor)
> > > >
>
Ok, i took this example from this page
h
>
> Is it possible to add properties such LeftMargin, RightMargin,
> TopMargin, BottomMargin?
>
I'm afraid not. But you should not use them, because they may be wrong, and
are often not the same according to the border.
What you should do is printing with FullPage set to TRUE, and let the user
> > >
> > > 'Set scale
> > > wFactor = prtPrinter.PaperWidth / Paint.Width
> > > hFactor = prtPrinter.PaperHeight / Paint.Height
> > > Paint.Scale(wFactor, hFactor)
> > >
I'm stupid, the scale factors must be inverted!
wFactor = Paint.Width / prtPrinter.PaperWidth
hF
On Tue, 2011-07-19 at 14:43 +0200, Benoît Minisini wrote:
> > i want to print a rectangle on a page.
> >
> > i have this code:
> >
> >
> > ' Gambas class file
> >
> > Private Const PAPER_FACTOR As Float = 7.55
> >
> > Public Sub btnPrint_Click()
> >
> > If prtPrinter.Configu
Benoit,
Paint.scale work good if there is not text ..; but if there is ...
then text font size is increased by the scale too
the only way i've found is in the joined archive
Le 19 juillet 2011 14:43, Benoît Minisini
a écrit :
>> i want to print a rectangle on a page.
>>
>> i have this code:
>
> i want to print a rectangle on a page.
>
> i have this code:
>
>
> ' Gambas class file
>
> Private Const PAPER_FACTOR As Float = 7.55
>
> Public Sub btnPrint_Click()
>
> If prtPrinter.Configure() Then Return
>
> Me.Enabled = False
> Inc Application.Busy
> prtPrinter
i want to print a rectangle on a page.
i have this code:
' Gambas class file
Private Const PAPER_FACTOR As Float = 7.55
Public Sub btnPrint_Click()
If prtPrinter.Configure() Then Return
Me.Enabled = False
Inc Application.Busy
prtPrinter.Print
Dec Application.Busy
18 matches
Mail list logo