freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ft-devel] How write a shape in real size


From: a_wariat
Subject: [ft-devel] How write a shape in real size
Date: Sat, 01 Feb 2014 13:33:22 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

I found a interesting example
http://www.freetype.org/freetype2/docs/tutorial/example3.cpp
  (in http://www.freetype.org/freetype2/docs/tutorial/step3.html)

How I can change this source to use real dimension/size?
for example how create page 10x12 cm and simple rectangle 3cm, in 80 dpi

How convert x,y of vector data (in example Vec2 k_shape...) to real
unit: mm, points, inch etc.


Anybody can help me to modyfy this example to real size?
-- 
+



reply via email to

[Prev in Thread] Current Thread [Next in Thread]