Hi,
Can any body help me how to create a Point using Python Graphics?.
If possible Sample code will be great helpful.
Thanks in advacne
PSB
9 2509
Hi,
Can any body help me how to create a Point using Python Graphics?.
If possible Sample code will be great helpful.
Thanks in advacne
PSB
By "Python Graphics", do you mean Tkinter? There are several packages (PIL for example).. Which one are you using?
By "Python Graphics", do you mean Tkinter? There are several packages (PIL for example).. Which one are you using?
I am using Tkinter.But I have to create a Preview Graphics Window to show this.
Is there any sample example available?.
Thanks in advance
PSB
I am using Tkinter.But I have to create a Preview Graphics Window to show this.
Is there any sample example available?.
Thanks in advance
PSB
Tkinter may get you started. It is very limited and there isn't too much support for it. Look in Python > Code (link is in the announcement for Tkinter Xmas graphic for some pretty nifty coding. Here is some old documentation that I used back when I was using Tkinter.
Is it possible to create the basic operations in the Graphic Display
- Rotate the displayed Point/Line
- Zoom (Zoom by Corner,Zoom by Window)
-Pan
-Fit
Thanks in advance
PSB
Is it possible to create the basic operations in the Graphic Display
- Rotate the displayed Point/Line
- Zoom (Zoom by Corner,Zoom by Window)
-Pan
-Fit
Thanks in advance
PSB
I guess that if you had read about it you'd call it a canvas and you would know the answer.
Hi,
Thanks for the reply.
I have gone thru the document.Since Iam beginner for the Graphics development.I am looking for a simple exaple,where we can display the point data on the graphics window.If I have this example,I can add the canvas features to that Graphics windows.
Thanks in advance
PSB
Hi,
Thanks for the reply.
I have gone thru the document.Since Iam beginner for the Graphics development.I am looking for a simple exaple,where we can display the point data on the graphics window.If I have this example,I can add the canvas features to that Graphics windows.
Thanks in advance
PSB
Look at it, it looks like a point could be made from a one pixel long line.
I found a better documentation link: http://www.pythonware.com/library/. You may want to check out Blender if you are planning on 3D graphics: http://www.blender.org/download/python-scripts/
Hi,
Thanks for the reply.
I have gone thru the document.Since Iam beginner for the Graphics development.I am looking for a simple exaple,where we can display the point data on the graphics window.If I have this example,I can add the canvas features to that Graphics windows.
Thanks in advance
PSB
Not sure if you have seen this example.
Hi,
Thanks for the reply.
I have seen this.Ok,No problem.I will customize my requirement by taking this example solution to procedd further.
-PSB
Sign in to post your reply or Sign up for a free account.
Similar topics
by: chantao |
last post by:
Hi
I am a total novice to PHP/MYSQL. Please help
How do I display a graphic file (e.g. archit01.jpg) as a background i
a table of a PHP page if I have a table called gfx and th
gfx_ID=archit0...
|
by: Al Franz |
last post by:
Have a large graphic file to display in an IMG SRC tag. How can you have it
quickly display a dummy small graphic first while it waits for the full
large file size to load in the same place in the...
|
by: David Scemama |
last post by:
Hi,
I'm looking for a way to display semi graphic characters in a multi line
text control or in a rich text control.
I've tried with all the characters of the extended ASCII table (code page...
|
by: hamil |
last post by:
I am trying to print a graphic file (tif) and also use the PrintPreview
control, the PageSetup control, and the Print dialog control. The code
attached is a concatination of two examples taken out...
|
by: Bosconian |
last post by:
I'm looking for a method to plot graphic lines and text for a bracket-like
display with multiple tiers in a browser. I'm familiar with GD for
outputting dynamic graphics, but have never utilized...
|
by: tshad |
last post by:
I have an aspx window that is going to open a window (javascript) and
display a graphic. I want to resize the window to the size of the graphic
before it actually displays - how do I do that?
...
|
by: Hiker123 |
last post by:
I need some help.
I have a small PHP Project
- Accept three strings posted from form in a web page
- One of the strings will be encoded set of X/Y points
defining curves
Decode the string...
|
by: nt5515 |
last post by:
hey Im trying to make a game of pairs (the memory game) i have set up a grid which displays a graphic for the card back. im trying to link the edit menu to choose the graphic to be displayed. i've...
|
by: Tom P. |
last post by:
I am doing quite a bit of custom painting and it means I have to
create a lot of brushes (think one for every file system object in a
directory) per paint. How expensive is this? Should I find a...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
| |