Groups
Groups
Sign in
Groups
Groups
wx-dev
Conversations
About
Send feedback
Help
What coordinate system is used
21 views
Skip to first unread message
Igor Korot
unread,
Sep 23, 2025, 9:49:11 PM (2 days ago)
Sep 23
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wx-dev
Hi, ALL,
In
https://docs.wxwidgets.org/latest/classwx_read_only_d_c.html#a8b959eb99f2f306f9666304c929441e8
(GetTextExtent) it would be nice if it was mentioned whether the pixels,
points or inches is used to retrieve the size is used.
I presume that the size is returned in points.
Thank you.
Maarten Bent
unread,
Sep 24, 2025, 11:05:59 AM (21 hours ago)
Sep 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wx-...@googlegroups.com
All wxDC operations use logical units, which are normally mapped to pixels. See
https://docs.wxwidgets.org/latest/classwx_d_c.html#:~:text=Device%20and%20logical%20units
Maarten
Igor Korot
unread,
Sep 24, 2025, 8:54:38 PM (11 hours ago)
Sep 24
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to wx-...@googlegroups.com
Hi, Maarten,
On Wed, Sep 24, 2025 at 10:05 AM Maarten Bent <
maart...@gmail.com
> wrote:
>
> All wxDC operations use logical units, which are normally mapped to pixels. See
https://docs.wxwidgets.org/latest/classwx_d_c.html#:~:text=Device%20and%20logical%20units
Thx for the response.
Now I need to figure out a simple way to convert the value I receive to
inches/millimeters.
>
> Maarten
>
> On 24-9-2025 03:48, Igor Korot wrote:
>
> Hi, ALL,
>
> In
https://docs.wxwidgets.org/latest/classwx_read_only_d_c.html#a8b959eb99f2f306f9666304c929441e8
> (GetTextExtent) it would be nice if it was mentioned whether the pixels,
> points or inches is used to retrieve the size is used.
>
> I presume that the size is returned in points.
>
> Thank you.
>
>
> --
> You received this message because you are subscribed to the Google Groups "wx-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
wx-dev+un...@googlegroups.com
.
> To view this discussion visit
https://groups.google.com/d/msgid/wx-dev/15fb650e-9305-4ae4-85bf-c78f3b9df6cd%40gmail.com
.
Reply all
Reply to author
Forward
0 new messages