Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8262325
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T03:43:23+00:00 2026-06-08T03:43:23+00:00

Some month ago I created a PDF Creator using FPDF (PHP Class). Now I

  • 0

Some month ago I created a PDF Creator using FPDF (PHP Class). Now I was using NSData to fetch the PDF data from a URL into a UIWebView.
Because I’m implementing offline functionalities into my app I want to convert the FPDF PHP Script into cocoa touch.

The unit used in my PHP script is mm. Now I want to know how I can convert mm to the unit used in CGRectMake() (I think it is pixels, am I right?).

Thanks for help, with kind regards, Julian

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T03:43:25+00:00Added an answer on June 8, 2026 at 3:43 am

    Well, simple math will get you the answer. Look up the PPI of a non-retina display, divide that by 25.4 (mm per inch) and you have your answer in pixels. However, non-retina is 1 pixel per point, so your answer in points will be the same (can be used on retina and non-retina both, retina is simply 4 pixels per point but that is taken care of for you). I’m almost sure this will be different between iPhone and iPad, so you will need to account for both.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have some code that was working one month ago... now, when I check
Some months ago, a colleague of mine installed ODAC 11.106.21 in a server using
Currently having some problems- now = datetime.datetime.now() month = now.strftime(%B) site = wikipedia.getSite('en', 'wikiquote')
I have some data, let's say the number of sells of the month. I
A couple of months ago I created a form in html/php that would be
I have some code that I would swear was working a month ago. However,
Ok this (truncated query) runs fine. Got some expert advice a month ago to
few month ago i write something to get the latitude or longitude from google
I've started programming for iPhones about a month ago now, and have found the
An Android Application that I created for a client some months ago has the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.