TWI511028B - Coordinate corresponding method - Google Patents

Coordinate corresponding method Download PDF

Info

Publication number
TWI511028B
TWI511028B TW102121796A TW102121796A TWI511028B TW I511028 B TWI511028 B TW I511028B TW 102121796 A TW102121796 A TW 102121796A TW 102121796 A TW102121796 A TW 102121796A TW I511028 B TWI511028 B TW I511028B
Authority
TW
Taiwan
Prior art keywords
coordinate
range
window
writing
electronic
Prior art date
Application number
TW102121796A
Other languages
Chinese (zh)
Other versions
TW201501023A (en
Inventor
Chun Chieh Lo
Original Assignee
Kye Systems Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Kye Systems Corp filed Critical Kye Systems Corp
Priority to TW102121796A priority Critical patent/TWI511028B/en
Publication of TW201501023A publication Critical patent/TW201501023A/en
Application granted granted Critical
Publication of TWI511028B publication Critical patent/TWI511028B/en

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Description

座標對應方法Coordinate method

本發明係關於一種座標對應方法,特別是一種以電子書寫單元等比例對應電子裝置的座標對應方法。The present invention relates to a coordinate correspondence method, and more particularly to a coordinate correspondence method for an electronic device in proportion to an electronic writing unit.

目前手寫觸控的技術普遍應用於行動電子裝置,而一般個人電腦亦可連接書寫繪圖板進行手寫觸控的操作。市面上更推出了可於螢幕上進行手寫觸控的裝置,更加普及了手寫觸控的應用與操作。例如平板電腦、智慧型手機、書寫繪圖板及觸控式螢幕,都是使用者最常利用手寫觸控的電子裝置。At present, the technology of handwriting and touch is generally applied to mobile electronic devices, and a general personal computer can also be connected to a writing tablet for handwriting and touch operations. On the market, a device for handwriting touch on the screen has been introduced, and the application and operation of handwriting touch have become more popular. For example, tablets, smart phones, writing tablets and touch screens are the most commonly used electronic devices for users to use handwriting.

而手寫觸控最常用於電子裝置上文字的輸入,及於電子裝置進行繪圖的筆跡紀錄。當進行文字輸入時,會以文字辨識系統進行辨識。而進行繪圖的筆跡記錄時,則是以等比例進行儲存與紀錄。Handwriting touch is most commonly used for inputting text on electronic devices and handwriting records for drawing on electronic devices. When text input is performed, it is recognized by the character recognition system. When the handwriting of the drawing is recorded, it is stored and recorded in equal proportions.

然而,當電子裝置上同時開啟許多應用程式時,手寫觸控往往無法對應到應用程式的大小。而手寫觸控往往是全域性的控制,無法針對特定的應用程式。若有需要簽名的應用程式,往往不能進行對應。However, when many applications are simultaneously turned on on an electronic device, handwriting touch often cannot correspond to the size of the application. Handwritten touch is often a global control that cannot be targeted to a specific application. If there is an application that needs to be signed, it is often impossible to respond.

當應用程式需要等比例進行對應手寫觸控時,應 用程式可能無法得到有效的等比例手寫觸控,造成對應不完全或需自行縮放應用程式的視窗範圍。因此,手寫觸控的對應方法仍有改善的空間。When the application needs to scale the corresponding handwriting touch, it should The application may not be able to get a valid proportional handwriting touch, resulting in a window range that is incomplete or needs to scale the application by itself. Therefore, there is still room for improvement in the corresponding method of handwriting touch.

有鑑於以上的問題,本發明提出一種座標對應方法,藉以當使用電子書寫單元進行手寫觸控時,可等比例的對應到電子裝置的應用程式上,以增加使用的便利性。In view of the above problems, the present invention provides a coordinate correspondence method, so that when an electronic writing unit is used for handwriting touch, it can be proportionally applied to an application of an electronic device to increase the convenience of use.

本發明提供一種座標對應方法,適於連接於電子裝置的電子書寫單元。此座標對應方法包括下列步驟。取得電子裝置上應用程式的視窗範圍及視窗位置。取得電子書寫單元的書寫範圍。接收書寫範圍上對應觸發事件的第一座標。依據視窗範圍、視窗位置、書寫範圍及第一座標,取得第二座標。輸出第二座標。The present invention provides a coordinate correspondence method suitable for being connected to an electronic writing unit of an electronic device. This coordinate correspondence method includes the following steps. Get the window range and window position of the application on the electronic device. Get the writing range of the electronic writing unit. Receiving the first coordinate of the corresponding trigger event on the writing range. According to the window range, the window position, the writing range and the first coordinate, the second coordinate is obtained. The second coordinate is output.

在本發明的一實施例中,前述應用程式係為具有視窗介面之程式。In an embodiment of the invention, the application is a program having a window interface.

在本發明的一實施例中,前述視窗位置係為應用程式於電子裝置之一顯示單元上X軸及Y軸的座標。In an embodiment of the invention, the window position is a coordinate of an application program on the X-axis and the Y-axis of the display unit of one of the electronic devices.

在本發明的一實施例中,前述書寫範圍係為電子書寫單元產生的像素面積。In an embodiment of the invention, the aforementioned writing range is the pixel area produced by the electronic writing unit.

在本發明的一實施例中,前述第一座標係為對應書寫範圍的X軸及Y軸的座標。In an embodiment of the invention, the first coordinate system is a coordinate corresponding to the X-axis and the Y-axis of the writing range.

在本發明的一實施例中,前述觸發事件包括電子 書寫單元上第一座標的位置接受到外來觸控產生的電子訊號。In an embodiment of the invention, the trigger event includes an electronic The position of the first coordinate on the writing unit receives the electronic signal generated by the external touch.

在本發明的一實施例中,前述依據第一座標對應於書寫範圍的位置,以視窗位置為起點對應視窗範圍產生第二座標的步驟包括下列步驟。第一座標除以書寫範圍得到對應座標。對應座標乘以視窗範圍得到轉換座標。以及轉換座標加上視窗位置係為第二座標。In an embodiment of the invention, the step of generating the second coordinate corresponding to the window range based on the position of the first coordinate corresponding to the writing range and the window position as the starting point comprises the following steps. The first standard is divided by the writing range to get the corresponding coordinates. The corresponding coordinates are multiplied by the window range to get the conversion coordinates. And the conversion coordinates plus the window position are the second coordinates.

在本發明的一實施例中,前述輸出第二座標的步驟更包括下列步驟。電子裝置接收第二座標。以及應用程式的視窗範圍對應第二座標的位置產生相對應的動作。In an embodiment of the invention, the step of outputting the second coordinate further comprises the following steps. The electronic device receives the second coordinate. And the window range of the application corresponds to the position of the second coordinate to generate a corresponding action.

本發明所揭露的座標對應方法,係藉由取得電子裝置上應用程式的視窗範圍及視窗位置,並取得電子書寫單元的書寫範圍,以及接收書寫範圍上對應觸發事件的第一座標。接著,依據視窗範圍、視窗位置、書寫範圍及該第一座標,取得第二座標,再輸出第二座標至電子裝置。如此一來,當於電子書寫單元進行手寫觸控的書寫動作或繪圖動作時,可等比例的對應電子裝置的應用程式,以增加使用的便利性。The coordinate corresponding method disclosed in the present invention obtains the window range and the window position of the application on the electronic device, obtains the writing range of the electronic writing unit, and receives the first coordinate corresponding to the trigger event in the writing range. Then, according to the window range, the window position, the writing range and the first coordinate, the second coordinate is obtained, and then the second coordinate is output to the electronic device. In this way, when the electronic writing unit performs the writing operation or the drawing operation of the handwriting touch, the application of the electronic device can be correspondingly proportioned to increase the convenience of use.

以上之關於本發明內容之說明及以下之實施方式之說明係用以示範與解釋本發明之精神與原理,並且提供本發明之專利申請範圍更進一步之解釋。The above description of the present invention and the following description of the embodiments of the present invention are intended to illustrate and explain the spirit and principles of the invention.

1‧‧‧座標對應系統1‧‧‧ coordinate system

10‧‧‧電子裝置10‧‧‧Electronic devices

101‧‧‧應用程式101‧‧‧Application

20‧‧‧電子書寫單元20‧‧‧Electronic writing unit

1011‧‧‧視窗位置1011‧‧‧Window location

1012‧‧‧視窗範圍1012‧‧‧ window range

20‧‧‧電子書寫單元20‧‧‧Electronic writing unit

201‧‧‧書寫範圍201‧‧‧writing range

40‧‧‧電子裝置40‧‧‧Electronic devices

41‧‧‧應用程式41‧‧‧Application

411‧‧‧視窗範圍411‧‧‧ window range

412‧‧‧視窗位置412‧‧‧Window location

42‧‧‧電子書寫單元42‧‧‧Electronic writing unit

421‧‧‧第一座標421‧‧‧ first coordinates

422‧‧‧書寫範圍422‧‧‧writing range

50‧‧‧電子書寫單元50‧‧‧Electronic writing unit

501‧‧‧書寫範圍501‧‧‧writing range

502‧‧‧第一座標502‧‧‧ first coordinates

52‧‧‧應用程式52‧‧‧Application

521‧‧‧視窗範圍521‧‧‧ window range

522‧‧‧視窗位置522‧‧‧Window location

523‧‧‧第二座標523‧‧‧second coordinates

第1圖,係為根據本發明一實施例之座標對應系統的方塊圖。Figure 1 is a block diagram of a coordinate corresponding system in accordance with an embodiment of the present invention.

第2圖,係為根據本發明一實施例之座標對應方法的流程圖。Fig. 2 is a flow chart showing a method of coordinate correspondence according to an embodiment of the present invention.

第3圖,係為『第2圖』之步驟S205的詳細流程圖。Fig. 3 is a detailed flowchart of step S205 of "Fig. 2".

第4圖,係為根據本發明一實施例之座標對應方法的範例示意圖。4 is a schematic diagram showing an example of a coordinate corresponding method according to an embodiment of the present invention.

第5a圖及第5b圖,係為根據本發明另一實施例之座標對應方法的範例示意圖。5a and 5b are schematic diagrams showing an example of a coordinate correspondence method according to another embodiment of the present invention.

以下在實施方式中詳細敘述本發明之詳細特徵以及優點,其內容足以使任何熟習相關技藝者了解本發明之技術內容並據以實施,且根據本說明書所發明之內容、申請專利範圍及圖式,任何熟習相關技藝者可輕易地理解本發明相關之目的及優點。以下之實施例係進一步詳細說明本發明之觀點,但非以任何觀點限制本發明之範疇。The detailed features and advantages of the present invention are set forth in the Detailed Description of the Detailed Description of the invention. The objects and advantages associated with the present invention can be readily understood by those skilled in the art. The following examples are intended to describe the present invention in further detail, but are not intended to limit the scope of the invention.

請參閱『第1圖』,其係為根據本發明一實施例之座標對應系統的方塊圖。圖中,座標對應系統1包括電子裝置10及電子書寫單元20。於此實施例中,電子書寫單元20外接於電子裝置10,但於實際情況不為此限,亦可內建於電子裝置10中。電子裝置10例如為個人電腦、筆記型電腦或桌上型電腦等電子裝置,電子裝置10包括應用程式101。 電子書寫單元20例如為數位繪圖板,電子書寫單元20包括書寫範圍201。Please refer to FIG. 1 , which is a block diagram of a coordinate corresponding system according to an embodiment of the present invention. In the figure, the coordinate correspondence system 1 includes an electronic device 10 and an electronic writing unit 20. In this embodiment, the electronic writing unit 20 is externally connected to the electronic device 10, but the actual situation is not limited thereto, and may be built in the electronic device 10. The electronic device 10 is, for example, an electronic device such as a personal computer, a notebook computer, or a desktop computer, and the electronic device 10 includes an application 101. The electronic writing unit 20 is, for example, a digital tablet, and the electronic writing unit 20 includes a writing range 201.

應用程式101例如為運作於作業系統(Operating System)的視窗程式,應用程式101包含視窗位置1011及視窗範圍1012。視窗位置1011係為應用程式101顯示於電子裝置10的位置,視窗位置1011係以像素為基本單位的二維座標,並以顯示起點為基準點。此顯示起點係為電子裝置10的顯示畫面之起點,其詳細內容將於下列述及。視窗範圍1012則為應用程式101的面積,此面積的長與寬例如以像素為單位。書寫範圍201係為電子書寫單元20可供書寫的面積,此面積的長與寬亦例如以像素為單位。The application 101 is, for example, a window program that operates in an operating system (Operating System). The application 101 includes a window position 1011 and a window range 1012. The window position 1011 is a position where the application 101 is displayed on the electronic device 10. The window position 1011 is a two-dimensional coordinate based on pixels, and the display starting point is used as a reference point. This display starting point is the starting point of the display screen of the electronic device 10, and the details thereof will be described below. The window range 1012 is the area of the application 101, and the length and width of the area are, for example, in pixels. The writing range 201 is an area in which the electronic writing unit 20 can be written, and the length and width of the area are also, for example, in units of pixels.

上述以簡略說明座標對應系統1的內部元件及其耦接關係,以下將舉例對應用於座標對應系統1的座標對應方法進行描述。The above description briefly describes the internal components of the coordinate corresponding system 1 and their coupling relationship, and the following describes an example of a coordinate corresponding method for the coordinate corresponding system 1 as an example.

首先,電子裝置10會將應用程式101的視窗位置1011及視窗範圍1012傳送至電子書寫單元20。視窗位置1011係例如為(200,100),即為相對於電子裝置10的顯示單元之左上角,以X軸往下200個像素及Y軸往右100個像素的位置。視窗範圍1012例如為400個像素乘以300個像素(400x300),即為120,000平方像素。電子書寫單元20取得電子書寫單元20的書寫範圍201,書寫範圍201例如為800個像素乘以600個像素(800x600),即為480,000平方像素。First, the electronic device 10 transmits the window position 1011 and the window range 1012 of the application 101 to the electronic writing unit 20. The window position 1011 is, for example, (200, 100), that is, the position of the upper left corner of the display unit with respect to the electronic device 10, 200 pixels down from the X axis, and 100 pixels to the right on the Y axis. The window range 1012 is, for example, 400 pixels by 300 pixels (400 x 300), which is 120,000 square pixels. The electronic writing unit 20 obtains the writing range 201 of the electronic writing unit 20, which is, for example, 800 pixels by 600 pixels (800 x 600), that is, 480,000 square pixels.

電子書寫單元20接收於書寫範圍201上對應觸發事件位置的第一座標,觸發事件係例如為電子書寫單元20上書寫範圍201接受到外來觸控產生的電子訊號,如觸碰或點擊。第一座標例如為(480,240),即為相對於電子書寫單元20的書寫範圍201之左上角,以X軸往下480個像素及Y軸往右240個像素的位置。電子書寫單元20依據視窗範圍1012、視窗位置1011、書寫範圍201及第一座標,取得第二座標。The electronic writing unit 20 receives the first coordinate corresponding to the trigger event position on the writing range 201, and the triggering event is, for example, an electronic signal generated by the externally touched input range 201 on the electronic writing unit 20, such as a touch or a click. The first landmark is, for example, (480, 240), that is, the position of the upper left corner of the writing range 201 with respect to the electronic writing unit 20, the lower 480 pixels of the X axis, and the 240 pixels of the Y axis to the right. The electronic writing unit 20 obtains the second coordinate according to the window range 1012, the window position 1011, the writing range 201, and the first coordinate.

在一實施例中,產生第二座標的方法係為,先將第一座標除以書寫範圍201得到對應座標。即將第一座標的(480,240)除以書寫範圍201的面積為480,000平方像素,得到對應座標為(0.001,0.0005)。並將對應座標乘以視窗範圍1012得到轉換座標,即為將對應座標之(0.001,0.0005)乘以視窗範圍1012之120,000平方像素,則轉換座標為(120,60)。再將轉換座標加上視窗位置1011即為第二座標,則為轉換座標為(120,60)加上視窗位置1011為(200,100),第二座標即為(320,160)。如此一來,當電子裝置10由電子書寫單元20接收到第二座標後,電子裝置10可於對應電子裝置10的顯示單元上的第二座標(320,160)進行相對應的動作如顯示筆觸。而電子書寫單元20的繪畫動作,也可等比例的對應到電子裝置10上應用程式101中相對的位置。In one embodiment, the method of generating the second coordinate is to first divide the first coordinate by the writing range 201 to obtain the corresponding coordinate. The area of the first coordinate (480, 240) divided by the writing range 201 is 480,000 square pixels, and the corresponding coordinates are obtained (0.001, 0.0005). Multiplying the corresponding coordinates by the window range 1012 to obtain the conversion coordinates, that is, multiplying the corresponding coordinates (0.001, 0.0005) by 120,000 square pixels of the window range 1012, and the conversion coordinates are (120, 60). Then, the conversion coordinate plus the window position 1011 is the second coordinate, and the conversion coordinates are (120, 60) plus the window position 1011 is (200, 100), and the second coordinate is (320, 160). In this way, after the electronic device 10 receives the second coordinate from the electronic writing unit 20, the electronic device 10 can perform a corresponding action such as displaying a stroke on the second coordinate (320, 160) on the display unit of the corresponding electronic device 10. The drawing operation of the electronic writing unit 20 can also correspond to the relative position in the application 101 on the electronic device 10 in a proportional manner.

請參閱『第2圖』,其係為根據本發明一實施例 之座標對應方法的流程圖。本實施例的座標對應方法可適用於連接於電子裝置的電子書寫單元,並請一併參考『第1圖』。在步驟S201中,電子裝置10送出應用程式101的視窗範圍1011及視窗裝置1012。在步驟S202中,電子書寫單元20取得電子裝置10上應用程式101的視窗範圍1011及視窗位置1012。在步驟S203中,電子書寫單元20取得電子書寫單元20的書寫範圍201。在步驟S204中,電子書寫單元20接收書寫範圍上對應觸發事件的第一座標。在步驟S205中,依據第一座標對應於書寫範圍201的位置,以視窗位置1011為起點對應視窗範圍1012產生第二座標。在步驟S206中,電子書寫單元20輸出第二座標。在步驟S207中,電子裝置10接收第二座標。在步驟S208中,應用程式101的視窗範圍201對應第二座標的位置產生相對應的動作。Please refer to FIG. 2, which is an embodiment according to the present invention. A flowchart of the method corresponding to the coordinates. The coordinate corresponding method of the present embodiment can be applied to an electronic writing unit connected to an electronic device, and please refer to "FIG. 1" together. In step S201, the electronic device 10 sends out the window range 1011 of the application 101 and the window device 1012. In step S202, the electronic writing unit 20 acquires the window range 1011 and the window position 1012 of the application 101 on the electronic device 10. In step S203, the electronic writing unit 20 acquires the writing range 201 of the electronic writing unit 20. In step S204, the electronic writing unit 20 receives the first coordinate of the corresponding trigger event on the writing range. In step S205, according to the position where the first coordinate corresponds to the writing range 201, the second coordinate is generated corresponding to the window range 1012 starting from the window position 1011. In step S206, the electronic writing unit 20 outputs the second coordinate. In step S207, the electronic device 10 receives the second coordinate. In step S208, the window range 201 of the application 101 corresponds to the position of the second coordinate to generate a corresponding action.

請參閱『第3圖』,係為『第2圖』之步驟S205的詳細流程圖。並請一併參考『第1圖』,在步驟S301中,第一座標除以書寫範圍201得到對應座標。在步驟S302中,對應座標乘以視窗範圍1012得到轉換座標。在步驟S303中,轉換座標加上視窗位置1011係為第二座標。Please refer to "Fig. 3", which is a detailed flowchart of step S205 of "Fig. 2". Please refer to "FIG. 1" together. In step S301, the first coordinate is divided by the writing range 201 to obtain the corresponding coordinates. In step S302, the corresponding coordinates are multiplied by the window range 1012 to obtain a conversion coordinate. In step S303, the conversion coordinate plus window position 1011 is the second coordinate.

請參閱『第4圖』,係為根據本發明一實施例之座標對應方法的範例示意圖。圖中,電子書寫單元42係為內建於電子裝置40的觸控面板。首先,電子裝置40會將應用程式41的視窗位置412及視窗範圍411傳送至電子書寫單元 42。於此實施例中,應用程式41例如為繪圖畫面。視窗位置412係例如為(100,100),視窗位置412係為以顯示單元之左上角作為顯示起點,由顯示起點以X軸往下100個像素及Y軸往右100個像素的位置。視窗範圍411例如為200個像素乘以100個像素(200x100),即為20,000平方像素。電子書寫單元42取得電子書寫單元42的書寫範圍422,書寫範圍422例如為400個像素乘以200個像素(400x200),即為80,000平方像素。Please refer to FIG. 4, which is a schematic diagram showing an example of a coordinate corresponding method according to an embodiment of the present invention. In the figure, the electronic writing unit 42 is a touch panel built in the electronic device 40. First, the electronic device 40 transmits the window position 412 and the window range 411 of the application 41 to the electronic writing unit. 42. In this embodiment, the application 41 is, for example, a drawing screen. The window position 412 is, for example, (100, 100), and the window position 412 is a display starting point from the upper left corner of the display unit, and the display starting point is 100 pixels down to the X-axis and 100 pixels to the right. The window range 411 is, for example, 200 pixels by 100 pixels (200 x 100), which is 20,000 square pixels. The electronic writing unit 42 obtains the writing range 422 of the electronic writing unit 42, which is, for example, 400 pixels by 200 pixels (400 x 200), that is, 80,000 square pixels.

電子書寫單元42接收於書寫範圍422上對應觸發事件位置的第一座標421,觸發事件係例如為電子書寫單元42上書寫範圍422接受到外來觸控產生的電子訊號,如觸碰或點擊。第一座標421例如為(100,60),即為相對於電子書寫單元42的書寫範圍422之左上角,以X軸往下100個像素及Y軸往右60個像素的位置。電子書寫單元42則依據第一座標421對應於書寫範圍422的位置,以視窗位置412為起點對應視窗範圍411產生第二座標413。The electronic writing unit 42 receives the first coordinate 421 corresponding to the triggering event position on the writing range 422, and the triggering event is, for example, an electronic signal generated by the external touch by the writing range 422 on the electronic writing unit 42, such as a touch or a click. The first landmark 421 is, for example, (100, 60), that is, the position of the upper left corner of the writing range 422 with respect to the electronic writing unit 42, the lower 100 pixels of the X axis, and the 60 pixels of the Y axis to the right. The electronic writing unit 42 generates a second coordinate 413 corresponding to the window range 411 starting from the window position 412 according to the position of the first coordinate 421 corresponding to the writing range 422.

接著,產生第二座標413的方法係為,先將第一座標421除以書寫範圍422得到對應座標。即將第一座標421的(100,60)除以書寫範圍421的面積為80,000平方像素,得到對應座標為(0.00125,0.00075)。並將對應座標乘以視窗範圍411得到轉換座標,即為將對應座標為(0.00125,0.00075)乘以視窗範圍411的20,000平方像素,則轉換座標為(25,15)。再將轉 換座標加上視窗位置412即為第二座標413,則為轉換座標為(25,15)加上視窗位置412的(100,100),第二座標413即為(125,115)。如此一來,當電子裝置40由電子書寫單元42接收到第二座標後,電子裝置40可於對應電子裝置40上的第二座標413為(125,115)進行相對應的動作如顯示筆觸。而電子書寫單元42的繪畫動作,也可等比例的對應到電子裝置40上應用程式41中相對的位置。Next, the method of generating the second coordinate 413 is to first divide the first coordinate 421 by the writing range 422 to obtain a corresponding coordinate. That is, the area of the first coordinate 421 (100, 60) divided by the writing range 421 is 80,000 square pixels, and the corresponding coordinates are obtained (0.00125, 0.00075). The corresponding coordinates are multiplied by the window range 411 to obtain the conversion coordinates, that is, the corresponding coordinates are (0.00125, 0.00075) times the 20,000 square pixels of the window range 411, and the conversion coordinates are (25, 15). Will turn again The coordinate plus window position 412 is the second coordinate 413, and the conversion coordinates are (25, 15) plus the window position 412 (100, 100), and the second coordinate 413 is (125, 115). In this way, after the electronic device 40 receives the second coordinate from the electronic writing unit 42, the electronic device 40 can perform corresponding actions such as displaying a stroke on the second coordinate 413 of the corresponding electronic device 40 for (125, 115). The drawing operation of the electronic writing unit 42 can also be proportionally corresponding to the relative position in the application 41 on the electronic device 40.

請參閱『第5a圖』及『第5b圖』,係為根據本發明另一實施例之座標對應方法的範例示意圖。圖中,電子書寫單元50係為外接於電子裝置的數位繪圖板。首先,電子裝置會將應用程式52的視窗位置522及視窗範圍521傳送至電子書寫單元50。於此實施例中,應用程式52例如為繪圖程式。視窗位置522係例如為(400,400),視窗位置522係為以顯示單元之左上角作為顯示起點,由顯示起點以X軸往下400個像素及Y軸往右400個像素的位置。視窗範圍521例如為800個像素乘以600個像素(800x600),即為480,000平方像素。電子書寫單元50取得電子書寫單元50的書寫範圍501,書寫範圍501例如為1600個像素乘以1200個像素(1600x1200),即為1,920,000平方像素。Please refer to FIG. 5a and FIG. 5b, which are schematic diagrams showing examples of coordinates corresponding to another embodiment of the present invention. In the figure, the electronic writing unit 50 is a digital tablet that is externally connected to the electronic device. First, the electronic device transmits the window position 522 and the window range 521 of the application 52 to the electronic writing unit 50. In this embodiment, the application 52 is, for example, a drawing program. The window position 522 is, for example, (400, 400), and the window position 522 is a display starting point from the upper left corner of the display unit, and the display starting point is 400 pixels in the X-axis and 400 pixels in the Y-axis to the right. The window range 521 is, for example, 800 pixels by 600 pixels (800 x 600), which is 480,000 square pixels. The electronic writing unit 50 obtains the writing range 501 of the electronic writing unit 50, which is, for example, 1600 pixels by 1200 pixels (1600 x 1200), that is, 1,920,000 square pixels.

電子書寫單元50接收於書寫範圍501上對應觸發事件位置的第一座標502,觸發事件係例如為電子書寫單元50上書寫範圍501接受到外來觸控產生的電子訊號,如觸碰 或點擊。第一座標502例如為(480,300),即為相對於電子書寫單元50的書寫範圍501之左上角,以X軸往下480個像素及Y軸往右300個像素的位置。電子書寫單元50則依據第一座標502對應於書寫範圍501的位置,以視窗位置522為起點對應視窗範圍521產生第二座標523。The electronic writing unit 50 receives the first coordinate 502 corresponding to the trigger event position on the writing range 501, and the triggering event is, for example, an electronic signal generated by the external touch by the writing range 501 on the electronic writing unit 50, such as a touch. Or click. The first landmark 502 is, for example, (480, 300), that is, the position of the upper left corner of the writing range 501 with respect to the electronic writing unit 50, the lower 480 pixels of the X axis, and the 300 pixels of the Y axis to the right. The electronic writing unit 50 generates a second coordinate 523 corresponding to the window range 521 starting from the window position 522 according to the position of the first coordinate 502 corresponding to the writing range 501.

接著,產生第二座標523的方法係為,先將第一座標502除以書寫範圍501得到對應座標。即將第一座標502的(480,300)除以書寫範圍501的面積的1,920,000平方像素,得到對應座標為(0.00025,0.00015625)。並將對應座標乘以視窗範圍521得到轉換座標,即為將對應座標之(0.00025,0.00015625)乘以視窗範圍521的480,000平方像素,則轉換座標為(120,75)。再將轉換座標加上視窗位置522即為第二座標523,則為轉換座標之(120,75)加上視窗位置522的(400,400),第二座標523即為(520,475)。如此一來,當電子裝置由電子書寫單元50接收到第二座標523後,電子裝置可於對應電子裝置上的第二座標523的(520,475)進行相對應的動作如顯示筆觸。而電子書寫單元50的繪畫動作,也可等比例的對應到電子裝置上應用程式52中相對的位置。Next, the method of generating the second coordinate 523 is to first divide the first coordinate 502 by the writing range 501 to obtain the corresponding coordinates. That is, (480,300) of the first coordinate 502 is divided by 1,920,000 square pixels of the area of the writing range 501, and the corresponding coordinates are obtained (0.00025, 0.00051625). Multiplying the corresponding coordinates by the window range 521 to obtain the conversion coordinates, that is, multiplying the corresponding coordinates (0.00025, 0.00015625) by the window range 521 of 480,000 square pixels, the conversion coordinates are (120, 75). The conversion coordinate plus window position 522 is the second coordinate 523, then the conversion coordinates (120, 75) plus the window position 522 (400, 400), and the second coordinate 523 is (520, 475). In this way, after the electronic device receives the second coordinate 523 from the electronic writing unit 50, the electronic device can perform corresponding actions such as displaying a stroke on the (520, 475) of the second coordinate 523 on the corresponding electronic device. The drawing action of the electronic writing unit 50 can also be proportionally corresponding to the relative position in the application 52 on the electronic device.

本發明所揭露的座標對應方法,係藉由先取得電子裝置上應用程式的視窗範圍及視窗位置,並取得電子書寫單元的書寫範圍,以及接收書寫範圍上對應觸發事件的第一座標。接著,依據視窗範圍、視窗位置、書寫範圍及該第一 座標,取得第二座標,再輸出第二座標至電子裝置。如此一來,當於電子書寫單元進行手寫觸控的書寫動作或繪圖動作時,可等比例的對應電子裝置的應用程式,以增加使用的便利性。The method for coordinating the coordinates disclosed in the present invention is to obtain the window range and the window position of the application on the electronic device, obtain the writing range of the electronic writing unit, and receive the first coordinate corresponding to the trigger event in the writing range. Then, according to the window range, the window position, the writing range, and the first The coordinates, the second coordinate is obtained, and the second coordinate is output to the electronic device. In this way, when the electronic writing unit performs the writing operation or the drawing operation of the handwriting touch, the application of the electronic device can be correspondingly proportioned to increase the convenience of use.

雖然本發明以前述之實施例發明如上,然其並非用以限定本發明。在不脫離本發明之精神和範圍內,所為之更動與潤飾,均屬本發明之專利保護範圍。關於本發明所界定之保護範圍請參考所附之申請專利範圍。While the invention has been described above in the foregoing embodiments, it is not intended to limit the invention. It is within the scope of the invention to be modified and modified without departing from the spirit and scope of the invention. Please refer to the attached patent application for the scope of protection defined by the present invention.

Claims (7)

一種座標對應方法,係適用於連接於一電子裝置的一電子書寫單元,該座標對應方法包括:取得該電子裝置上一應用程式的一視窗範圍及一視窗位置;取得該電子書寫單元的一書寫範圍;接收該書寫範圍上對應一觸發事件的一第一座標;依據該視窗範圍、該視窗位置、該書寫範圍及該第一座標,取得一第二座標;以及輸出該第二座標;其中該應用程式係為具有視窗介面之程式,該視窗位置係為該應用程式顯示於該電子裝置的位置,並以一起點為基準點。 A coordinate correspondence method is applicable to an electronic writing unit connected to an electronic device, the coordinate corresponding method includes: obtaining a window range and a window position of an application on the electronic device; and obtaining a writing of the electronic writing unit a first coordinate corresponding to a trigger event in the writing range; obtaining a second coordinate according to the window range, the window position, the writing range and the first coordinate; and outputting the second coordinate; The application is a program with a window interface, which is the location where the application is displayed on the electronic device, and uses the point as a reference point. 如請求項1所述的座標對應方法,其中該視窗位置係為該應用程式於該電子裝置之一顯示單元上X軸及Y軸的座標。 The coordinate corresponding method of claim 1, wherein the window position is a coordinate of the X-axis and the Y-axis of the application on a display unit of the electronic device. 如請求項1所述的座標對應方法,其中該書寫範圍係為該電子書寫單元產生的像素面積。 The coordinate corresponding method according to claim 1, wherein the writing range is a pixel area generated by the electronic writing unit. 如請求項1所述的座標對應方法,其中該第一座標係為對應該書寫範圍的X軸及Y軸的座標。 The coordinate corresponding method according to claim 1, wherein the first coordinate is a coordinate corresponding to the X-axis and the Y-axis of the writing range. 如請求項1所述的座標對應方法,其中該觸發事件包括該電子書寫單元上該第一座標的位置接受到外來觸控產生的電子訊號。 The coordinate corresponding method of claim 1, wherein the triggering event comprises an electronic signal generated by the external touch on the position of the first coordinate on the electronic writing unit. 如請求項1所述的座標對應方法,其中依據該視窗範圍、該視窗位置、該書寫範圍及該第一座標,取得該第二座標的步驟包括:該第一座標除以該書寫範圍得到一對應座標;該對應座標乘以該視窗範圍得到一轉換座標;以及該轉換座標加上該視窗位置係為該第二座標。 The coordinate corresponding method of claim 1, wherein the step of obtaining the second coordinate according to the window range, the window position, the writing range, and the first coordinate comprises: dividing the first coordinate by the writing range to obtain a Corresponding coordinates; the corresponding coordinates are multiplied by the window range to obtain a conversion coordinate; and the conversion coordinate plus the window position is the second coordinate. 如請求項1所述的座標對應方法,其中輸出該第二座標的步驟更包括:該電子裝置接收該第二座標;以及該應用程式的該視窗範圍對應該第二座標的位置產生相對應的動作。 The coordinate corresponding method of claim 1, wherein the step of outputting the second coordinate further comprises: the electronic device receiving the second coordinate; and the window range of the application corresponding to the position of the second coordinate action.
TW102121796A 2013-06-19 2013-06-19 Coordinate corresponding method TWI511028B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102121796A TWI511028B (en) 2013-06-19 2013-06-19 Coordinate corresponding method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102121796A TWI511028B (en) 2013-06-19 2013-06-19 Coordinate corresponding method

Publications (2)

Publication Number Publication Date
TW201501023A TW201501023A (en) 2015-01-01
TWI511028B true TWI511028B (en) 2015-12-01

Family

ID=52717982

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102121796A TWI511028B (en) 2013-06-19 2013-06-19 Coordinate corresponding method

Country Status (1)

Country Link
TW (1) TWI511028B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11132122B2 (en) 2019-04-11 2021-09-28 Ricoh Company, Ltd. Handwriting input apparatus, handwriting input method, and non-transitory recording medium
TWI807181B (en) * 2019-04-11 2023-07-01 日商理光股份有限公司 Handwriting input apparatus, handwriting input method, and program

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200608753A (en) * 2004-08-26 2006-03-01 Ace Cad Entpr Co Ltd External original-script permutation inputting device of mobile phone and permutation method thereof
US20130002560A1 (en) * 2008-07-18 2013-01-03 Htc Corporation Electronic device, controlling method thereof and computer program product
CN103049207A (en) * 2012-12-27 2013-04-17 富泰华工业(深圳)有限公司 Method and system for handwriting input recognition
TW201319884A (en) * 2011-11-11 2013-05-16 Elan Microelectronics Corp Touch control device and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TW200608753A (en) * 2004-08-26 2006-03-01 Ace Cad Entpr Co Ltd External original-script permutation inputting device of mobile phone and permutation method thereof
US20130002560A1 (en) * 2008-07-18 2013-01-03 Htc Corporation Electronic device, controlling method thereof and computer program product
TW201319884A (en) * 2011-11-11 2013-05-16 Elan Microelectronics Corp Touch control device and method
CN103049207A (en) * 2012-12-27 2013-04-17 富泰华工业(深圳)有限公司 Method and system for handwriting input recognition

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11132122B2 (en) 2019-04-11 2021-09-28 Ricoh Company, Ltd. Handwriting input apparatus, handwriting input method, and non-transitory recording medium
TWI807181B (en) * 2019-04-11 2023-07-01 日商理光股份有限公司 Handwriting input apparatus, handwriting input method, and program

Also Published As

Publication number Publication date
TW201501023A (en) 2015-01-01

Similar Documents

Publication Publication Date Title
US20220217303A1 (en) Display apparatus and control methods thereof
US11443453B2 (en) Method and device for detecting planes and/or quadtrees for use as a virtual substrate
US20150199125A1 (en) Displaying an application image on two or more displays
WO2015161653A1 (en) Terminal operation method and terminal device
TWI606383B (en) Electronic device and page zooming method thereof
CN106168894B (en) Content display method and mobile terminal
CN107562335B (en) Display area adjusting method and mobile terminal
JP5389241B1 (en) Electronic device and handwritten document processing method
US20140285507A1 (en) Display control device, display control method, and computer-readable storage medium
US20140059481A1 (en) Method of controlling touch function and an electronic device thereof
US20160170636A1 (en) Method and apparatus for inputting information by using on-screen keyboard
CN102314287A (en) Interactive display system and method
TWI511028B (en) Coordinate corresponding method
EP3989051A1 (en) Input device, input method, medium, and program
KR20160084629A (en) Content display method and electronic device implementing the same
US20130342581A1 (en) Touch sensor navigation
WO2019109231A1 (en) Processing method for writing stroke and related device
CN104252340A (en) Coordinate corresponding method
JP6259225B2 (en) Electronic device, gesture recognition operation method for mobile terminal connected to the same, and in-vehicle system
TW201405443A (en) Gesture input systems and methods
US8913008B2 (en) Image data generation using a handheld electronic device
TWI522892B (en) Electronic apparatus with virtual input feature
US9430143B2 (en) Screen capturing method and electronic device using the same
US20150067577A1 (en) Covered Image Projecting Method and Portable Electronic Apparatus Using the Same
US20140028559A1 (en) Projector device and method for controlling a projection screen

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees