INK EFFECTS
Document authoring that involves illustrating pen input in an authoring environment is herein improved to provide greater control of colors and patterns for representing the pen input in a graphical user interface. Colors and patterns are provided as effects that are applied to the illustrated pen input so that multiple textures or colors may be applied to the illustrated pen input without requiring the user to manually signal a switch in texture or colors or using multiple objects to represent the pen input. In various aspects, effects may be layered on top of each other, and the effects may be stretched or tiled depending on the size of the illustrated pen input.
Latest Microsoft Patents:
The present application claims benefit from U.S. Provisional Application No. 62/317,333 filed on Apr. 1, 2016 and having the title “INK EFFECTS,” which is herein incorporated by reference in its entirety.
BACKGROUNDInk input, via touchscreen or pointing device, provides users the ability to apply freeform input to an electronic authoring environment. For example, when using the Illustrator® graphic design software (available from Adobe Systems Inc. of San Jose, Calif.), the Keynote® presentation application (available from Apple Inc. of Cupertino, Calif.), Bamboo™ Paper drawing application (available from Wacom Co., Ltd. of Kazo, Japan) or another electronic authoring environment, a user may apply a pen, stylus, or finger via a touchscreen or select a pen input option in a user interface for input via a mouse or other pointing device to provide ink input.
Although users may select various effects for the ink input, affecting the size (e.g., 6 point, 8 pixels, ¼ inch), shape (e.g., squared, rounded, etc.), color, transparency, and texture (e.g., a crayon texture, a paintbrush texture, a calligraphy texture) of the displayed ink object, these effects are basic shape and color effects and users often desire greater ability to highlight content with ink input than is afforded by basic shape and color choices. Additionally, for the user to apply multiple shape and color effects to ink input, the ink input must be broken into multiple objects, with individual effects being applied to each object, thus increasing the workload on the user, and requiring additional system resources to maintain those separate objects in memory.
SUMMARYThis summary is provided to introduce a selection of concepts in a simplified form that are further described below in the Detailed Description section. This summary is not intended to identify all features of the claimed subject matter, nor is it intended as limiting the scope of the claimed subject matter.
Systems and methods are provided herein to enable a more efficient interactivity for ink input that enables variable effects to be applied to the ink input as it is illustrated in the graphical user interface of an electronic authoring environment without the need for a user to create multiple objects to which to apply separate effects. An effect definition is selected by a user to apply to a new or existing ink input object in the electronic authoring environment, and the ink input object pulls its effects from the effect definition. In various aspects, the effect definition is anchored to the ink input object, and depending on the size of the ink input object, is tiled or stretched to meet or exceed the size of the ink input object. The ink input object may be anchored at a random position of the effect definition or a defined position in the effect definition (based on other ink input objects, position of the object in the authoring environment, orientation of the object), and the ink input object may include multiple effects in layers. By employing aspects of the present disclosure, an improved user experience is provided and less memory and fewer processing resources are expended to provide advanced effects to ink objects.
The details of one or more aspects are set forth in the accompanying drawings and description below. Other features and advantages will be apparent from a reading of the following detailed description and a review of the associated drawings. It is to be understood that the following detailed description is explanatory only and is not restrictive; the proper scope of the present disclosure is set by the claims.
The accompanying drawings, which are incorporated in and constitute a part of this disclosure, illustrate various aspects of the present disclosure. In the drawings:
The following detailed description refers to the accompanying drawings. Wherever possible, the same reference numbers are used in the drawings and the following description to refer to the same or similar elements. While aspects of the present disclosure may be described, modifications, adaptations, and other implementations are possible. For example, substitutions, additions, or modifications may be made to the elements illustrated in the drawings, and the methods described herein may be modified by substituting, reordering, or adding stages to the disclosed methods. Accordingly, the following detailed description does not limit the present disclosure, but instead, the proper scope of the present disclosure is defined by the appended claims. Examples may take the form of a hardware implementation, or an entirely software implementation, or an implementation combining software and hardware aspects. The following detailed description is, therefore, not to be taken in a limiting sense.
Systems and methods are provided herein to enable a more efficient interactivity for ink input that enables variable graphical effects to be applied to the ink input as it is illustrated in the graphical user interface of an electronic authoring environment without the need for a user to create multiple objects to which to apply separate effects. An effect definition is selected by a user to apply to a new or existing ink input object in the electronic authoring environment, and the ink input object pulls its effects from the effect definition. In various aspects, the effect definition is anchored to the ink input object, and depending on the size of the ink input object, is tiled or stretched to meet or exceed the size of the ink input object. The ink input object may be anchored at a random position of the effect definition or a defined position in the effect definition (based on other ink input objects, position of the object in the authoring environment, orientation of the object), and the ink input object may include multiple effects in layers. By employing aspects of the present disclosure, an improved user experience is provided and less memory and fewer processing resources are expended to provide advanced effects to ink objects.
The system 100 may receive pointer inputs from input devices such as mice, keyboards, remote controls, and the like, or from natural user input (NW) methods including those relying on speech recognition, touch and stylus recognition, gesture recognition both on screen and adjacent to the screen, air gestures, head and eye tracking, voice and speech, vision, touch, hover, gestures, and machine intelligence. Pointer inputs are those inputs that define a user's point of interaction within a graphical user interface, such as by a cursor represented within a given program or application and associated with a given input device. Inputs may be interpreted by the input API 110 for use in the EAE 180 as digital ink input. A user may signal to the system 100 that ink input is desired, as opposed to other styles of input, by selecting an ink input user interface (UI) element, using a particular input device, or contextually based on a position of a pointer in the EAE 180. For example, a user may use an ink input stylus on a touch screen to indicate that inking input is desired (as opposed to positional input via a mouse device), inking input may be enabled in a canvas area of an EAE 180 (as opposed to selection input in UI control areas of the EAE 180), or inking input may be enabled when a user actuates a mouse button (as opposed to positional input when the mouse button is unactuated). When the user has indicated that ink input is desired, the input API 110 receives the inputs from the input devices, and transmits coordinates and pressures (if available on a touch-based device) and other metadata to the EAE 180. The other metadata may include, but is not limited to: a device identifier (e.g., stylus one, stylus two), primary or secondary input (e.g., mouse button one or two, stylus nib or “eraser”), velocity of input, authoring mode of when input is received (e.g., editing mode, presentation mode, textbox input, freeform input), user-defined settings within the EAE 180, etc.
Input from the input API 110 is received by the wet stroke processor 120, which groups together the inputs into strokes. Inputs are collected until it is determined that a stroke is complete, such as, for example, a user lifts a stylus from a touch screen or touch input falls below a pressure threshold, releases a mouse button, a pointer remains motionless for a set period of time, etc. Strokes are passed from the wet stroke processor 120 to the stroke queue 140 for incorporation into a document and to the wet stroke renderer 130 for rendering and display to a user. As will be appreciated, while a stroke is in its “wet” state, it may be incomplete (i.e., the user may still be making that stroke), and it is passed from the wet stroke processor 120 to the wet stroke renderer 130 as it is being input so that the user receives feedback as to what the stroke looks like in the GUI while the user makes the stroke.
The wet stroke renderer 130 creates a geometry for the stroke in the “wet” state based on the coordinates (and, optionally, pressures and other metadata) in the authoring area of the graphical user interface (GUI) of the stroke as it has been received as well as the drawing parameters of the EAE 180. As will be appreciated, the drawing parameters of the EAE 180 may specify a shape and size of the geometry to be associated with the stroke. For example, a user may select a circle, square, slash, star, etc., as a shape (or stamp) for the stroke and a size designated of that shape (e.g., 2 pt, 6 pt. 0.25 cm, 1/16 inch, 25 pixels). The drawing parameters may also indicate an ink effect to apply to the stroke or options for the ink effect. The wet stroke processor 120 uses these inputs to create the geometry of the stroke as it will be seen in the GUI. These geometries are passed to the operating system graphics API 170 and may include an ink effect definition 160, when an ink effect has been selected by a user, so that the user can see the ink effect applied to the stroke while the user makes that stroke in the GUI, for example, seeing the “ink” flowing from a stylus into the GUI.
The stroke queue 140 receives completed strokes from the wet stroke processor 120 and integrates them into the document that the EAE 180 is editing. In various aspects, the coordinates and metadata (e.g., pressures, drawing parameters) of the input are stored within the document's framework, for example, as an object in an extensible markup language (XML) hierarchy or a JavaScript Object Notation (JSON) representation. The stroke queue 140 may retrieve objects from the document framework for display in the GUI as “dry” strokes when the file is reopened or a user navigates to a portion of the document in which the object resides, making that object visible or partly visible in the GUI as the user navigates the GUI. The user may modify the “dry” strokes via the GUI to change reference points, a scale of the strokes, or the drawing parameters.
The dry stroke renderer 150 creates a geometry for the stroke in the “dry” state based on the coordinates (and, optionally, pressures and other metadata) in the authoring area of the graphical user interface (GUI) of the stroke as it has retrieved from the document framework as well as the drawing parameters for the stroke. As will be appreciated, the drawing parameters of a dry stroke may differ than those set in the EAE 180 for new strokes, and the user may change the drawing parameters of the dry stroke via various dialogs and controls in the GUI. These geometries are passed to the operating system graphics API 170 and may include an ink effect definition 160, when an ink effect has been selected by a user, so that the user can see the ink effect applied to the strokes that have been committed to the EAE 180.
The ink effect definitions 160 define additional graphical effects that are applied to the geometries of the strokes shown in the GUI. These effects may be shown in various layers, and various behaviors that are set by the user, and discussed in relation to
When an image file is used as an ink effect definition 160, the strokes may specify anchoring properties (indicating a position and orientation) to the ink effect definition 160 or may use a random anchor point from which a mask may be applied. Similarly, when a spectral line is used as an ink effect definition 160, the starting color may be specified by an anchor or the starting color may be randomly assigned and the orientation of the spectral line relative to the geometry may be defined by the user or randomly assigned. Anchors may be assigned by a user to remain constant per stroke (e.g., to use the same anchor for each new stroke), to be based on the previous stroke (e.g., to use the prior stroke's endpoint as a new stroke's anchor point), to be based on the position or orientation of the stroke in the canvas, or to be randomly selected for each new stroke.
Ink effect definitions 160 may be stretched or tiled to meet or exceed the size of the ink objects in the EAE 180. For example, if a user has selected a spectral line of a rainbow pattern to apply as the user writes in the GUI, the rainbow may cycle from red to purple and back to red several times as the user inputs strokes. In another example, if a user has selected an image file, the image file may be stretched to match or exceed the size of an individual stroke or a collection of strokes, or the image file may be tiled to match or exceed the size of an individual stroke or a collection of strokes. As will be appreciated, a two-dimensional image file may be tiled in two dimensions (vertically and horizontally), and may be rotated or un-rotated when it is tiled to provide mirror symmetry or repeat the image.
In various aspects users may use ink effect definitions 160 included in the local deployment of the EAE 180, receive ink effect definitions 160 via a cloud-based element of the EAE 180, or define their own ink effect definitions (e.g., specify an image file, specify colors to use in a spectral line). When a definition is provided, it may be specified whether (and how) the image is to be tiled or stretched when applied to ink objects.
The operating system graphics API 170 handles the geometries and rendered graphical effects so that they will be displayed according to the display devices associated with the system 100. The geometries and ink effect definitions 160 are converted to pixel values appropriate for the user's display device and any overlay effects are provided. For example, for a given geometry and ink effect definition, the operating system graphics API 170 may render the ink object according to a first way (having x pixels with various hues and luminosities) when the ink object is displayed on a first display device but render the ink object according to a second way (having y pixels with various hues and luminosities) on a second display device, such as, for example, when a user views a presentation on a laptop monitor and switches display to a projector with a different resolution and color properties.
Example 310 shows a single cycle of the spectral line applied to various stroke lines 310a-c, and example 320 shows two cycles of the same spectral line applied to various stroke lines 320a-c that are longer than those shown in relation to example 310. As will be appreciated, depending on the blending characteristics and the capabilities of the display device, a stroke may have the spectral line applied with more or fewer interstitial colors and the shape (herein illustrated as circles) of the ink input may similarly be blended or overlaid. Example 330 illustrates how subsequent strokes may use different anchor points in the spectral line definition (which may include interstitial colors) as each of strokes lines 330a-d are made, which may be useful to a user when combining or overlaying strokes so that they may be visually distinguished from one another in the GUI (e.g., when applying a crossbar or overlapping component of a character (as shown in “t”, “”, cursive loops, etc.) or drawing in freeform), which is discussed in greater detail in regard to
As shown in example 330, in various aspects, strokes lines 330a-d may reorder the colors in the series of colors 300 when anchor points are changed, or may keep the order of colors in the series of colors 300 and just change which color is the starting color in the order of colors in the series of colors 300.
Example 340 shows the implications of tying the series of colors 300 not to draw length of the stroke, but rather to a pressure or a velocity used to draw the stroke lines 340a-c, in which case a color is associated with a given pressure on a touchpad or a velocity in which a stroke is input. As illustrated herein, the velocity and/or pressure is also tied to a size parameter of the stroke illustration, and one of skill in the art will recognize that velocity and/or pressure may be also tied to other drawing parameters such as shape (e.g., shifting from the illustrated circles to different shapes) or only to color.
In practice, as a stroke is drawn, larger portions of the stroke will be illustrated with colors having longer lengths in the variable-length-enabled series of colors 400 and drawing parameters may specify draw distances for variable-length-enabled series of colors 400 or series of colors that have even lengths for their component colors. Example texts 410, 420, and 430 illustrate how a spectral line may be applied with different draw distances for colors independently or in connection with the lengths of colors in a series of colors 400. As will be seen from the relative locations of the changeover from the individual colors 400a-e according to the spectral line in the three example texts 410, 420, and 430, example text 410 illustrates the shortest draw distance (with the fifth color 400e first appearing in the “r” of “lorem”), example text 420 illustrates a medial draw distance (with the fifth color 400e first appearing in the “e” of “lorem”), and example text 430 illustrates the longest draw distance (with the fifth color 400e first appearing in the “p” of “ipsum”). As will be appreciated, if a spectral line uses a variable-length-enabled series of colors 400, the relative lengths will be stretched or shrunk according to a draw distance drawing parameter, and the draw distance parameters discussed herein are given as non-limiting examples; more or fewer options than shown in regard to
The first example 710 has been anchored to the image definition of a rainbow according to the position of the stroke on a canvas, such that the highest portions of the “W” stroke is shown in first color, but the highest portions of the strokes for “the”, which lie below the “W” stroke's highest portions on the canvas, are shown in a second color other than the first color. As will be appreciated, if the stroke positions are anchored individually to the image definition, the high points (medial points or low points, in various aspects) of each stroke would be the same color (assuming no stretching or shrinking) regardless of their relative positions on a canvas. Alternatively, the advanced ink effect may have been applied to the ink object of the collected strokes instead of the individual strokes, in which case the anchoring may have been achieved via anchoring the object to the image definition without regard to canvas position of the individual strokes.
The second example 720 has been anchored to the image definition perpendicular to the anchoring shown in the first example 710 such that the rainbow effect does not change color vertically, but horizontally across the ink object. As will be appreciated, the image definition for the rainbow has been applied across the ink object, rather than individually across each stroke, although in various examples, each stroke may be individually anchored, such that, for example, the “W” stroke would cycle through the (grayscale) rainbow from left to right, as would the “rite” stroke, the dot stroke, the crossbar stroke, etc. As will also be appreciated, if the image definition were not large enough to be mapped to the ink object, it may be stretched to the size of the ink object or tiled to meet the size of the ink object, and if the image file were tiled for the second example 720, the (grayscale) rainbow may repeat at various points in the cursive of “Write the Rainbow.”
As illustrated, the first example 910 and the second example 920 demonstrate how transparencies may be used with layered ink effects. The first example 910 demonstrates the layering of two renderings of geometries, one black, one gray, for the same stroke but with different draw parameters so that the gray geometry is smaller than the black geometry and can be shown “on top” of the black geometry for a striped effect. Similarly, the second example 920 uses multiple renderings of the same strokes with different draw parameters to create a “roadway” effect where striped geometry for the strokes are layered on top of gray and black geometries.
As illustrated, the third example 930 and the fourth example 940 demonstrate how image definitions may be used with layered ink effects. The third example 930 shows an image definition being used as surrounding a plain stroke definition of black line geometry to create a blooming effect from the plain line geometry, while the fourth example 940 shows the image definition geometry being shown smaller and on top of plain black line geometry to create a bordered effect for the image geometry. As will be appreciated, although not illustrated, spectral line ink effects may also be used in layered ink effects.
Although
At OPERATION 1020 the geometry to represent the ink input is built based on the drawing parameters of the ink input. The geometry enables the stroke to be represented as a two dimensional object in the EAE 180. Method 1000 then proceeds to DECISION 1030 where it is determined whether an ink effect is to be applied when rendering the geometry in the GUI.
When it is determined at DECISION 1030 that the user has selected an ink effect of a spectral line, method 1000 proceeds to OPERATION 1040, where an anchor in the ink effect definition 160 is determined. Anchors enable a desired starting position in the spectral line, and may specify a given color of the colors comprising the spectral line to be used first when applying the spectral line to the geometry, which may be a preferred color (e.g., always start with the first color in the spectral line), a random color, or a color based on the last used color from a previous stroke (e.g., if the last color applied to the last stroke inputted is color A, use color B). When a user breaks an ink object into multiple ink objects, the new ink objects may retain anchors so that they retain their original ink effects, or new anchors may be assigned to at least one of the new ink objects so that new ink effects are applied to the at least one new ink objects.
At OPERATION 1050 the spectral line is applied from the anchor color of the spectral line to the geometry of the stroke. Depending on the length of the stroke, the length of a draw distance drawing parameter, whether the color series of the spectral line is variable-length-enabled for individual colors or each color is afforded the same relative length when applied, the orientation of application (e.g., horizontally, along the path of the stroke, across the stroke), and the length of the stroke, the spectral line will be applied differently to the geometry of the stroke. Example applications of a spectral line to stroke geometry are discussed in relation to
When it is determined at DECISION 1030 that the user has selected an ink effect of an image file, method 1000 proceeds to OPERATION 1060, where an anchor in the ink effect definition 160 is determined. Anchors enable a desired starting position in the image file and orientation by which the image is to be applied to the geometry (e.g., horizontally, vertically, X degrees from horizontal or vertical). Anchors may specify that a stroke or a collection of strokes may be placed relative to the coordinates of the image file so that the masks applied to the geometry include specific portions of the image file. The anchor may be based on the previous stroke's anchor value (first or last location and/or orientation of the stroke), a canvas position of the stroke, or a preferred position and orientation in the image. When a user breaks an ink object into multiple ink objects, the new ink objects may retain anchors so that they retain their original ink effects, or new anchors may be assigned to at least one of the new ink objects so that new ink effects are applied to the at least one new ink objects.
At OPERATION 1070 the image file is applied from the anchor position in the image file to the geometry of the stroke. Depending on the relative sizes of the geometry of a stroke or a group of strokes compared to the size of the image definition, the image definition may be tiled or stretched (or shrunk) to account for the size of the geometry. The geometry is applied to the image to create an ink effect mask. The geometry is placed on the image defined by the user to use as an ink effect definition 160 (or stretched/tiled version thereof) according to the anchor point and the pixels of the image definition that intersect the geometry are transmitted to be rendered in the GUI so that the inking effect desired by the user matches the size and shape of geometry for the stroke. Examples of using an ink effect mask to apply an image file to stroke geometry are discussed in relation to
When it is determined at DECISION 1030 that the user has not selected an ink effect or the ink effect selected only calls for layers of geometries that do not invoke spectral lines or image files to apply to the geometries (e.g., geometries to be rendered with solid colors), method 1000 proceeds to OPERATION 1080, where the geometries for the strokes are rendered in the GUI. In various aspects, the multiple geometries may be treated as separate objects in the EAE 180 or as a single object.
Method 1000 may repeat OPERATIONS 1030-1080 multiple times, once for each layer of the ink effect, which may include geometries that have no advanced ink effects or other graphical effects applied thereto as well as geometries that have had an advanced ink effect (e.g., a spectral line or an image file) applied thereto. Method 1000 then concludes.
While implementations have been described in the general context of program modules that execute in conjunction with an application program that runs on an operating system on a computer, those skilled in the art will recognize that aspects may also be implemented in combination with other program modules. Generally, program modules include routines, programs, components, data structures, and other types of structures that perform particular tasks or implement particular abstract data types.
The aspects and functionalities described herein may operate via a multitude of computing systems including, without limitation, desktop computer systems, wired and wireless computing systems, mobile computing systems (e.g., mobile telephones, netbooks, tablet or slate type computers, notebook computers, and laptop computers), hand-held devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, minicomputers, and mainframe computers.
In addition, according to an aspect, the aspects and functionalities described herein operate over distributed systems (e.g., cloud-based computing systems), where application functionality, memory, data storage and retrieval and various processing functions are operated remotely from each other over a distributed computing network, such as the Internet or an intranet. According to an aspect, user interfaces and information of various types are displayed via on-board computing device displays or via remote display units associated with one or more computing devices. For example, user interfaces and information of various types are displayed and interacted with on a wall surface onto which user interfaces and information of various types are projected. Interaction with the multitude of computing systems with which implementations are practiced include, keystroke entry, touch screen entry, voice or other audio entry, gesture entry where an associated computing device is equipped with detection (e.g., camera) functionality for capturing and interpreting user gestures for controlling the functionality of the computing device, and the like.
As stated above, according to an aspect, a number of program modules and data files are stored in the system memory 1104. While executing on the processing unit 1102, the program modules 1106 (e.g., EAE 180) perform processes including, but not limited to, one or more of the stages of the method 1000 illustrated in
According to an aspect, the computing device 1100 has one or more input device(s) 1112 such as a keyboard, a mouse, a pen, a sound input device, a touch input device, etc. The output device(s) 1114 such as a display, speakers, a printer, etc. are also included according to an aspect. The aforementioned devices are examples and others may be used. According to an aspect, the computing device 1100 includes one or more communication connections 1116 allowing communications with other computing devices 1118. Examples of suitable communication connections 1116 include, but are not limited to, radio frequency (RE) transmitter, receiver, and/or transceiver circuitry; universal serial bus (USB), parallel, and/or serial ports.
The term computer readable media, as used herein, includes computer storage media apparatuses and articles of manufacture. Computer storage media include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, or program modules. The system memory 1104, the removable storage device 1109, and the non-removable storage device 1110 are all computer storage media examples (i.e., memory storage). According to an aspect, computer storage media include RAM, ROM, electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other article of manufacture which can be used to store information and which can be accessed by the computing device 1100. According to an aspect, any such computer storage media is part of the computing device 1100. Computer storage media do not include a carrier wave or other propagated data signal.
According to an aspect, communication media are embodied by computer readable instructions, data structures, program modules, or other data in a modulated data signal, such as a carrier wave or other transport mechanism, and include any information delivery media. According to an aspect, the term “modulated data signal” describes a signal that has one or more characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media include wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency (RE), infrared, and other wireless media.
According to an aspect, one or more application programs 1250 are loaded into the memory 1262 and run on or in association with the operating system 1264. Examples of the application programs include phone dialer programs, e-mail programs, personal information management (PIM) programs, word processing programs, spreadsheet programs, Internet browser programs, messaging programs, and so forth. According to an aspect, EAE 180 is loaded into memory 1262. The system 1202 also includes a non-volatile storage area 1268 within the memory 1262. The non-volatile storage area 1268 is used to store persistent information that should not be lost if the system 1202 is powered down. The application programs 1250 may use and store information in the non-volatile storage area 1268, such as e-mail or other messages used by an e-mail application, and the like. A synchronization application (not shown) also resides on the system 1202 and is programmed to interact with a corresponding synchronization application resident on a host computer to keep the information stored in the non-volatile storage area 1268 synchronized with corresponding information stored at the host computer. As should be appreciated, other applications may be loaded into the memory 1262 and run on the mobile computing device 1200.
According to an aspect, the system 1202 has a power supply 1270, which is implemented as one or more batteries. According to an aspect, the power supply 1270 further includes an external power source, such as an AC adapter or a powered docking cradle that supplements or recharges the batteries.
According to an aspect, the system 1202 includes a radio 1272 that performs the function of transmitting and receiving radio frequency communications. The radio 1272 facilitates wireless connectivity between the system 1202 and the “outside world,” via a communications carrier or service provider. Transmissions to and from the radio 1272 are conducted under control of the operating system 1264. In other words, communications received by the radio 1272 may be disseminated to the application programs 1250 via the operating system 1264, and vice versa.
According to an aspect, the visual indicator 1220 is used to provide visual notifications and/or an audio interface 1274 is used for producing audible notifications via the audio transducer 1225. In the illustrated example, the visual indicator 1220 is a light emitting diode (LED) and the audio transducer 1225 is a speaker. These devices may be directly coupled to the power supply 1270 so that when activated, they remain on for a duration dictated by the notification mechanism even though the processor 1260 and other components might shut down for conserving battery power. The LED may be programmed to remain on indefinitely until the user takes action to indicate the powered-on status of the device. The audio interface 1274 is used to provide audible signals to and receive audible signals from the user. For example, in addition to being coupled to the audio transducer 1225, the audio interface 1274 may also be coupled to a microphone to receive audible input, such as to facilitate a telephone conversation. According to an aspect, the system 1202 further includes a video interface 1276 that enables an operation of an on-board camera 1230 to record still images, video stream, and the like.
According to an aspect, a mobile computing device 1200 implementing the system 1202 has additional features or functionality. For example, the mobile computing device 1200 includes additional data storage devices (removable and/or non-removable) such as, magnetic disks, optical disks, or tape. Such additional storage is illustrated in
According to an aspect, data/information generated or captured by the mobile computing device 1200 and stored via the system 1202 are stored locally on the mobile computing device 1200, as described above. According to another aspect, the data are stored on any number of storage media that are accessible by the device via the radio 1272 or via a wired connection between the mobile computing device 1200 and a separate computing device associated with the mobile computing device 1200, for example, a server computer in a distributed computing network, such as the Internet. As should be appreciated, such data/information are accessible via the mobile computing device 1200 via the radio 1272 or via a distributed computing network. Similarly, according to an aspect, such data/information are readily transferred between computing devices for storage and use according to well-known data/information transfer and storage means, including electronic mail and collaborative data/information sharing systems.
Implementations, for example, are described above with reference to block diagrams and/or operational illustrations of methods, systems, and computer program products according to aspects. The functions/acts noted in the blocks may occur out of the order as shown in any flowchart. For example, two blocks shown in succession may in fact be executed substantially concurrently or the blocks may sometimes be executed in the reverse order, depending upon the functionality/acts involved.
The description and illustration of one or more examples provided in this application are not intended to limit or restrict the scope as claimed in any way. The aspects, examples, and details provided in this application are considered sufficient to convey possession and enable others to make and use the best mode. Implementations should not be construed as being limited to any aspect, example, or detail provided in this application. Regardless of whether shown and described in combination or separately, the various features (both structural and methodological) are intended to be selectively included or omitted to produce an example with a particular set of features. Having been provided with the description and illustration of the present application, one skilled in the art may envision variations, modifications, and alternate examples falling within the spirit of the broader aspects of the general inventive concept embodied in this application that do not depart from the broader scope of the present disclosure.
Claims
1. A method for applying graphical effects to an inking input in a graphical user interface, comprising:
- receiving a stroke comprising the inking input;
- building a geometry for the stroke;
- receiving an image file as a graphical effect to apply to the inking input;
- receiving an anchor specifying a position in the image file;
- masking the image file at the anchor with the geometry to create an inking effect mask; and
- rendering the inking effect mask in the graphical user interface.
2. The method of claim 1, further comprising receiving a second graphical effect for application to the inking input, the second graphical effect to be displayed as a layer above the graphical effect.
3. The method of claim 2, wherein the second graphical effect includes application of a spectral line as a mesh to the geometry.
4. The method of claim 1, further comprising:
- wherein when the image file is smaller in size than the geometry, tiling the image file to produce a tiled image at least as large as the geometry.
5. The method of claim 4, wherein the image file is tiled by rotating the image file about an axis comprising an edge of the image file.
6. The method of claim 1, further comprising:
- wherein when the image file is smaller in size than the geometry, stretching the image file to be at least as large as the geometry.
7. The method of claim 1, wherein the image file is a spectral line defining a series of colors.
8. The method of claim 1, further comprising:
- receiving a second stroke;
- building a second geometry for the second stroke;
- receiving a second anchor specifying a second position in the image file, wherein the second position is based on a relative position of the second stroke to the stroke;
- masking the image file at the second anchor with the second geometry to create a second inking effect mask; and
- rendering the second inking effect mask in the graphical user interface.
9. The method of claim 1, further comprising:
- receiving a second stroke;
- building a second geometry for the second stroke;
- masking the image file at the anchor with the second geometry to create a second inking effect mask; and
- rendering the second inking effect mask in the graphical user interface.
10. A method for applying graphical effects to an inking input in a graphical user interface, comprising:
- receiving inking input to build a stroke;
- building a geometry for the stroke;
- receiving a spectral line, comprising a plurality of colors in a series as a graphical effect to apply to the inking input;
- receiving an anchor in the spectral line that specifies one color of the plurality of colors as a start color;
- applying a mesh to the geometry wherein the mesh applies the plurality of colors to the geometry according to the series starting with the start color; and
- rendering the geometry with the mesh in the graphical user interface.
11. The method of claim 10, wherein the mesh applies the plurality of colors along a length of the geometry.
12. The method of claim 10, wherein the mesh applies the plurality of colors along a width of the geometry.
13. The method of claim 10, wherein the mesh applies the plurality of colors outward from a central point of the geometry.
14. The method of claim 10, wherein the mesh applies the plurality of colors according to a variable length along the geometry according to a variable length of application associated with each color of the plurality of colors.
15. The method of claim 10, wherein a second mesh applies the plurality of colors, ordered according to a second series, to a second geometry intersecting the geometry.
16. A system for applying graphical effects to inking input in a graphical user interface, comprising:
- a wet stroke processor, operable to receive pointer inputs comprising location data in the graphical user interface in which the pointer inputs were made to group the pointer inputs into strokes;
- a plurality of ink effect definitions, operable to provide the graphical effects to apply to the inking input; and
- a wet stroke renderer operable to: receive a wet stroke from the wet stroke processor to produce a geometry for the wet stroke, wherein the wet stroke is an in-progress stroke, associate at least one ink effect definition from the plurality of ink effect definitions for rendering with the geometry, and transmit the geometry to an operating system graphics application program interface for rendering in the graphical user interface.
17. The system of claim 16, wherein the wet stroke renderer is further operable to receive an anchor point, the anchor point specifying a position in a given ink effect definition of the plurality of ink effect definitions from which the wet stroke renderer will associate with the location on the geometry.
18. The system of claim 16, wherein a given ink effect definition of the plurality of ink effect definitions is a plurality of colors, wherein the wet stroke renderer is further operable to set a series for the given ink effect definition for each of the strokes grouped by the wet stroke processor.
19. The system of claim 16, further comprising:
- a stroke queue operable to receive the grouped strokes from the wet stroke processor when a given stroke is complete, and to incorporate the given stroke as a dry stroke into a structure of a document being authored via the graphical user interface; and
- a dry stroke renderer operable to: retrieve the dry stroke from the structure of the document to produce a dry geometry for the dry stroke, associate at least one ink effect definition from the plurality of ink effect definitions for rendering with the dry geometry, and transmit the dry geometry to the operating system graphics application program interface for rendering in the graphical user interface.
20. The system of claim 16, wherein the wet stroke renderer is further operable to apply multiple ink effect definitions in layers to the geometry.
Type: Application
Filed: Aug 15, 2016
Publication Date: Oct 5, 2017
Patent Grant number: 10347011
Applicant: Microsoft Technology Licensing, LLC. (Redmond, WA)
Inventors: Sarah Sykes (Redmond, WA), Ian William Mikutel (Redmond, WA), Arianne Marie Taylor (Woodinville, WA), ArunKumar Narayanan Kotiedath (Redmond, WA), Anthony Neil Dart (Seattle, WA), Ana Ruth Resendez Rodriguez (Redmond, WA)
Application Number: 15/237,498