×

Discussion Board

Results 1 to 1 of 1
  1. #1
    Regular Contributor
    Join Date
    Mar 2008
    Posts
    226

    Plot method not drawing smooth circles

    Hi,
    I am using the CWindowGc::Plot() method to draw the two circle, one outer(gray) and the other inner(white). But the circles are not dosplayed properly(border). Image attached. Code snippet is also given below. Whst th solution for this? Pls help

    CWindowGc& gc = SystemGc();
    gc.SetBrushStyle(CGraphicsContext::ENullBrush);
    gc.SetPenStyle(CGraphicsContext::ESolidPen);

    TSize penSize(13, 13);
    gc.SetPenSize(penSize);
    gc.SetPenColor(KRgbDarkGray);
    TPoint point(aRect.iTl.iX+10, aRect.iTl.iY+10);

    gc.Plot(point);
    penSize.SetSize(9, 9);
    gc.SetPenSize(penSize);
    gc.SetPenColor(KRgbWhite);
    gc.Plot(point);


    Thanks,
    Jinu
    Attached Images Attached Images

Similar Threads

  1. Reading .JPG file and drawing it on screen fails
    By srigans1 in forum Symbian Media (Closed)
    Replies: 3
    Last Post: 2006-05-10, 17:18
  2. drawing bitmap or line, out of Draw Method
    By yakoc in forum Symbian
    Replies: 2
    Last Post: 2005-09-19, 18:12
  3. Replies: 0
    Last Post: 2004-03-03, 10:34
  4. Really simple drawing problem
    By NavaronSoftware in forum Mobile Java Media (Graphics & Sounds)
    Replies: 1
    Last Post: 2004-01-16, 09:59
  5. Methods, that take lots of space
    By doctordwarf in forum Mobile Java General
    Replies: 4
    Last Post: 2003-07-30, 11:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×