Wrox Programmer Forums
|
BOOK: Beginning Visual C#
This is the forum to discuss the Wrox book Beginning Visual C#, Revised Edition of Beginning C# for .NET v1.0 by Karli Watson, David Espinosa, Zach Greenvoss, Jacob Hammer Pedersen, Christian Nagel, Jon D. Reid, Matthew Reynolds, Morgan Skinner, Eric White; ISBN: 9780764543821
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Visual C# section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 17th, 2003, 03:40 PM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to RighteousManUP
Default Creating a Point

I'm trying to create a point. The book talks about creating lines and paths. I tried using a line with the start and end point being the same to make a dot. I then tried a GraphicsPath using the same idea. Neither created a point. So how do you create a point?
Jon

 
Old October 18th, 2003, 03:54 PM
Registered User
 
Join Date: Oct 2003
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to RighteousManUP
Default

I used Graphics.FillRectangle(Brushes.Black, xpoint, ypoint, 1,1) and then made a dot in paint and copied a print screen to paint and compared the points. They both occupied one dot on the grid, which I assume is the smallest dot, a pixel, that you can make. To bad there is not a more obvious method to create a single pixel on the screen with GDI+. Or is there?






Similar Threads
Thread Thread Starter Forum Replies Last Post
Is there any point RobReid Flash (all versions) 0 September 26th, 2008 09:07 AM
Can anyone point out my error please.... Jinn SQL Server 2000 1 November 19th, 2006 11:47 PM
Point Function varun Pro VB 6 5 November 18th, 2005 11:15 PM
Decimal Point interrupt Javascript How-To 4 March 16th, 2005 05:53 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.