## Visual C++

Moderators: Lundin
Number of threads: 379
Number of posts: 695

This Forum Only

Pixel Posted by krishnakumartg on 31 Dec 2008 at 6:42 AM

Hi all,

I have a doubt regarding window graphics painting.
As we already know we can draw a rectangle in window.
Ok...
Suppose I am drawing a rectangle with values ( 0, 0, 100, 100 ).

Now my question is,
can I draw a rectangle with values (0.5, 0.75, 100.1, 100.4) or something like that.

Why I am asking because, according to my understanding pixel is the smallest possible drawing resolution.

If it is possible, could you please help to implement that?

Regards,
Krishnakumar
Re: Pixel Posted by AsmGuru62 on 1 Jan 2009 at 5:15 AM
:
: Hi all,
:
: I have a doubt regarding window graphics painting.
: As we already know we can draw a rectangle in window.
: Ok...
: Suppose I am drawing a rectangle with values ( 0, 0, 100, 100 ).
:
: Now my question is,
: can I draw a rectangle with values (0.5, 0.75, 100.1, 100.4) or
: something like that.
:
: Why I am asking because, according to my understanding pixel is the
: smallest possible drawing resolution.
:
: If it is possible, could you please help to implement that?
:
: Regards,
: Krishnakumar
:
Not possible.
Re: Pixel Posted by krishnakumartg on 1 Jan 2009 at 5:33 AM
Thanks for the information.

Regards,
Krishnakumar

: :
: : Hi all,
: :
: : I have a doubt regarding window graphics painting.
: : As we already know we can draw a rectangle in window.
: : Ok...
: : Suppose I am drawing a rectangle with values ( 0, 0, 100, 100 ).
: :
: : Now my question is,
: : can I draw a rectangle with values (0.5, 0.75, 100.1, 100.4) or
: : something like that.
: :
: : Why I am asking because, according to my understanding pixel is the
: : smallest possible drawing resolution.
: :
: : If it is possible, could you please help to implement that?
: :
: : Regards,
: : Krishnakumar
: :
: Not possible.

## Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.