Back to index

lightning-sunbird  0.9+nobinonly
Classes | Defines | Enumerations
nsIRenderingContext.h File Reference
#include "nscore.h"
#include "nsISupports.h"
#include "nsColor.h"
#include "nsCoord.h"
#include "nsIDrawingSurface.h"
#include <stdio.h>

Go to the source code of this file.

Classes

class  nsIRenderingContext
struct  nsIRenderingContext::PushedTranslation
class  nsIRenderingContext::AutoPushTranslation
struct  nsTextDimensions

Defines

#define NS_IRENDERING_CONTEXT_IID   { 0xd91f728b, 0xd7f4, 0x4e19,{0x8b, 0xdd, 0x98, 0x99, 0x3f, 0xdf, 0xec, 0xc6}}
#define NS_DRAWSTRING_NORMAL   0x0
#define NS_DRAWSTRING_UNDERLINE   0x1
#define NS_DRAWSTRING_OVERLINE   0x2
#define NS_DRAWSTRING_LINE_THROUGH   0x4
#define NS_RENDERING_HINT_FAST_8BIT_TEXT   0x1
 This bit, when set, indicates that the underlying rendering system prefers 8 bit text rendering over PRUnichar text rendering.
#define NS_RENDERING_HINT_REMOTE_RENDERING   0x2
 This bit, when set, indicates that the rendering is being done remotely.
#define NS_RENDERING_HINT_BIDI_REORDERING   0x4
 This bit, when set, indicates that the system provides support for the reordering of bidirectional text.
#define NS_RENDERING_HINT_ARABIC_SHAPING   0x8
 This bit, when set, indicates that the system provides support for Arabic shaping.
#define NS_RENDERING_HINT_FAST_MEASURE   0x10
 This bit, when set, indicates that gfx supports GetTextDimensions()
#define NS_RENDERING_HINT_TEXT_CLUSTERS   0x20
 This bit, when set, indicates that the gfx supports describing cluster information in a string.
#define NS_RENDERING_HINT_REORDER_SPACED_TEXT   0x40
 This bit, when set, indicates that gfx performs glyph reordering of complex text after applying character or word spacing, and so expects to be passed text in logical order.
#define NS_COPYBITS_USE_SOURCE_CLIP_REGION   0x0001
#define NS_COPYBITS_XFORM_SOURCE_VALUES   0x0002
#define NS_COPYBITS_XFORM_DEST_VALUES   0x0004
#define NS_COPYBITS_TO_BACK_BUFFER   0x0008

Enumerations

enum  nsClipCombine { nsClipCombine_kIntersect = 0, nsClipCombine_kUnion = 1, nsClipCombine_kSubtract = 2, nsClipCombine_kReplace = 3 }
enum  nsLineStyle { nsLineStyle_kNone = 0, nsLineStyle_kSolid = 1, nsLineStyle_kDashed = 2, nsLineStyle_kDotted = 3 }
enum  nsPenMode { nsPenMode_kNone = 0, nsPenMode_kInvert = 1 }

Class Documentation

struct nsIRenderingContext::PushedTranslation

Definition at line 316 of file nsIRenderingContext.h.

Class Members
float mSavedX
float mSavedY

Define Documentation

Definition at line 974 of file nsIRenderingContext.h.

Definition at line 957 of file nsIRenderingContext.h.

Definition at line 965 of file nsIRenderingContext.h.

Definition at line 961 of file nsIRenderingContext.h.

Definition at line 903 of file nsIRenderingContext.h.

Definition at line 900 of file nsIRenderingContext.h.

Definition at line 902 of file nsIRenderingContext.h.

Definition at line 901 of file nsIRenderingContext.h.

#define NS_IRENDERING_CONTEXT_IID   { 0xd91f728b, 0xd7f4, 0x4e19,{0x8b, 0xdd, 0x98, 0x99, 0x3f, 0xdf, 0xec, 0xc6}}

Definition at line 97 of file nsIRenderingContext.h.

This bit, when set, indicates that the system provides support for Arabic shaping.

Definition at line 931 of file nsIRenderingContext.h.

This bit, when set, indicates that the system provides support for the reordering of bidirectional text.

Definition at line 925 of file nsIRenderingContext.h.

This bit, when set, indicates that the underlying rendering system prefers 8 bit text rendering over PRUnichar text rendering.

When this bit is not set the opposite is true: the system prefers PRUnichar rendering, not 8 bit rendering.

Definition at line 913 of file nsIRenderingContext.h.

This bit, when set, indicates that gfx supports GetTextDimensions()

Definition at line 936 of file nsIRenderingContext.h.

This bit, when set, indicates that the rendering is being done remotely.

Definition at line 919 of file nsIRenderingContext.h.

This bit, when set, indicates that gfx performs glyph reordering of complex text after applying character or word spacing, and so expects to be passed text in logical order.

When this bit is not set, gfx must be passed text in visual order if characters and word spacing are to be applied.

Definition at line 950 of file nsIRenderingContext.h.

This bit, when set, indicates that the gfx supports describing cluster information in a string.

Definition at line 942 of file nsIRenderingContext.h.


Enumeration Type Documentation

Enumerator:
nsClipCombine_kIntersect 
nsClipCombine_kUnion 
nsClipCombine_kSubtract 
nsClipCombine_kReplace 

Definition at line 72 of file nsIRenderingContext.h.

Enumerator:
nsLineStyle_kNone 
nsLineStyle_kSolid 
nsLineStyle_kDashed 
nsLineStyle_kDotted 

Definition at line 81 of file nsIRenderingContext.h.

enum nsPenMode
Enumerator:
nsPenMode_kNone 
nsPenMode_kInvert 

Definition at line 89 of file nsIRenderingContext.h.