Commit Graph

71 Commits

Author SHA1 Message Date
DarkWyrm
c20b5aa705 Added a second SetFamilyAndStyle and made both versions return success or failure
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11261 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-02-05 20:10:24 +00:00
Stephan Aßmus
597841da50 trying to optimize for B_SOLID_XXXX, implemented separate _SetPattern function, which encourages usage of a special DrawinMode instance, but it is currently not used, because it didn't give much speedup.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11111 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 21:44:38 +00:00
Stephan Aßmus
6f2b941acf added some convenience functions, mainly used by the test app
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-28 13:11:40 +00:00
DarkWyrm
7605e77d21 Added GetFamilyAndStyle
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10975 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-23 13:40:11 +00:00
DarkWyrm
cef8b0ffcf Style changes
API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10927 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-21 13:11:46 +00:00
Stephan Aßmus
30fd3eb18a line profile is now cached by being a member of Painter, as was suggested by Maxim, it's too heavy an object for being created on the fly
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10905 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 15:23:23 +00:00
Stephan Aßmus
7ca3c69091 added some convinience functions to handle rgb_color additionally to RGBColor
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 14:10:11 +00:00
Stephan Aßmus
18df650303 on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10892 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:45:26 +00:00
Stephan Aßmus
85ba22e47d on the way of integrating Painter into build system, suppose this is where this file belongs
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10890 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-20 12:38:41 +00:00
DarkWyrm
9a2b128aea More API fixes and tweaks, mostly to get BFont::GetHeight working
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10805 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 20:05:36 +00:00
DarkWyrm
c1d0331e5b Retooled the server-side font API to make it work better
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10788 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-17 02:04:21 +00:00
DarkWyrm
8a4cda2a9b Update to stippi's version of PatternHandler with integration tweaks
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-14 01:33:11 +00:00
haydentech
e25d0ac8e6 Change FT cache manager calls to conform to the new FreeType 2.1.8 API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10595 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-01-06 18:29:02 +00:00
DarkWyrm
9dd5da4253 Moved to headers/private/servers/app because of DisplayDriver dependency
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-12 22:35:28 +00:00
DarkWyrm
2418b1a07b Added a method to get the cursor position
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9812 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-11-06 19:44:49 +00:00
DarkWyrm
8373d74bdc Updated DrawString to modify the pen position in the DrawData parameter
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9381 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 22:38:43 +00:00
DarkWyrm
cf5f46ff73 Updated StrokeLineArray API to make life easier in calling on server side
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9374 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-16 01:57:13 +00:00
DarkWyrm
e1af90ffb8 Added storage of owning team and a couple of related methods
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9217 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-10-05 23:01:37 +00:00
DarkWyrm
66133bb5d9 s/OpenBeOS/Haiku/
Style fixes for ServerBitmap and ServerCursor
Assignment operator for GraphicsBuffer


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9018 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-20 22:46:37 +00:00
DarkWyrm
f06ff64b1a Set the API for stroke/fill shape
Made a couple API tweaks for stroke/fill polygon
Added a Frame() method to BezierCurve to be able handle polygon API tweaks


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8989 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-17 10:20:14 +00:00
DarkWyrm
fcde063209 Misplaced this file when I was checking stuff in a bit ago
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8856 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:59:28 +00:00
DarkWyrm
e09bff9bf3 Added some utility classes which will make finishing work on DisplayDriver much easier and cleaner
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8854 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-09-05 00:48:23 +00:00
DarkWyrm
33cbe8bb6c Moved a number of classes for DisplayDriver support into DisplaySupport.h
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8540 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-08-07 20:28:03 +00:00
DarkWyrm
557b47b2d0 Janitorial work in DisplayDriver.h
Added a #define to ServerConfig for workspace data file


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8171 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-26 02:13:58 +00:00
DarkWyrm
cdb613bafd Disabled some code until I can figure out the changes in FT2's font cache subsystem from 2.1.4 to 2.1.8
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@8128 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-22 14:42:58 +00:00
DarkWyrm
f9b967b4cf Added DirectDriver definition
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7898 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-06-11 02:45:29 +00:00
shadow303
225784b713 Minor tweaks to StrokePoint and StrokeSolidLine parameters.
Rename clippReg to clipReg


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7621 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-05-20 01:28:17 +00:00
DarkWyrm
1b4ec3a38b Checkin for Caz (without pain, even!) which adds DrawBitmap support
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-16 17:53:10 +00:00
Adi Oanca
ac903216d7 fixed a bug where a bitmap was mising a pixel line/column
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7158 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-04 20:23:12 +00:00
Adi Oanca
9d5fb2696a consted some parameters
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7148 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:04:28 +00:00
Adi Oanca
254a8cc4a3 added PrintToStream method
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7147 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-04-03 15:03:57 +00:00
Adi Oanca
8a2b8a4355 * added a temporaly method for constraining the clipping region.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7077 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-28 14:35:13 +00:00
shadow303
52c2367204 Remove some remnants of old API
Minor tweak to helper function paramter list


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6835 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-03-01 02:19:48 +00:00
Adi Oanca
82cde293d6 added a method fo copying onscreen regions from one point to another
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6718 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-24 11:50:10 +00:00
DarkWyrm
14ef62299d Implemented and fixed font functions in DisplayDriver
Added some copy functions to ServerBitmap
Replaced LayerData component of Decorator with DrawData


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6601 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-15 20:26:01 +00:00
DarkWyrm
2bde7b6696 Removed the SetMode(int32) call - no longer necessary
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-12 01:22:47 +00:00
DarkWyrm
70b9b61f23 Made some ServerBitmap get-member functions const
Added UtilityBitmap class


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6519 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-07 13:47:52 +00:00
DarkWyrm
871efa51a3 Added some direct-buffer acces functions to DisplayDriver
Slight ServerFont tweak


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-02-03 00:51:23 +00:00
DarkWyrm
1f6632d9a4 Added a method to access the current pattern in PatternHandler
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6385 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:10:23 +00:00
DarkWyrm
c57a2cdc69 Removed pattern parameter from state-based calls. DrawData already has one
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6383 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-28 02:06:42 +00:00
DarkWyrm
f9de45c608 Major overhaul of the DisplayDriver API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6336 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-27 00:39:41 +00:00
Adi Oanca
937e6b3e56 I don't know what's wrong with this file... maybe a TAB character? It's identical to the one in CVS
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6045 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:08:01 +00:00
Adi Oanca
48a965dce4 nothing important... you know...
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6044 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-13 00:06:29 +00:00
DarkWyrm
3df88aae3d Integrated Adi's new desktop code
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6022 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-11 22:08:53 +00:00
DarkWyrm
e0712711bc Minor API tweak : RGBColor &color -> const RGBColor &color
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6005 a95241bf-73f2-0310-859d-f6bbb57e9c96
2004-01-10 17:07:37 +00:00
shadow303
75377c98c5 Convert to LayerData independent drawing API
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5598 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-12-07 03:19:50 +00:00
DarkWyrm
840db4bded Added new methods related to DPMS and device capabilities
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5439 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-22 00:43:54 +00:00
Adi Oanca
1dbc1b756a Changed the names for some constants
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5361 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-15 00:25:27 +00:00
Adi Oanca
2a006628cc small fix. removed 2 memebers.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5358 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-14 00:31:52 +00:00
shadow303
a2d01f224f Add GetColor15 to RGBColor
Prep DisplayDriver for consolidated driver code


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5244 a95241bf-73f2-0310-859d-f6bbb57e9c96
2003-11-03 01:55:14 +00:00