Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
drawimage
- Page 1
Re: Drawimage in for-loop prints the last image only
Programming
Software Development
5 Years Ago
by hatem.ib
…}; p.PrintPage += delegate (object sender1, PrintPageEventArgs e1) { e1.Graphics.
DrawImage
(pbx[1].Image, 121, 0); e1.Graphics.DrawString((1).ToString…}; p.PrintPage += delegate (object sender1, PrintPageEventArgs e1) { e1.Graphics.
DrawImage
(pbx[2].Image, 212, 0); e1.Graphics.DrawString((1).ToString…
drawimage clipping trouble
Programming
Software Development
14 Years Ago
by rubiksnut
I am using the function [CODE]
DrawImage
(Image, Point[], Rectangle, GraphicsUnit, ImageAttributes)[/CODE] in c#; however, I …[0].tilearray[1, j, i].tilex + 1) * 32, 32); g.
DrawImage
(img, point, rectangle, GraphicsUnit.Pixel, attribs); [/CODE] where the point…
DrawImage in front of Object
Programming
Software Development
14 Years Ago
by Dorayaki
… move when they roll the dice.. so I should use
DrawImage
and Because I want to make the background Transparent as… the image [CODE] Dim g As Graphics = Me.CreateGraphics g.
DrawImage
(bitmap(0), 10, 10)[/CODE] but I'm confuse... why…
DrawImage on jpanel, jlabel from actionperformed
Programming
Software Development
11 Years Ago
by easyscript
… here"); super.paintComponent(p); Graphics2D g2 = (Graphics2D) p; p.
drawImage
(img, 0, 0, w, h, this); } } Now when i click…
Drawimage in for-loop prints the last image only
Programming
Software Development
5 Years Ago
by hatem.ib
…; h++) { p.PrintPage += delegate (object sender1, PrintPageEventArgs e1) { e1.Graphics.
DrawImage
(pbx[h].Image, xx, yy); e1.Graphics.DrawString((h + 1…
Using Graphics.DrawImage() on an indexed image
Programming
Software Development
14 Years Ago
by devsaffa
… this I'm creating a blank Bitmap and using Graphics.
DrawImage
() to 'populate'. My problem is that the resulting image is…); image.Palette = plainImage.Palette; Graphics g = Graphics.FromImage(img); g.
DrawImage
(image, img.Width, img.Height); [/code] (I commented out the…
Re: Using Graphics.DrawImage() on an indexed image
Programming
Software Development
14 Years Ago
by devsaffa
… would be. Firstly, my understanding of the way FromImage() and
DrawImage
() works was wrong: Graphics.FromImage() sets up the 'canvas' to… draw on, and
DrawImage
() draws a supplied image to that canvas, whereas I thought…
HTML5 canvas drawImage() error
Digital Media
UI / UX Design
13 Years Ago
by abhijitkane
… width and height of the canvas, I'm calling the
drawImage
() method on the canvas context. Here is the javascript code…").height(ah); ctx = canvas.getContext('2d'); alert(aw); ctx.
drawImage
(img1, 0, 0, aw, ah); [/CODE] Even though the dimensions…
Re: Using Graphics.DrawImage() on an indexed image
Programming
Software Development
14 Years Ago
by devsaffa
… graphics object (including the 'picture' itself), and the subsequent [b]
DrawImage
()[/b] call writes that context to the supplied 'canvas' (the…
Re: HTML5 canvas drawImage() error
Digital Media
UI / UX Design
13 Years Ago
by collapsar
hello, have a look at [url]http://stackoverflow.com/questions/3185631/strange-html5-canvas-
drawimage
-behaviour[/url] for a solution. best regards, carsten
Re: Graphics.drawImage() non-transparent image transparently
Programming
Software Development
14 Years Ago
by sciwizeh
…=java] BufferedImage im = new BufferedImage(b,b,TYPE_INT_ARGB); im.getGraphics().
drawImage
( this, 0, 0, b,b,0,0,this.getWidth(),this…(),c.getBlue(),alpha); im.setRGB( xx, yy, c.getRGB() ); } } g.
drawImage
(im,x+5,y+5,null);[/CODE] ::NOTE b is…
Re: how drawimage or set background img to column header in datagridview
Programming
Software Development
15 Years Ago
by Renukavani
….FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0))); e.Graphics.
DrawImage
(Properties.Resources.img1, e.CellBounds); e.Graphics.DrawString(dataGridView1.Columns…
Code Working, Need a Way to Optimize it!
Programming
Software Development
12 Years Ago
by Catalyst.X
…4), "Binoculars") = 0 Then Draw.
DrawImage
(image:=binoculars, rect:=rect) End If End If…4), "Binoculars") = 0 Then Draw.
DrawImage
(image:=binoculars, rect:=rect) End If End If…
C# Cascade .NET 1.1
Programming
Software Development
13 Years Ago
by JMC31337
…new SolidBrush(Color.Black),275,120,25,25); g.
DrawImage
(srcBitmap, 275, y[17], sectionx[17], GraphicsUnit.…new SolidBrush(Color.Black),713,86,25,25); g.
DrawImage
(srcBitmap, 713, y[58], sectionx[58], GraphicsUnit.Pixel….FillRectangle(new SolidBrush(Color.Black),700,200,25,25); g.
DrawImage
(srcBitmap, 700, y[76], sectionx[76], GraphicsUnit.Pixel);…
Menu and game not working properly. Please help
Programming
Software Development
13 Years Ago
by sirlink99
…repaint (); } else { menu = getImage (getDocumentBase (), "menub.gif"); g.
drawImage
(menu, 240, 530, this); } if (life == 0) { } } if (total >…
Re: Code Working, Need a Way to Optimize it!
Programming
Software Development
12 Years Ago
by Catalyst.X
…), "Jackhammer") = 0 Then Draw.
DrawImage
(image:=jackhammer, rect:=rect) End If If System…4), "Binoculars") = 0 Then Draw.
DrawImage
(image:=binoculars, rect:=rect) End If End If…
Collision Detection
Programming
Software Development
13 Years Ago
by javanoob101
…Draws all the pictures if (instruction == 1) { g.
drawImage
(credit, 0, 0, 750, 500, this); } if…} //Draws the bullet if (triMove == true) { g.
drawImage
(bullet, x1, y1, 40, 10, this); } }…
I just found this code for PAC MAN...what does this mean???
Programming
Software Development
19 Years Ago
by Fasola
…(); DrawScore(); DoAnim(); if (ingame) PlayGame(); else PlayDemo(); g.
drawImage
(ii, 0, 0, this); } public void DoAnim() { … void DrawPacManUp() { switch(pacmananimpos) { case 1: goff.
drawImage
(pacman2up,pacmanx+1,pacmany+1,this); break; case 2:…
Re: Collision Detection
Programming
Software Development
13 Years Ago
by javanoob101
…{ //Draws all the pictures if (instruction == 1) { g.
drawImage
(credit, 0, 0, 800, 700, this); } if (instruction…this); //Draws the bullet if (triMove == true) { g.
drawImage
(bullet, x1, y1, 40, 10, this); } }…
Help! JApplet -> JFrames
Programming
Software Development
15 Years Ago
by anbuhikaru
…{ } public void paintComponent(Graphics g) { super.paintComponent(g); g.
drawImage
(monopolyboard,0,0, this); //player 1 - draw character if (p1char…ypos2,this); } else if (p2char.equals("pika")) { g.
drawImage
(pikasprite,xpos2,ypos2,this); } repaint( ); } } class RightPanel extends…
Re: Images Dissapear.
Programming
Software Development
12 Years Ago
by sirlink99
…this is true [CODE] if (p.idol2){ g.
drawImage
(idol, 275,485,100,100,this); } [/CODE… void paintComponent (Graphics g){ super.paintComponent(g); g.
drawImage
(background, 0, 0, getWidth(), getHeight(), this); g… 10, 702, this); } if (!next.isRunning()){ g.
drawImage
(arrow, p.handX, p.handY, 50, 50, this);…
pacman code
Programming
Software Development
11 Years Ago
by tarareddy
…(Graphics2D g2d) { switch (pacmananimpos) { case 1: g2d.
drawImage
(pacman2down, pacmanx + 1, pacmany + 1, this); break;…(Graphics2D g2d) { switch (pacmananimpos) { case 1: g2d.
drawImage
(pacman2right, pacmanx + 1, pacmany + 1, this); break;…
Trying to find a bug in my JS game.
Programming
Web Development
7 Years Ago
by Goldfinch
… imageObj = new Image(); imageObj.onload = function() { context.
drawImage
(imageObj, x, y); }; imageObj.src = 'http://www.frontandcover… imageObj = new Image(); imageObj.onload = function() { context.
drawImage
(imageObj, x, y); }; imageObj.src = 'http://www.…
Re: Bullet Animation With Keys
Programming
Software Development
13 Years Ago
by javanoob101
…; repaint(); }*/ if (key == KeyEvent.VK_UP) { //backg.
drawImage
(img, 0, 0, 1280, 960, this); dy = … repaint (); } else if (key == KeyEvent.VK_DOWN) { //backg.
drawImage
(img, 0, 0, 1280, 960, this); dy = 10; …
Re: Collision Detection
Programming
Software Development
13 Years Ago
by Ezzaral
… // in contains() Image image; public void draw(Graphics g){ g.
drawImage
(image,x,y,width,height,null); } public boolean contains(int…
Re: Collision Detection
Programming
Software Development
13 Years Ago
by javanoob101
…;]//What is THIS??[/COLOR] public void draw(Graphics g){ g.
drawImage
(image,x,y,width,height,null);[COLOR="red"…
KeyListener to JFrame with Graphics
Programming
Software Development
10 Years Ago
by rubeea.jaffari
…)g; super.paintComponent(g); g2.
drawImage
(bird,-10,birdy,null); g2.
drawImage
(wall1,x,30,null); g2.
drawImage
(wall2,x+120,30,null…+840,30,null); g2.
drawImage
(wall2,x,450,null); g2.
drawImage
(wall3,x+120,570,null); g2.
drawImage
(wall2,x+240,450,null…
Program Working, Need to draw this map in a scrollable window?
Programming
Software Development
12 Years Ago
by Catalyst.X
…Context, "Jackhammer") = 0 Then Draw.
DrawImage
(image:=jackhammer, rect:=rect) ElseIf System.String.Compare(…Context, "Binoculars") = 0 Then Draw.
DrawImage
(image:=binoculars, rect:=rect) ElseIf System.String.Compare(…
menu button doesn't work
Programming
Software Development
13 Years Ago
by sirlink99
…cont = getImage (getDocumentBase (), "contb2.gif"); g.
drawImage
(cont, 360, 550, this); } else { cont =…; } } else if (key == KeyEvent.VK_UP) { //backg.
drawImage
(img, 0, 0, 1280, 960, this); if (p …
Re: Null Pointer Exception
Programming
Software Development
13 Years Ago
by sirlink99
…key = e.getKeyCode (); if (key == KeyEvent.VK_RIGHT) { //backg.
drawImage
(background, 0, 0, 1280, 960, this); dx = 2; … x + dx; } else if (key == KeyEvent.VK_LEFT) { //backg.
drawImage
(img, 0, 0, 1280, 960, this); dx = -2; dy…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC