InDesign SDK
20.5
InDesign SDK
Documentation
Bosses
Sample plug-ins
Class Index
All
Classes
Namespaces
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
istrokeparameters.h
1
//========================================================================================
2
//
3
// $File$
4
//
5
// Owner: Greg St. Pierre
6
//
7
// $Author$
8
//
9
// $DateTime$
10
//
11
// $Revision$
12
//
13
// $Change$
14
//
15
// Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16
//
17
// NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18
// with the terms of the Adobe license agreement accompanying it. If you have received
19
// this file from a source other than Adobe, then your use, modification, or
20
// distribution of it requires the prior written permission of Adobe.
21
//
22
//
23
// Defines the interface by which a stroker determines its parameters, which
24
//
25
// for now include start and width pairs (each is a percentage of the stroke width)
26
//
27
//========================================================================================
28
29
#ifndef __IStrokeParameters__
30
#define __IStrokeParameters__
31
32
#include "ScotchRulesID.h"
33
40
class
IStrokeParameters
:
public
IPMUnknown
41
{
42
public
:
43
enum
{ kDefaultIID = IID_ISTROKEPARAMETERS };
44
50
virtual
int32
GetParamCount
()
const
= 0;
51
57
virtual
void
SetParamCount
(int32 count) = 0;
58
65
virtual
PMReal
GetNthParamStart
(int32 n)
const
= 0;
66
73
virtual
void
SetNthParamStart
(int32 n,
PMReal
const
&start) = 0;
74
81
virtual
PMReal
GetNthParamWidth
(int32 n)
const
= 0;
82
89
virtual
void
SetNthParamWidth
(int32 n,
PMReal
const
&width) = 0;
90
97
virtual
bool16
IsEqual
(
IStrokeParameters
const
*other)
const
= 0;
98
105
virtual
int32
Canonicalize
() = 0;
106
};
107
108
#endif
tmpdoxygeninput
istrokeparameters.h
Generated on Sat Jul 19 2025 02:54:15 for InDesign SDK by
1.8.3.1