Results 1 to 2 of 2

Thread: Bitmap size (x, y) question

  1. #1
    Join Date
    Aug 2008
    Location
    Finland
    Posts
    2,851
    Mentioned
    3 Post(s)
    Quoted
    2 Post(s)

    Default Bitmap size (x, y) question

    Is the upper lefthand corner (0, 0) or (1, 1)?
    I have a 2x2 bitmap, should i do it like
    SCAR Code:
    BMP := BitmapFromString(1, 2, '');
      FastSetPixel(BMP, 0, 0, 65536);
      FastSetPixel(BMP, 0, 1, 65536);
      // OR
      FastSetPixel(BMP, 1, 1, 65536);
      FastSetPixel(BMP, 1, 2, 65536);

  2. #2
    Join Date
    Dec 2008
    Posts
    2,813
    Mentioned
    0 Post(s)
    Quoted
    0 Post(s)

    Default

    0, 0

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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