sivarajankumar / alivepdf

Automatically exported from code.google.com/p/alivepdf
0 stars 0 forks source link

addImage width & height #59

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Something is wrong with the width and height parameters of the addImage 
method, I think there are in wrong position and the height is going before 
width.

What version of the product are you using? On what operating system?
1.4.3

Saludos

Guillermo Gombau

Original issue reported on code.google.com by guillerm...@gmail.com on 2 Jul 2008 at 1:26

GoogleCodeExporter commented 8 years ago
Hi Guillermo,

Can you tell me more ?

Can you show me some code and the result you have and what you expected ?

best,

Thibault

Original comment by thibault.imbert on 2 Jul 2008 at 8:23

GoogleCodeExporter commented 8 years ago
i'm using 0.1.4.4
addImage method probrem occurred at new PDF(Orientation.LANDSCAPE)

(sample code)
var sprite:Sprite = new Sprite();
sprite.graphics.beginFill(0xffcc00);
sprite.graphics.drawRect(0, 0, 180, 120);
sprite.graphics.endFill();
//myPDF = new PDF(Orientation.LANDSCAPE, Unit.MM, Size.A4); <- width & height 
replace
each other
myPDF = new PDF(Orientation.PORTRAIT, Unit.MM, Size.A4);//OK
myPDF.addImage(sprite, 10, 10, 90, 60);

Yuichi Kimura

Original comment by yuichi...@gmail.com on 15 Jul 2008 at 11:59

GoogleCodeExporter commented 8 years ago
Ok, I understand.

Thank you

Original comment by guillerm...@gmail.com on 21 Jul 2008 at 10:23